net.minecraft.inventory
Class ContainerBrewingStand

java.lang.Object
  extended by net.minecraft.inventory.Container
      extended by net.minecraft.inventory.ContainerBrewingStand

public class ContainerBrewingStand
extends Container


Field Summary
 
Fields inherited from class net.minecraft.inventory.Container
inventoryItemStacks, inventorySlots, windowId
 
Constructor Summary
ContainerBrewingStand(InventoryPlayer par1InventoryPlayer, TileEntityBrewingStand par2TileEntityBrewingStand)
           
 
Method Summary
 void addCraftingToCrafters(ICrafting par1ICrafting)
           
 boolean canInteractWith(EntityPlayer par1EntityPlayer)
           
 void detectAndSendChanges()
          Looks for changes made in the container, sends them to every listener.
 ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 void updateProgressBar(int par1, int par2)
           
 
Methods inherited from class net.minecraft.inventory.Container
enchantItem, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, onCraftGuiClosed, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, setPlayerIsPresent, slotClick
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerBrewingStand

public ContainerBrewingStand(InventoryPlayer par1InventoryPlayer,
                             TileEntityBrewingStand par2TileEntityBrewingStand)
Method Detail

addCraftingToCrafters

public void addCraftingToCrafters(ICrafting par1ICrafting)
Overrides:
addCraftingToCrafters in class Container

detectAndSendChanges

public void detectAndSendChanges()
Looks for changes made in the container, sends them to every listener.

Overrides:
detectAndSendChanges in class Container

updateProgressBar

public void updateProgressBar(int par1,
                              int par2)
Overrides:
updateProgressBar in class Container

canInteractWith

public boolean canInteractWith(EntityPlayer par1EntityPlayer)
Specified by:
canInteractWith in class Container

transferStackInSlot

public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer,
                                     int par2)
Called when a player shift-clicks on a slot. You must override this or you will crash when someone does that.

Overrides:
transferStackInSlot in class Container