public class ContainerChest extends Container
inventoryItemStacks, inventorySlots, listeners, windowId
Constructor and Description |
---|
ContainerChest(IInventory playerInventory,
IInventory chestInventory,
EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(EntityPlayer playerIn) |
IInventory |
getLowerChestInventory() |
void |
onContainerClosed(EntityPlayer playerIn) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index) |
addListener, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeListener, resetDrag, retrySlotClick, setCanCraft, slotClick, updateProgressBar
public ContainerChest(IInventory playerInventory, IInventory chestInventory, EntityPlayer player)
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith
in class Container
@Nullable public ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot
in class Container
public void onContainerClosed(EntityPlayer playerIn)
onContainerClosed
in class Container
public IInventory getLowerChestInventory()