net.minecraft.world.inventory

public class InventoryMenu

extends RecipeBookMenu<CraftingInput, CraftingRecipe>

cqw
net.minecraft.world.inventory.InventoryMenu
net.minecraft.class_1723
net.minecraft.screen.PlayerScreenHandler
net.minecraft.src.C_1274_
net.minecraft.world.inventory.ContainerPlayer

Field summary

Modifier and TypeField
public static final int
k
CONTAINER_ID
field_30802
field_30802
f_150579_
public static final int
l
RESULT_SLOT
field_30803
CRAFTING_RESULT_ID
f_150580_
public static final int
m
CRAFT_SLOT_START
field_30804
CRAFTING_INPUT_START
f_150581_
public static final int
n
CRAFT_SLOT_COUNT
field_49739
CRAFTING_INPUT_COUNT
f_315419_
public static final int
o
CRAFT_SLOT_END
field_30805
CRAFTING_INPUT_END
f_150582_
public static final int
p
ARMOR_SLOT_START
field_30806
EQUIPMENT_START
f_150583_
public static final int
q
ARMOR_SLOT_COUNT
field_49740
EQUIPMENT_COUNT
f_315142_
public static final int
r
ARMOR_SLOT_END
field_30807
EQUIPMENT_END
f_150584_
public static final int
s
INV_SLOT_START
field_30808
INVENTORY_START
f_150585_
public static final int
t
INV_SLOT_END
field_30809
INVENTORY_END
f_150586_
public static final int
u
USE_ROW_SLOT_START
field_30810
HOTBAR_START
f_150587_
public static final int
v
USE_ROW_SLOT_END
field_30811
HOTBAR_END
f_150588_
public static final int
w
SHIELD_SLOT
field_30812
OFFHAND_ID
f_150589_
public static final ResourceLocation
x
BLOCK_ATLAS
field_21668
BLOCK_ATLAS_TEXTURE
f_39692_
public static final ResourceLocation
y
EMPTY_ARMOR_SLOT_HELMET
field_21669
EMPTY_HELMET_SLOT_TEXTURE
f_39693_
public static final ResourceLocation
z
EMPTY_ARMOR_SLOT_CHESTPLATE
field_21670
EMPTY_CHESTPLATE_SLOT_TEXTURE
f_39694_
public static final ResourceLocation
A
EMPTY_ARMOR_SLOT_LEGGINGS
field_21671
EMPTY_LEGGINGS_SLOT_TEXTURE
f_39695_
public static final ResourceLocation
B
EMPTY_ARMOR_SLOT_BOOTS
field_21672
EMPTY_BOOTS_SLOT_TEXTURE
f_39696_
public static final ResourceLocation
C
EMPTY_ARMOR_SLOT_SHIELD
field_21673
EMPTY_OFFHAND_ARMOR_SLOT
f_39697_
private static final Map<EquipmentSlot, ResourceLocation>
E
TEXTURE_EMPTY_SLOTS
field_7829
EMPTY_ARMOR_SLOT_TEXTURES
f_39699_
private static final EquipmentSlot[]
F
SLOT_IDS
field_7832
EQUIPMENT_SLOT_ORDER
f_39700_
private final CraftingContainer
G
craftSlots
field_7831
craftingInput
f_39701_
private final ResultContainer
H
resultSlots
field_7830
craftingResult
f_39702_
public final boolean
D
active
field_7827
onServer
f_39698_
private final Player
I
owner
field_7828
owner
f_39703_

Constructor summary

ModifierConstructor
public (Inventory inventory, boolean onServer, Player owner)

Method summary

Modifier and TypeMethod
public static boolean
f(int arg0)
isHotbarSlot(int arg0)
method_36211(int arg0)
isInHotbar(int slot)
m_150592_(int p_150593_)
public void
a(cnb arg0)
fillCraftSlotsStackedContents(StackedContents arg0)
method_7654(class_1662 arg0)
populateRecipeFinder(RecipeMatcher arg0)
m_5816_(C_1145_ arg0)
public void
l()
clearCraftingContent()
method_7657()
clearCraftingSlots()
m_6650_()
public boolean
a(czb<cyq> arg0)
recipeMatches(RecipeHolder<CraftingRecipe> arg0)
method_7652(class_8786<class_3955> arg0)
matches(RecipeEntry<CraftingRecipe> arg0)
m_6032_(C_290175_<C_1457_> arg0)
public void
a(bqk arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
a(cmx arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
b(cmx arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public ItemStack
b(cmx arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39724_, int arg1)
public boolean
a(cuq arg0, crq arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_39717_, C_1305_ arg1)
public int
m()
getResultSlotIndex()
method_7655()
getCraftingResultSlotIndex()
m_6636_()
public int
n()
getGridWidth()
method_7653()
getCraftingWidth()
m_6635_()
public int
o()
getGridHeight()
method_7656()
getCraftingHeight()
m_6656_()
public int
p()
getSize()
method_7658()
getCraftingSlotCount()
m_6653_()
public CraftingContainer
r()
getCraftSlots()
method_29281()
getCraftingInput()
m_39730_()
public RecipeBookType
t()
getRecipeBookType()
method_30264()
getCategory()
m_5867_()
public boolean
e(int arg0)
shouldMoveToInventory(int arg0)
method_32339(int arg0)
canInsertIntoSlot(int arg0)
m_142157_(int arg0)