YATS/Forge Documentation
|
Public Member Functions | |
int | getStartInventorySide (ForgeDirection side) |
int | getSizeInventorySide (ForgeDirection side) |
Public Member Functions inherited from net.minecraft.inventory.IInventory | |
int | getSizeInventory () |
ItemStack | getStackInSlot (int i) |
ItemStack | decrStackSize (int i, int j) |
ItemStack | getStackInSlotOnClosing (int i) |
void | setInventorySlotContents (int i, ItemStack itemstack) |
String | getInvName () |
boolean | isInvNameLocalized () |
int | getInventoryStackLimit () |
void | onInventoryChanged () |
boolean | isUseableByPlayer (EntityPlayer entityplayer) |
void | openChest () |
void | closeChest () |
boolean | isStackValidForSlot (int i, ItemStack itemstack) |
Inventory ranges mapped by side. This class is implemented by TileEntities that provide different inventory slot ranges to different sides.
int net.minecraftforge.common.ISidedInventory.getSizeInventorySide | ( | ForgeDirection | side) |
Get the size of the side inventory.
side | The global side. |
Implemented in net.minecraft.tileentity.TileEntityFurnace.
int net.minecraftforge.common.ISidedInventory.getStartInventorySide | ( | ForgeDirection | side) |
Get the start of the side inventory.
side | The global side to get the start of range. |
Implemented in net.minecraft.tileentity.TileEntityFurnace.