public interface ICraftingInventory
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Gets the height of this inventory.
|
java.lang.Object |
getInternal() |
IItemStack[] |
getItemArray() |
IItemStack[][] |
getItems() |
IPlayer |
getPlayer()
Gets the player owning this inventory.
|
int |
getSize()
Gets the size of this inventory.
|
IItemStack |
getStack(int i)
Gets the stack at the given location.
|
IItemStack |
getStack(int row,
int column)
Gets the stack at the given position.
|
int |
getStackCount()
Gets the number of stacks that are actually filled in.
|
int |
getWidth()
Gets the width of this inventory.
|
void |
setStack(int i,
IItemStack stack)
Sets the stack at the given index.
|
void |
setStack(int row,
int column,
IItemStack stack)
Sets the stack at the given position.
|
IPlayer getPlayer()
int getSize()
int getWidth()
int getHeight()
int getStackCount()
IItemStack getStack(int i)
i - stack indexIItemStack getStack(int row, int column)
row - stack row (from top downwards)column - stack column (from left to right)void setStack(int row,
int column,
IItemStack stack)
row - stack row (from top downwards)column - stack column (from left to right)stack - item stack to be set, or null to clear the stack at that positionvoid setStack(int i,
IItemStack stack)
i - stack indexstack - item stack to be set, or null to clear the stack at that indexIItemStack[][] getItems()
IItemStack[] getItemArray()
java.lang.Object getInternal()