public class ContainerChest extends Container
| Modifier and Type | Field and Description | 
|---|---|
private IInventory | 
lowerChestInventory  | 
private int | 
numRows  | 
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, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, slotClick, updateProgressBarprivate final IInventory lowerChestInventory
private final int numRows
public ContainerChest(IInventory playerInventory, IInventory chestInventory, EntityPlayer player)
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot in class Containerpublic void onContainerClosed(EntityPlayer playerIn)
onContainerClosed in class Containerpublic IInventory getLowerChestInventory()