Class PlayerContainer
java.lang.Object
net.minecraft.inventory.container.Container
net.minecraft.inventory.container.RecipeBookContainer<CraftingInventory>
net.minecraft.inventory.container.PlayerContainer
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
static final ResourceLocation
private final CraftingInventory
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
private final PlayerEntity
private final CraftResultInventory
private static final EquipmentSlotType[]
private static final ResourceLocation[]
Fields inherited from class net.minecraft.inventory.container.Container
containerId, slots
-
Constructor Summary
ConstructorDescriptionPlayerContainer
(PlayerInventory p_i1819_1_, boolean p_i1819_2_, PlayerEntity p_i1819_3_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canTakeItemForPickAll
(ItemStack p_94530_1_, Slot p_94530_2_) void
void
fillCraftSlotsStackedContents
(RecipeItemHelper p_201771_1_) int
int
int
int
getSize()
quickMoveStack
(PlayerEntity p_82846_1_, int p_82846_2_) boolean
recipeMatches
(IRecipe<? super CraftingInventory> p_201769_1_) void
removed
(PlayerEntity p_75134_1_) void
slotsChanged
(IInventory p_75130_1_) boolean
stillValid
(PlayerEntity p_75145_1_) Methods inherited from class net.minecraft.inventory.container.RecipeBookContainer
getRecipeBookCategories, handlePlacement
Methods 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:
fillCraftSlotsStackedContents
in classRecipeBookContainer<CraftingInventory>
-
clearCraftingContent
public void clearCraftingContent()- Specified by:
clearCraftingContent
in classRecipeBookContainer<CraftingInventory>
-
recipeMatches
- Specified by:
recipeMatches
in classRecipeBookContainer<CraftingInventory>
-
slotsChanged
- Overrides:
slotsChanged
in classContainer
-
removed
-
stillValid
- Specified by:
stillValid
in classContainer
-
quickMoveStack
- Overrides:
quickMoveStack
in classContainer
-
canTakeItemForPickAll
- Overrides:
canTakeItemForPickAll
in classContainer
-
getResultSlotIndex
public int getResultSlotIndex()- Specified by:
getResultSlotIndex
in classRecipeBookContainer<CraftingInventory>
-
getGridWidth
public int getGridWidth()- Specified by:
getGridWidth
in classRecipeBookContainer<CraftingInventory>
-
getGridHeight
public int getGridHeight()- Specified by:
getGridHeight
in classRecipeBookContainer<CraftingInventory>
-
getSize
public int getSize()- Specified by:
getSize
in classRecipeBookContainer<CraftingInventory>
-
getCraftSlots
-
getRecipeBookType
- Specified by:
getRecipeBookType
in classRecipeBookContainer<CraftingInventory>
-