public class PlayerContainer extends RecipeBookContainer<CraftingInventory>
| Modifier and Type | Field and Description |
|---|---|
boolean |
isLocalWorld |
inventorySlots, windowId| Constructor and Description |
|---|
PlayerContainer(PlayerInventory playerInventory,
boolean localWorld,
PlayerEntity playerIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(PlayerEntity 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<? super CraftingInventory> recipeIn) |
void |
onContainerClosed(PlayerEntity playerIn) |
void |
onCraftMatrixChanged(IInventory inventoryIn) |
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index) |
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 PlayerContainer(PlayerInventory playerInventory, boolean localWorld, PlayerEntity playerIn)
public void func_201771_a(RecipeItemHelper p_201771_1_)
func_201771_a in class RecipeBookContainer<CraftingInventory>public void clear()
clear in class RecipeBookContainer<CraftingInventory>public boolean matches(IRecipe<? super CraftingInventory> recipeIn)
matches in class RecipeBookContainer<CraftingInventory>public void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged in class Containerpublic void onContainerClosed(PlayerEntity playerIn)
onContainerClosed in class Containerpublic boolean canInteractWith(PlayerEntity playerIn)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
transferStackInSlot in class Containerpublic boolean canMergeSlot(ItemStack stack, Slot slotIn)
canMergeSlot in class Containerpublic int getOutputSlot()
getOutputSlot in class RecipeBookContainer<CraftingInventory>public int getWidth()
getWidth in class RecipeBookContainer<CraftingInventory>public int getHeight()
getHeight in class RecipeBookContainer<CraftingInventory>public int getSize()
getSize in class RecipeBookContainer<CraftingInventory>