|
YATS/Forge Documentation
|
Public Member Functions | |
| InventoryEnderChest () | |
| void | setAssociatedChest (TileEntityEnderChest par1TileEntityEnderChest) |
| void | loadInventoryFromNBT (NBTTagList par1NBTTagList) |
| NBTTagList | saveInventoryToNBT () |
| boolean | isUseableByPlayer (EntityPlayer par1EntityPlayer) |
| void | openChest () |
| void | closeChest () |
| boolean | isStackValidForSlot (int par1, ItemStack par2ItemStack) |
Public Member Functions inherited from net.minecraft.inventory.InventoryBasic | |
| InventoryBasic (String par1Str, boolean par2, int par3) | |
| ItemStack | getStackInSlot (int par1) |
| ItemStack | decrStackSize (int par1, int par2) |
| ItemStack | getStackInSlotOnClosing (int par1) |
| void | setInventorySlotContents (int par1, ItemStack par2ItemStack) |
| int | getSizeInventory () |
| String | getInvName () |
| boolean | isInvNameLocalized () |
| int | getInventoryStackLimit () |
| void | onInventoryChanged () |
| boolean | isUseableByPlayer (EntityPlayer par1EntityPlayer) |
| void | openChest () |
| void | closeChest () |
| boolean | isStackValidForSlot (int par1, ItemStack par2ItemStack) |
| net.minecraft.inventory.InventoryEnderChest.InventoryEnderChest | ( | ) |
| void net.minecraft.inventory.InventoryEnderChest.closeChest | ( | ) |
Implements net.minecraft.inventory.IInventory.
| boolean net.minecraft.inventory.InventoryEnderChest.isStackValidForSlot | ( | int | par1, |
| ItemStack | par2ItemStack | ||
| ) |
Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.
Implements net.minecraft.inventory.IInventory.
| boolean net.minecraft.inventory.InventoryEnderChest.isUseableByPlayer | ( | EntityPlayer | par1EntityPlayer) |
Do not make give this method the name canInteractWith because it clashes with Container
Implements net.minecraft.inventory.IInventory.
| void net.minecraft.inventory.InventoryEnderChest.loadInventoryFromNBT | ( | NBTTagList | par1NBTTagList) |
| void net.minecraft.inventory.InventoryEnderChest.openChest | ( | ) |
Implements net.minecraft.inventory.IInventory.
| NBTTagList net.minecraft.inventory.InventoryEnderChest.saveInventoryToNBT | ( | ) |
| void net.minecraft.inventory.InventoryEnderChest.setAssociatedChest | ( | TileEntityEnderChest | par1TileEntityEnderChest) |