public class ContainerChest extends Container
inventoryItemStacks, inventorySlots, windowId
Constructor and Description |
---|
ContainerChest(IInventory par1IInventory,
IInventory par2IInventory) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(EntityPlayer par1EntityPlayer) |
IInventory |
getLowerChestInventory()
Return this chest container's lower chest inventory.
|
void |
onContainerClosed(EntityPlayer par1EntityPlayer)
Called when the container is closed.
|
ItemStack |
transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot.
|
addCraftingToCrafters, calcRedstoneFromInventory, canDragIntoSlot, detectAndSendChanges, enchantItem, func_94525_a, func_94527_a, func_94528_d, func_94529_b, func_94530_a, func_94532_c, func_94534_d, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, setPlayerIsPresent, slotClick, updateProgressBar
public ContainerChest(IInventory par1IInventory, IInventory par2IInventory)
public boolean canInteractWith(EntityPlayer par1EntityPlayer)
canInteractWith
in class Container
public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
transferStackInSlot
in class Container
public void onContainerClosed(EntityPlayer par1EntityPlayer)
onContainerClosed
in class Container
public IInventory getLowerChestInventory()