Package net.minecraft.src
Class InventoryEnderChest
java.lang.Object
net.minecraft.src.InventoryBasic
net.minecraft.src.InventoryEnderChest
- All Implemented Interfaces:
IInventory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisItemValidForSlot(int par1, ItemStack par2ItemStack) Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.booleanisUseableByPlayer(EntityPlayer par1EntityPlayer) Do not make give this method the name canInteractWith because it clashes with ContainervoidloadInventoryFromNBT(NBTTagList par1NBTTagList) voidvoidsetAssociatedChest(TileEntityEnderChest par1TileEntityEnderChest) Methods inherited from class net.minecraft.src.InventoryBasic
decrStackSize, func_110132_b, func_110133_a, func_110134_a, getInventoryStackLimit, getInvName, getSizeInventory, getStackInSlot, getStackInSlotOnClosing, isInvNameLocalized, onInventoryChanged, setInventorySlotContents
-
Constructor Details
-
InventoryEnderChest
public InventoryEnderChest() -
InventoryEnderChest
-
-
Method Details
-
setAssociatedChest
-
loadInventoryFromNBT
-
saveInventoryToNBT
-
isUseableByPlayer
Do not make give this method the name canInteractWith because it clashes with Container- Specified by:
isUseableByPlayerin interfaceIInventory- Overrides:
isUseableByPlayerin classInventoryBasic
-
openChest
public void openChest()- Specified by:
openChestin interfaceIInventory- Overrides:
openChestin classInventoryBasic
-
closeChest
public void closeChest()- Specified by:
closeChestin interfaceIInventory- Overrides:
closeChestin classInventoryBasic
-
isItemValidForSlot
Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.- Specified by:
isItemValidForSlotin interfaceIInventory- Overrides:
isItemValidForSlotin classInventoryBasic
-