public class ContainerBrewingStand extends Container
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ContainerBrewingStand.Fuel |
(package private) static class |
ContainerBrewingStand.Ingredient |
(package private) static class |
ContainerBrewingStand.Potion |
Modifier and Type | Field and Description |
---|---|
private int |
prevBrewTime |
private int |
prevFuel |
private Slot |
slot |
private IInventory |
tileBrewingStand |
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) |
void |
detectAndSendChanges() |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index) |
void |
updateProgressBar(int id,
int data) |
addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, slotClick
private final IInventory tileBrewingStand
private final Slot slot
private int prevBrewTime
private int prevFuel
public ContainerBrewingStand(InventoryPlayer playerInventory, IInventory tileBrewingStandIn)
public void addListener(IContainerListener listener)
addListener
in class Container
public void detectAndSendChanges()
detectAndSendChanges
in class Container
public void updateProgressBar(int id, int data)
updateProgressBar
in class Container
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith
in class Container
public ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot
in class Container