net.minecraft.world.inventory

public class InventoryMenu

extends AbstractCraftingMenu

cuf
net.minecraft.world.inventory.InventoryMenu
net.minecraft.class_1723
net.minecraft.unmapped.C_wgehrbdx
net.minecraft.screen.PlayerScreenHandler
net.minecraft.screen.PlayerScreenHandler
net.minecraft.src.C_1274_
net.minecraft.world.inventory.ContainerPlayer

Field summary

Modifier and TypeField
public static final int
o
CONTAINER_ID
field_30802
f_nbvmvvaf
field_30802
CONTAINER_ID
f_150579_
public static final int
p
RESULT_SLOT
field_30803
f_uwlfuvej
CRAFTING_RESULT_ID
RESULT_SLOT
f_150580_
private static final int
I
CRAFTING_GRID_WIDTH
field_52570
f_nrugzunj
field_52570
f_347706_
private static final int
J
CRAFTING_GRID_HEIGHT
field_52571
f_kfzoupdj
field_52571
f_347442_
public static final int
q
CRAFT_SLOT_START
field_30804
f_izfvkkvp
CRAFTING_INPUT_START
CRAFT_SLOTS_START
f_150581_
public static final int
r
CRAFT_SLOT_COUNT
field_49739
f_mxwlguuj
CRAFTING_INPUT_COUNT
f_315419_
public static final int
s
CRAFT_SLOT_END
field_30805
f_ujtrrzlg
CRAFTING_INPUT_END
CRAFT_SLOTS_END
f_150582_
public static final int
t
ARMOR_SLOT_START
field_30806
f_mafviefs
EQUIPMENT_START
ARMOR_SLOTS_START
f_150583_
public static final int
u
ARMOR_SLOT_COUNT
field_49740
f_bkhubujy
EQUIPMENT_COUNT
f_315142_
public static final int
v
ARMOR_SLOT_END
field_30807
f_wrvdxzsu
EQUIPMENT_END
ARMOR_SLOTS_END
f_150584_
public static final int
w
INV_SLOT_START
field_30808
f_nbayafoy
INVENTORY_START
INVENTORY_SLOTS_START
f_150585_
public static final int
x
INV_SLOT_END
field_30809
f_tfyungdw
INVENTORY_END
INVENTORY_SLOTS_END
f_150586_
public static final int
y
USE_ROW_SLOT_START
field_30810
f_pwiohbpk
HOTBAR_START
HOTBAR_SLOTS_START
f_150587_
public static final int
z
USE_ROW_SLOT_END
field_30811
f_hsudvrup
HOTBAR_END
HOTBAR_SLOTS_END
f_150588_
public static final int
A
SHIELD_SLOT
field_30812
f_uidxxlzi
OFFHAND_ID
SHIELD_SLOTS
f_150589_
public static final ResourceLocation
B
BLOCK_ATLAS
field_21668
f_emummugd
BLOCK_ATLAS_TEXTURE
BLOCK_ATLAS_TEXTURE
f_39692_
public static final ResourceLocation
C
EMPTY_ARMOR_SLOT_HELMET
field_21669
f_lraebevl
EMPTY_HELMET_SLOT_TEXTURE
EMPTY_HELMET_SLOT_TEXTURE
f_39693_
public static final ResourceLocation
D
EMPTY_ARMOR_SLOT_CHESTPLATE
field_21670
f_vqgmbxda
EMPTY_CHESTPLATE_SLOT_TEXTURE
EMPTY_CHESTPLATE_SLOT_TEXTURE
f_39694_
public static final ResourceLocation
E
EMPTY_ARMOR_SLOT_LEGGINGS
field_21671
f_sflswbkw
EMPTY_LEGGINGS_SLOT_TEXTURE
EMPTY_LEGGINGS_SLOT_TEXTURE
f_39695_
public static final ResourceLocation
F
EMPTY_ARMOR_SLOT_BOOTS
field_21672
f_febforrw
EMPTY_BOOTS_SLOT_TEXTURE
EMPTY_BOOTS_SLOT_TEXTURE
f_39696_
public static final ResourceLocation
G
EMPTY_ARMOR_SLOT_SHIELD
field_21673
f_oudnmdkc
EMPTY_OFFHAND_ARMOR_SLOT
EMPTY_OFFHAND_ARMOR_SLOT
f_39697_
private static final Map<EquipmentSlot, ResourceLocation>
K
TEXTURE_EMPTY_SLOTS
field_7829
f_kapxoukh
EMPTY_ARMOR_SLOT_TEXTURES
f_39699_
private static final EquipmentSlot[]
L
SLOT_IDS
field_7832
f_captvftf
EQUIPMENT_SLOT_ORDER
EQUIPMENT_SLOT_ORDER
f_39700_
public final boolean
H
active
field_7827
f_kslrnhhv
onServer
onServer
f_39698_
private final Player
M
owner
field_7828
f_ikswpglf
owner
owner
f_39703_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static boolean
e(int arg0)
isHotbarSlot(int arg0)
method_36211(int arg0)
m_eljvotwc(int arg0)
isInHotbar(int slot)
isHotbarSlot(int slot)
m_150592_(int p_150593_)
public void
a(btc arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
m_heazfhiy(C_pjtstjoq arg0)
onContentChanged(Inventory arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
a(cpx arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
m_bftcwuek(C_jzrpycqo arg0)
onClosed(PlayerEntity arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
b(cpx arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
m_zipsjvkj(C_jzrpycqo arg0)
canUse(PlayerEntity arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public ItemStack
b(cpx arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
m_oujzgmbb(C_jzrpycqo arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
quickTransfer(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39724_, int arg1)
public boolean
a(cxp arg0, cuz arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
m_pmldxlql(C_sddaxwyk arg0, C_nhvqfffd arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_39717_, C_1305_ arg1)
public Slot
m()
getResultSlot()
method_61627()
m_fequbbys()
getOutputSlot()
getResultSlot()
m_353093_()
public List<Slot>
n()
getInputGridSlots()
method_61628()
m_orznidvz()
getInputSlots()
getInputSlots()
m_351714_()
public CraftingContainer
r()
getCraftSlots()
method_29281()
m_minfdyux()
getCraftingInput()
getCraftingInput()
m_39730_()
public RecipeBookType
an_()
getRecipeBookType()
method_30264()
m_zlpkpbya()
getCategory()
getCategory()
m_5867_()
protected Player
q()
owner()
method_61631()
m_xvefxpft()
getPlayer()
getOwner()
m_353860_()