public class InventoryEnderChest extends InventoryBasic
Modifier and Type | Field and Description |
---|---|
private TileEntityEnderChest |
associatedChest |
Constructor and Description |
---|
InventoryEnderChest() |
Modifier and Type | Method and Description |
---|---|
void |
closeInventory(EntityPlayer player) |
boolean |
isUsableByPlayer(EntityPlayer player) |
void |
loadInventoryFromNBT(NBTTagList p_70486_1_) |
void |
openInventory(EntityPlayer player) |
NBTTagList |
saveInventoryToNBT() |
void |
setChestTileEntity(TileEntityEnderChest chestTileEntity) |
addInventoryChangeListener, addItem, clear, decrStackSize, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getSizeInventory, getStackInSlot, hasCustomName, isEmpty, isItemValidForSlot, markDirty, removeInventoryChangeListener, removeStackFromSlot, setCustomName, setField, setInventorySlotContents
private TileEntityEnderChest associatedChest
public void setChestTileEntity(TileEntityEnderChest chestTileEntity)
public void loadInventoryFromNBT(NBTTagList p_70486_1_)
public NBTTagList saveInventoryToNBT()
public boolean isUsableByPlayer(EntityPlayer player)
isUsableByPlayer
in interface IInventory
isUsableByPlayer
in class InventoryBasic
public void openInventory(EntityPlayer player)
openInventory
in interface IInventory
openInventory
in class InventoryBasic
public void closeInventory(EntityPlayer player)
closeInventory
in interface IInventory
closeInventory
in class InventoryBasic