public class ContainerWorkbench extends Container
Modifier and Type | Field and Description |
---|---|
InventoryCrafting |
craftMatrix |
IInventory |
craftResult |
crafters, inventoryItemStacks, inventorySlots, windowId
Constructor and Description |
---|
ContainerWorkbench(InventoryPlayer playerInventory,
World worldIn,
BlockPos p_i45800_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(EntityPlayer playerIn) |
boolean |
canMergeSlot(ItemStack p_94530_1_,
Slot p_94530_2_) |
void |
onContainerClosed(EntityPlayer playerIn) |
void |
onCraftMatrixChanged(IInventory inventoryIn) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index) |
addCraftingToCrafters, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, func_180610_a, func_94534_d, getDragEvent, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, mergeItemStack, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, resetDrag, retrySlotClick, setPlayerIsPresent, slotClick, updateProgressBar
public InventoryCrafting craftMatrix
public IInventory craftResult
public ContainerWorkbench(InventoryPlayer playerInventory, World worldIn, BlockPos p_i45800_3_)
public void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged
in class Container
public void onContainerClosed(EntityPlayer playerIn)
onContainerClosed
in class Container
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith
in class Container
public ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot
in class Container
public boolean canMergeSlot(ItemStack p_94530_1_, Slot p_94530_2_)
canMergeSlot
in class Container