YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.inventory.ContainerWorkbench Class Reference
Inheritance diagram for net.minecraft.inventory.ContainerWorkbench:
net.minecraft.inventory.Container

Public Member Functions

 ContainerWorkbench (InventoryPlayer par1InventoryPlayer, World par2World, int par3, int par4, int par5)
 
void onCraftMatrixChanged (IInventory par1IInventory)
 
void onCraftGuiClosed (EntityPlayer par1EntityPlayer)
 
boolean canInteractWith (EntityPlayer par1EntityPlayer)
 
ItemStack transferStackInSlot (EntityPlayer par1EntityPlayer, int par2)
 
boolean func_94530_a (ItemStack par1ItemStack, Slot par2Slot)
 
- Public Member Functions inherited from net.minecraft.inventory.Container
void addCraftingToCrafters (ICrafting par1ICrafting)
 
List getInventory ()
 
void removeCraftingFromCrafters (ICrafting par1ICrafting)
 
void detectAndSendChanges ()
 
boolean enchantItem (EntityPlayer par1EntityPlayer, int par2)
 
Slot getSlotFromInventory (IInventory par1IInventory, int par2)
 
Slot getSlot (int par1)
 
ItemStack transferStackInSlot (EntityPlayer par1EntityPlayer, int par2)
 
ItemStack slotClick (int par1, int par2, int par3, EntityPlayer par4EntityPlayer)
 
boolean func_94530_a (ItemStack par1ItemStack, Slot par2Slot)
 
void onCraftGuiClosed (EntityPlayer par1EntityPlayer)
 
void onCraftMatrixChanged (IInventory par1IInventory)
 
void putStackInSlot (int par1, ItemStack par2ItemStack)
 
void putStacksInSlots (ItemStack[] par1ArrayOfItemStack)
 
void updateProgressBar (int par1, int par2)
 
short getNextTransactionID (InventoryPlayer par1InventoryPlayer)
 
boolean isPlayerNotUsingContainer (EntityPlayer par1EntityPlayer)
 
void setPlayerIsPresent (EntityPlayer par1EntityPlayer, boolean par2)
 
boolean func_94531_b (Slot par1Slot)
 

Public Attributes

InventoryCrafting craftMatrix = new InventoryCrafting(this, 3, 3)
 
IInventory craftResult = new InventoryCraftResult()
 
- Public Attributes inherited from net.minecraft.inventory.Container
List inventoryItemStacks = new ArrayList()
 
List inventorySlots = new ArrayList()
 
int windowId = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.inventory.Container
static int func_94529_b (int par0)
 
static int func_94532_c (int par0)
 
static int func_94534_d (int par0, int par1)
 
static boolean func_94528_d (int par0)
 
static boolean func_94527_a (Slot par0Slot, ItemStack par1ItemStack, boolean par2)
 
static void func_94525_a (Set par0Set, int par1, ItemStack par2ItemStack, int par3)
 
static int calcRedstoneFromInventory (IInventory par0IInventory)
 
- Protected Member Functions inherited from net.minecraft.inventory.Container
Slot addSlotToContainer (Slot par1Slot)
 
void retrySlotClick (int par1, int par2, boolean par3, EntityPlayer par4EntityPlayer)
 
boolean mergeItemStack (ItemStack par1ItemStack, int par2, int par3, boolean par4)
 
void func_94533_d ()
 
- Protected Attributes inherited from net.minecraft.inventory.Container
List crafters = new ArrayList()
 

Constructor & Destructor Documentation

net.minecraft.inventory.ContainerWorkbench.ContainerWorkbench ( InventoryPlayer  par1InventoryPlayer,
World  par2World,
int  par3,
int  par4,
int  par5 
)

Member Function Documentation

boolean net.minecraft.inventory.ContainerWorkbench.canInteractWith ( EntityPlayer  par1EntityPlayer)
virtual
boolean net.minecraft.inventory.ContainerWorkbench.func_94530_a ( ItemStack  par1ItemStack,
Slot  par2Slot 
)
void net.minecraft.inventory.ContainerWorkbench.onCraftGuiClosed ( EntityPlayer  par1EntityPlayer)

Callback for when the crafting gui is closed.

void net.minecraft.inventory.ContainerWorkbench.onCraftMatrixChanged ( IInventory  par1IInventory)

Callback for when the crafting matrix is changed.

ItemStack net.minecraft.inventory.ContainerWorkbench.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.

Member Data Documentation

InventoryCrafting net.minecraft.inventory.ContainerWorkbench.craftMatrix = new InventoryCrafting(this, 3, 3)

The crafting matrix inventory (3x3).

IInventory net.minecraft.inventory.ContainerWorkbench.craftResult = new InventoryCraftResult()

The documentation for this class was generated from the following file: