net.minecraft.src
Class InventoryEnderChest
java.lang.Object
net.minecraft.src.InventoryBasic
net.minecraft.src.InventoryEnderChest
- All Implemented Interfaces:
- IInventory
public class InventoryEnderChest
- extends InventoryBasic
InventoryEnderChest
public InventoryEnderChest()
setAssociatedChest
public void setAssociatedChest(TileEntityEnderChest par1TileEntityEnderChest)
loadInventoryFromNBT
public void loadInventoryFromNBT(NBTTagList par1NBTTagList)
saveInventoryToNBT
public NBTTagList saveInventoryToNBT()
isUseableByPlayer
public boolean isUseableByPlayer(EntityPlayer par1EntityPlayer)
- Do not make give this method the name canInteractWith because it clashes with Container
- Specified by:
isUseableByPlayer in interface IInventory- Overrides:
isUseableByPlayer in class InventoryBasic
openChest
public void openChest()
- Specified by:
openChest in interface IInventory- Overrides:
openChest in class InventoryBasic
closeChest
public void closeChest()
- Specified by:
closeChest in interface IInventory- Overrides:
closeChest in class InventoryBasic