net.minecraft.src
Class ContainerWorkbench

java.lang.Object
  extended by net.minecraft.src.Container
      extended by net.minecraft.src.ContainerWorkbench

public class ContainerWorkbench
extends Container


Field Summary
 InventoryCrafting craftMatrix
          The crafting matrix inventory (3x3).
 IInventory craftResult
           
 
Fields inherited from class net.minecraft.src.Container
inventoryItemStacks, inventorySlots, windowId
 
Constructor Summary
ContainerWorkbench(InventoryPlayer par1InventoryPlayer, World par2World, int par3, int par4, int par5)
           
 
Method Summary
 boolean canInteractWith(EntityPlayer par1EntityPlayer)
           
 ItemStack func_82846_b(EntityPlayer par1EntityPlayer, int par2)
           
 void onCraftGuiClosed(EntityPlayer par1EntityPlayer)
          Callback for when the crafting gui is closed.
 void onCraftMatrixChanged(IInventory par1IInventory)
          Callback for when the crafting matrix is changed.
 
Methods inherited from class net.minecraft.src.Container
addCraftingToCrafters, enchantItem, func_82847_b, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, putStackInSlot, putStacksInSlots, setPlayerIsPresent, slotClick, updateCraftingResults, updateProgressBar
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

craftMatrix

public InventoryCrafting craftMatrix
The crafting matrix inventory (3x3).


craftResult

public IInventory craftResult
Constructor Detail

ContainerWorkbench

public ContainerWorkbench(InventoryPlayer par1InventoryPlayer,
                          World par2World,
                          int par3,
                          int par4,
                          int par5)
Method Detail

onCraftMatrixChanged

public void onCraftMatrixChanged(IInventory par1IInventory)
Callback for when the crafting matrix is changed.

Overrides:
onCraftMatrixChanged in class Container

onCraftGuiClosed

public void onCraftGuiClosed(EntityPlayer par1EntityPlayer)
Callback for when the crafting gui is closed.

Overrides:
onCraftGuiClosed in class Container

canInteractWith

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

func_82846_b

public ItemStack func_82846_b(EntityPlayer par1EntityPlayer,
                              int par2)
Overrides:
func_82846_b in class Container