Class PlayerContainer
java.lang.Object
net.minecraft.inventory.container.Container
net.minecraft.inventory.container.RecipeBookContainer<CraftingInventory>
net.minecraft.inventory.container.PlayerContainer
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanstatic final ResourceLocationprivate final CraftingInventorystatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationprivate final PlayerEntityprivate final CraftResultInventoryprivate static final EquipmentSlotType[]private static final ResourceLocation[]Fields inherited from class net.minecraft.inventory.container.Container
containerId, slots -
Constructor Summary
ConstructorsConstructorDescriptionPlayerContainer(PlayerInventory p_i1819_1_, boolean p_i1819_2_, PlayerEntity p_i1819_3_) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanTakeItemForPickAll(ItemStack p_94530_1_, Slot p_94530_2_) voidvoidfillCraftSlotsStackedContents(RecipeItemHelper p_201771_1_) intintintintgetSize()quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_) booleanrecipeMatches(IRecipe<? super CraftingInventory> p_201769_1_) voidremoved(PlayerEntity p_75134_1_) voidslotsChanged(IInventory p_75130_1_) booleanstillValid(PlayerEntity p_75145_1_) Methods inherited from class net.minecraft.inventory.container.RecipeBookContainer
getRecipeBookCategories, handlePlacementMethods inherited from class net.minecraft.inventory.container.Container
addDataSlot, addDataSlots, addSlot, addSlotListener, backup, broadcastChanges, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, moveItemStackTo, removeSlotListener, resetQuickCraft, setAll, setData, setItem, setSynched, stillValid
-
Field Details
-
BLOCK_ATLAS
-
EMPTY_ARMOR_SLOT_HELMET
-
EMPTY_ARMOR_SLOT_CHESTPLATE
-
EMPTY_ARMOR_SLOT_LEGGINGS
-
EMPTY_ARMOR_SLOT_BOOTS
-
EMPTY_ARMOR_SLOT_SHIELD
-
TEXTURE_EMPTY_SLOTS
-
SLOT_IDS
-
craftSlots
-
resultSlots
-
active
public final boolean active -
owner
-
-
Constructor Details
-
PlayerContainer
-
-
Method Details
-
fillCraftSlotsStackedContents
- Specified by:
fillCraftSlotsStackedContentsin classRecipeBookContainer<CraftingInventory>
-
clearCraftingContent
public void clearCraftingContent()- Specified by:
clearCraftingContentin classRecipeBookContainer<CraftingInventory>
-
recipeMatches
- Specified by:
recipeMatchesin classRecipeBookContainer<CraftingInventory>
-
slotsChanged
- Overrides:
slotsChangedin classContainer
-
removed
-
stillValid
- Specified by:
stillValidin classContainer
-
quickMoveStack
- Overrides:
quickMoveStackin classContainer
-
canTakeItemForPickAll
- Overrides:
canTakeItemForPickAllin classContainer
-
getResultSlotIndex
public int getResultSlotIndex()- Specified by:
getResultSlotIndexin classRecipeBookContainer<CraftingInventory>
-
getGridWidth
public int getGridWidth()- Specified by:
getGridWidthin classRecipeBookContainer<CraftingInventory>
-
getGridHeight
public int getGridHeight()- Specified by:
getGridHeightin classRecipeBookContainer<CraftingInventory>
-
getSize
public int getSize()- Specified by:
getSizein classRecipeBookContainer<CraftingInventory>
-
getCraftSlots
-
getRecipeBookType
- Specified by:
getRecipeBookTypein classRecipeBookContainer<CraftingInventory>
-