public class ContainerBeacon extends Container
inventoryItemStacks, inventorySlots, listeners, windowId
Constructor and Description |
---|
ContainerBeacon(IInventory playerInventory,
IInventory tileBeaconIn) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(IContainerListener listener) |
boolean |
canInteractWith(EntityPlayer playerIn)
Determines whether supplied player can use this container
|
IInventory |
getTileEntity() |
void |
onContainerClosed(EntityPlayer playerIn)
Called when the container is closed.
|
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index)
Take a stack from the specified inventory slot.
|
void |
updateProgressBar(int id,
int data) |
addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, retrySlotClick, setAll, setCanCraft, slotClick
public ContainerBeacon(IInventory playerInventory, IInventory tileBeaconIn)
public void addListener(IContainerListener listener)
addListener
in class Container
public void updateProgressBar(int id, int data)
updateProgressBar
in class Container
public IInventory getTileEntity()
public void onContainerClosed(EntityPlayer playerIn)
onContainerClosed
in class Container
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith
in class Container
public ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot
in class Container