public class ContainerWorkbench extends ContainerRecipeBook
| Modifier and Type | Field and Description |
|---|---|
InventoryCrafting |
craftMatrix |
InventoryCraftResult |
craftResult |
inventoryItemStacks, inventorySlots, listeners, windowId| Constructor and Description |
|---|
ContainerWorkbench(InventoryPlayer playerInventory,
World worldIn,
BlockPos posIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(EntityPlayer playerIn) |
boolean |
canMergeSlot(ItemStack stack,
Slot slotIn) |
void |
clear() |
void |
func_201771_a(RecipeItemHelper p_201771_1_) |
int |
getHeight() |
int |
getOutputSlot() |
int |
getSize() |
int |
getWidth() |
boolean |
matches(IRecipe p_201769_1_) |
void |
onContainerClosed(EntityPlayer playerIn) |
void |
onCraftMatrixChanged(IInventory inventoryIn) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index) |
addListener, addSlot, areItemsAndTagsEqual, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, slotClick, updateProgressBarpublic InventoryCrafting craftMatrix
public InventoryCraftResult craftResult
public ContainerWorkbench(InventoryPlayer playerInventory, World worldIn, BlockPos posIn)
public void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged in class Containerpublic void func_201771_a(RecipeItemHelper p_201771_1_)
func_201771_a in class ContainerRecipeBookpublic void clear()
clear in class ContainerRecipeBookpublic boolean matches(IRecipe p_201769_1_)
matches in class ContainerRecipeBookpublic void onContainerClosed(EntityPlayer playerIn)
onContainerClosed in class Containerpublic boolean canInteractWith(EntityPlayer playerIn)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot in class Containerpublic boolean canMergeSlot(ItemStack stack, Slot slotIn)
canMergeSlot in class Containerpublic int getOutputSlot()
getOutputSlot in class ContainerRecipeBookpublic int getWidth()
getWidth in class ContainerRecipeBookpublic int getHeight()
getHeight in class ContainerRecipeBookpublic int getSize()
getSize in class ContainerRecipeBook