public class WorkbenchContainer extends RecipeBookContainer<CraftingInventory>
inventorySlots, windowId| コンストラクタと説明 | 
|---|
| WorkbenchContainer(int p_i50089_1_,
                  PlayerInventory p_i50089_2_) | 
| WorkbenchContainer(int p_i50090_1_,
                  PlayerInventory p_i50090_2_,
                  IWorldPosCallable p_i50090_3_) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| boolean | canInteractWith(PlayerEntity playerIn)Determines whether supplied player can use this container | 
| boolean | canMergeSlot(ItemStack stack,
            Slot slotIn)Called to determine if the current slot is valid for the stack merging (double-click) code. | 
| void | clear() | 
| void | fillStackedContents(RecipeItemHelper itemHelperIn) | 
| protected static void | func_217066_a(int p_217066_0_,
             World p_217066_1_,
             PlayerEntity p_217066_2_,
             CraftingInventory p_217066_3_,
             CraftResultInventory p_217066_4_) | 
| int | getHeight() | 
| int | getOutputSlot() | 
| int | getSize() | 
| int | getWidth() | 
| boolean | matches(IRecipe<? super CraftingInventory> recipeIn) | 
| void | onContainerClosed(PlayerEntity playerIn)Called when the container is closed. | 
| void | onCraftMatrixChanged(IInventory inventoryIn)Callback for when the crafting matrix is changed. | 
| ItemStack | transferStackInSlot(PlayerEntity playerIn,
                   int index)Handle when the stack in slot  indexis shift-clicked. | 
func_217056_a, getRecipeBookCategoriesaddListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBarpublic WorkbenchContainer(int p_i50089_1_,
                          PlayerInventory p_i50089_2_)
public WorkbenchContainer(int p_i50090_1_,
                          PlayerInventory p_i50090_2_,
                          IWorldPosCallable p_i50090_3_)
protected static void func_217066_a(int p_217066_0_,
                                    World p_217066_1_,
                                    PlayerEntity p_217066_2_,
                                    CraftingInventory p_217066_3_,
                                    CraftResultInventory p_217066_4_)
public void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged クラス内 Containerpublic void fillStackedContents(RecipeItemHelper itemHelperIn)
public void clear()
clear クラス内 RecipeBookContainer<CraftingInventory>public boolean matches(IRecipe<? super CraftingInventory> recipeIn)
matches クラス内 RecipeBookContainer<CraftingInventory>public void onContainerClosed(PlayerEntity playerIn)
onContainerClosed クラス内 Containerpublic boolean canInteractWith(PlayerEntity playerIn)
canInteractWith クラス内 Containerpublic ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
index is shift-clicked. Normally this moves the stack between the player
 inventory and the other inventory(s).transferStackInSlot クラス内 Containerpublic boolean canMergeSlot(ItemStack stack, Slot slotIn)
canMergeSlot クラス内 Containerpublic int getOutputSlot()
public int getWidth()
getWidth クラス内 RecipeBookContainer<CraftingInventory>public int getHeight()
getHeight クラス内 RecipeBookContainer<CraftingInventory>public int getSize()
getSize クラス内 RecipeBookContainer<CraftingInventory>