public class ContainerBrewingStand extends Container
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ContainerBrewingStand.Ingredient |
(package private) static class |
ContainerBrewingStand.Potion |
| Modifier and Type | Field and Description |
|---|---|
private int |
brewTime |
private Slot |
theSlot
Instance of Slot.
|
private IInventory |
tileBrewingStand |
crafters, inventoryItemStacks, inventorySlots, windowId| Constructor and Description |
|---|
ContainerBrewingStand(InventoryPlayer playerInventory,
IInventory tileBrewingStandIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(EntityPlayer playerIn) |
void |
detectAndSendChanges()
Looks for changes made in the container, sends them to every listener.
|
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, enchantItem, extractDragMode, func_94534_d, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, resetDrag, retrySlotClick, setCanCraft, slotClickprivate IInventory tileBrewingStand
private final Slot theSlot
private int brewTime
public ContainerBrewingStand(InventoryPlayer playerInventory, IInventory tileBrewingStandIn)
public void onCraftGuiOpened(ICrafting listener)
onCraftGuiOpened 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