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
This beacon's slot where you put in Emerald, Diamond, Gold or Iron Ingot.
|
private IInventory |
tileBeacon |
crafters, inventoryItemStacks, inventorySlots, windowId
Constructor and Description |
---|
ContainerBeacon(IInventory playerInventory,
IInventory tileBeaconIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(EntityPlayer playerIn) |
IInventory |
func_180611_e() |
void |
onContainerClosed(EntityPlayer playerIn)
Called when the container is closed.
|
void |
onCraftGuiOpened(ICrafting listener) |
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, func_94534_d, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, resetDrag, retrySlotClick, setCanCraft, slotClick
private IInventory tileBeacon
private final ContainerBeacon.BeaconSlot beaconSlot
public ContainerBeacon(IInventory playerInventory, IInventory tileBeaconIn)
public void onCraftGuiOpened(ICrafting listener)
onCraftGuiOpened
in class Container
public void updateProgressBar(int id, int data)
updateProgressBar
in class Container
public IInventory func_180611_e()
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