public class ContainerBeacon extends Container
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ContainerBeacon.BeaconSlot |
| Modifier and Type | Field and Description |
|---|---|
private ContainerBeacon.BeaconSlot |
beaconSlot |
private IInventory |
tileBeacon |
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) |
IInventory |
getTileEntity() |
void |
onContainerClosed(EntityPlayer playerIn) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index) |
void |
updateProgressBar(int id,
int data) |
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, slotClickprivate final IInventory tileBeacon
private final ContainerBeacon.BeaconSlot beaconSlot
public ContainerBeacon(IInventory playerInventory, IInventory tileBeaconIn)
public void addListener(IContainerListener listener)
addListener in class Containerpublic void updateProgressBar(int id,
int data)
updateProgressBar in class Containerpublic IInventory getTileEntity()
public void onContainerClosed(EntityPlayer playerIn)
onContainerClosed in class Containerpublic boolean canInteractWith(EntityPlayer playerIn)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot in class Container