public class EnderChestInventory extends Inventory
Modifier and Type | Field and Description |
---|---|
private EnderChestTileEntity |
associatedChest |
Constructor and Description |
---|
EnderChestInventory() |
Modifier and Type | Method and Description |
---|---|
void |
closeInventory(PlayerEntity player) |
boolean |
isUsableByPlayer(PlayerEntity player) |
void |
openInventory(PlayerEntity player) |
void |
read(ListNBT p_70486_1_) |
void |
setChestTileEntity(EnderChestTileEntity chestTileEntity) |
ListNBT |
write() |
addItem, addListener, clear, decrStackSize, fillStackedContents, func_223374_a, getSizeInventory, getStackInSlot, isEmpty, markDirty, removeListener, removeStackFromSlot, setInventorySlotContents, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
count, getInventoryStackLimit, hasAny, isItemValidForSlot
clearObj
private EnderChestTileEntity associatedChest
public void setChestTileEntity(EnderChestTileEntity chestTileEntity)
public void read(ListNBT p_70486_1_)
public ListNBT write()
public boolean isUsableByPlayer(PlayerEntity player)
isUsableByPlayer
in interface IInventory
isUsableByPlayer
in class Inventory
public void openInventory(PlayerEntity player)
public void closeInventory(PlayerEntity player)