public class ContainerWorkbench extends Container
Modifier and Type | Field and Description |
---|---|
InventoryCrafting |
craftMatrix
The crafting matrix inventory (3x3).
|
IInventory |
craftResult |
inventoryItemStacks, inventorySlots, windowId
Constructor and Description |
---|
ContainerWorkbench(InventoryPlayer par1InventoryPlayer,
World par2World,
int par3,
int par4,
int par5) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
func_94530_a(ItemStack par1ItemStack,
Slot par2Slot) |
void |
onCraftGuiClosed(EntityPlayer par1EntityPlayer)
Callback for when the crafting gui is closed.
|
void |
onCraftMatrixChanged(IInventory par1IInventory)
Callback for when the crafting matrix is changed.
|
ItemStack |
transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot.
|
addCraftingToCrafters, calcRedstoneFromInventory, detectAndSendChanges, enchantItem, func_94525_a, func_94527_a, func_94528_d, func_94529_b, func_94531_b, func_94532_c, func_94534_d, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, setPlayerIsPresent, slotClick, updateProgressBar
public InventoryCrafting craftMatrix
public IInventory craftResult
public ContainerWorkbench(InventoryPlayer par1InventoryPlayer, World par2World, int par3, int par4, int par5)
public void onCraftMatrixChanged(IInventory par1IInventory)
onCraftMatrixChanged
in class Container
public void onCraftGuiClosed(EntityPlayer par1EntityPlayer)
onCraftGuiClosed
in class Container
public boolean canInteractWith(EntityPlayer par1EntityPlayer)
canInteractWith
in class Container
public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
transferStackInSlot
in class Container
public boolean func_94530_a(ItemStack par1ItemStack, Slot par2Slot)
func_94530_a
in class Container