public class MCCraftingInventorySquared
extends java.lang.Object
implements crafttweaker.api.recipes.ICraftingInventory
Modifier | Constructor and Description |
---|---|
protected |
MCCraftingInventorySquared(net.minecraft.inventory.IInventory inventory) |
|
MCCraftingInventorySquared(net.minecraft.inventory.IInventory inventory,
crafttweaker.api.player.IPlayer player) |
Modifier and Type | Method and Description |
---|---|
static MCCraftingInventorySquared |
get(net.minecraft.inventory.IInventory inventory) |
int |
getHeight() |
crafttweaker.api.item.IItemStack[] |
getItemArray() |
crafttweaker.api.item.IItemStack[][] |
getItems() |
crafttweaker.api.player.IPlayer |
getPlayer() |
int |
getSize() |
crafttweaker.api.item.IItemStack |
getStack(int i) |
crafttweaker.api.item.IItemStack |
getStack(int row,
int column) |
int |
getStackCount() |
int |
getWidth() |
void |
setStack(int i,
crafttweaker.api.item.IItemStack stack) |
void |
setStack(int row,
int column,
crafttweaker.api.item.IItemStack stack) |
protected MCCraftingInventorySquared(net.minecraft.inventory.IInventory inventory)
public MCCraftingInventorySquared(net.minecraft.inventory.IInventory inventory, crafttweaker.api.player.IPlayer player)
public static MCCraftingInventorySquared get(net.minecraft.inventory.IInventory inventory)
public crafttweaker.api.player.IPlayer getPlayer()
getPlayer
in interface crafttweaker.api.recipes.ICraftingInventory
public int getSize()
getSize
in interface crafttweaker.api.recipes.ICraftingInventory
public int getWidth()
getWidth
in interface crafttweaker.api.recipes.ICraftingInventory
public int getHeight()
getHeight
in interface crafttweaker.api.recipes.ICraftingInventory
public int getStackCount()
getStackCount
in interface crafttweaker.api.recipes.ICraftingInventory
public crafttweaker.api.item.IItemStack getStack(int i)
getStack
in interface crafttweaker.api.recipes.ICraftingInventory
public crafttweaker.api.item.IItemStack getStack(int row, int column)
getStack
in interface crafttweaker.api.recipes.ICraftingInventory
public void setStack(int row, int column, crafttweaker.api.item.IItemStack stack)
setStack
in interface crafttweaker.api.recipes.ICraftingInventory
public void setStack(int i, crafttweaker.api.item.IItemStack stack)
setStack
in interface crafttweaker.api.recipes.ICraftingInventory
public crafttweaker.api.item.IItemStack[][] getItems()
getItems
in interface crafttweaker.api.recipes.ICraftingInventory
public crafttweaker.api.item.IItemStack[] getItemArray()
getItemArray
in interface crafttweaker.api.recipes.ICraftingInventory