Package net.minecraft.src
Class ContainerBrewingStand
java.lang.Object
net.minecraft.src.Container
net.minecraft.src.ContainerBrewingStand
-
Field Summary
Fields inherited from class net.minecraft.src.Container
crafters, inventoryItemStacks, inventorySlots, windowId -
Constructor Summary
ConstructorsConstructorDescriptionContainerBrewingStand(InventoryPlayer par1InventoryPlayer, TileEntityBrewingStand par2TileEntityBrewingStand) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanInteractWith(EntityPlayer par1EntityPlayer) voidLooks for changes made in the container, sends them to every listener.voidonCraftGuiOpened(ICrafting par1ICrafting) transferStackInSlot(EntityPlayer par1EntityPlayer, int par2) Called when a player shift-clicks on a slot.voidupdateProgressBar(int par1, int par2) Methods inherited from class net.minecraft.src.Container
addSlotToContainer, attemptToMergeWithSlot, attemptToMergeWithSlotIfEmpty, calcRedstoneFromInventory, canDragIntoSlot, enchantItem, func_94525_a, func_94527_a, func_94528_d, func_94529_b, func_94530_a, func_94532_c, func_94533_d, func_94534_d, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, mergeItemStack, mergeItemStack, mergeItemStackFavoringHotbar, onContainerClosed, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, retrySlotClick, setPlayerIsPresent, slotClick
-
Constructor Details
-
ContainerBrewingStand
public ContainerBrewingStand(InventoryPlayer par1InventoryPlayer, TileEntityBrewingStand par2TileEntityBrewingStand)
-
-
Method Details
-
onCraftGuiOpened
- Overrides:
onCraftGuiOpenedin classContainer
-
detectAndSendChanges
public void detectAndSendChanges()Looks for changes made in the container, sends them to every listener.- Overrides:
detectAndSendChangesin classContainer
-
updateProgressBar
public void updateProgressBar(int par1, int par2) - Overrides:
updateProgressBarin classContainer
-
canInteractWith
- Specified by:
canInteractWithin classContainer
-
transferStackInSlot
Called when a player shift-clicks on a slot. You must override this or you will crash when someone does that.- Overrides:
transferStackInSlotin classContainer
-