public class ContainerBrewingStand extends Container
inventoryItemStacks, inventorySlots, listeners, windowId| Constructor and Description |
|---|
ContainerBrewingStand(InventoryPlayer playerInventory,
IInventory tileBrewingStandIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(IContainerListener listener) |
boolean |
canInteractWith(EntityPlayer playerIn)
Determines whether supplied player can use this container
|
void |
detectAndSendChanges()
Looks for changes made in the container, sends them to every 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, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, retrySlotClick, setAll, setCanCraft, slotClickpublic ContainerBrewingStand(InventoryPlayer playerInventory, IInventory tileBrewingStandIn)
public void addListener(IContainerListener listener)
addListener in class Containerpublic void detectAndSendChanges()
detectAndSendChanges in class Containerpublic void updateProgressBar(int id,
int data)
updateProgressBar in class Containerpublic boolean canInteractWith(EntityPlayer playerIn)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot in class Container