net.minecraft.src
Class ContainerWorkbench
java.lang.Object
net.minecraft.src.Container
net.minecraft.src.ContainerWorkbench
public class ContainerWorkbench
- extends Container
Methods inherited from class net.minecraft.src.Container |
addCraftingToCrafters, enchantItem, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, putStackInSlot, putStacksInSlots, setPlayerIsPresent, slotClick, updateCraftingResults, updateProgressBar |
craftMatrix
public InventoryCrafting craftMatrix
- The crafting matrix inventory (3x3).
craftResult
public IInventory craftResult
ContainerWorkbench
public ContainerWorkbench(InventoryPlayer par1InventoryPlayer,
World par2World,
int par3,
int par4,
int par5)
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
transferStackInSlot
public ItemStack transferStackInSlot(int par1)
- Called to transfer a stack from one inventory to the other eg. when shift clicking.
- Overrides:
transferStackInSlot
in class Container