public class InventoryEnderChest extends InventoryBasic
Constructor and Description |
---|
InventoryEnderChest() |
Modifier and Type | Method and Description |
---|---|
void |
closeChest() |
boolean |
isStackValidForSlot(int par1,
ItemStack par2ItemStack)
Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.
|
boolean |
isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container
|
void |
loadInventoryFromNBT(NBTTagList par1NBTTagList) |
void |
openChest() |
NBTTagList |
saveInventoryToNBT() |
void |
setAssociatedChest(TileEntityEnderChest par1TileEntityEnderChest) |
decrStackSize, getInventoryStackLimit, getInvName, getSizeInventory, getStackInSlot, getStackInSlotOnClosing, isInvNameLocalized, onInventoryChanged, setInventorySlotContents
public void setAssociatedChest(TileEntityEnderChest par1TileEntityEnderChest)
public void loadInventoryFromNBT(NBTTagList par1NBTTagList)
public NBTTagList saveInventoryToNBT()
public boolean isUseableByPlayer(EntityPlayer par1EntityPlayer)
isUseableByPlayer
in interface IInventory
isUseableByPlayer
in class InventoryBasic
public void openChest()
openChest
in interface IInventory
openChest
in class InventoryBasic
public void closeChest()
closeChest
in interface IInventory
closeChest
in class InventoryBasic
public boolean isStackValidForSlot(int par1, ItemStack par2ItemStack)
isStackValidForSlot
in interface IInventory
isStackValidForSlot
in class InventoryBasic