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, slotClickprivate 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 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