net.minecraft.world.inventory

public class InventoryMenu

extends AbstractCraftingMenu

ctg
net.minecraft.world.inventory.InventoryMenu
net.minecraft.class_1723
net.minecraft.screen.PlayerScreenHandler
net.minecraft.world.inventory.ContainerPlayer

Field summary

Modifier and TypeField
public static final int
o
CONTAINER_ID
field_30802
field_30802
public static final int
p
RESULT_SLOT
field_30803
CRAFTING_RESULT_ID
private static final int
H
CRAFTING_GRID_WIDTH
field_52570
field_52570
private static final int
I
CRAFTING_GRID_HEIGHT
field_52571
field_52571
public static final int
q
CRAFT_SLOT_START
field_30804
CRAFTING_INPUT_START
public static final int
r
CRAFT_SLOT_COUNT
field_49739
CRAFTING_INPUT_COUNT
public static final int
s
CRAFT_SLOT_END
field_30805
CRAFTING_INPUT_END
public static final int
t
ARMOR_SLOT_START
field_30806
EQUIPMENT_START
public static final int
u
ARMOR_SLOT_COUNT
field_49740
EQUIPMENT_COUNT
public static final int
v
ARMOR_SLOT_END
field_30807
EQUIPMENT_END
public static final int
w
INV_SLOT_START
field_30808
INVENTORY_START
public static final int
x
INV_SLOT_END
field_30809
INVENTORY_END
public static final int
y
USE_ROW_SLOT_START
field_30810
HOTBAR_START
public static final int
z
USE_ROW_SLOT_END
field_30811
HOTBAR_END
public static final int
A
SHIELD_SLOT
field_30812
OFFHAND_ID
public static final ResourceLocation
B
EMPTY_ARMOR_SLOT_HELMET
field_21669
EMPTY_HELMET_SLOT_TEXTURE
public static final ResourceLocation
C
EMPTY_ARMOR_SLOT_CHESTPLATE
field_21670
EMPTY_CHESTPLATE_SLOT_TEXTURE
public static final ResourceLocation
D
EMPTY_ARMOR_SLOT_LEGGINGS
field_21671
EMPTY_LEGGINGS_SLOT_TEXTURE
public static final ResourceLocation
E
EMPTY_ARMOR_SLOT_BOOTS
field_21672
EMPTY_BOOTS_SLOT_TEXTURE
public static final ResourceLocation
F
EMPTY_ARMOR_SLOT_SHIELD
field_21673
EMPTY_OFF_HAND_SLOT_TEXTURE
private static final Map<EquipmentSlot, ResourceLocation>
J
TEXTURE_EMPTY_SLOTS
field_7829
EMPTY_ARMOR_SLOT_TEXTURES
private static final EquipmentSlot[]
K
SLOT_IDS
field_7832
EQUIPMENT_SLOT_ORDER
public final boolean
G
active
field_7827
onServer
private final Player
L
owner
field_7828
owner

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)
isInHotbar(int slot)
public void
a(bse arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
public void
a(coy arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
public boolean
b(coy arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public ItemStack
b(coy arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public boolean
a(cwq arg0, cua arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
public Slot
m()
getResultSlot()
method_61627()
getOutputSlot()
public List<Slot>
n()
getInputGridSlots()
method_61628()
getInputSlots()
public CraftingContainer
r()
getCraftSlots()
method_29281()
getCraftingInput()
public RecipeBookType
am_()
getRecipeBookType()
method_30264()
getCategory()
protected Player
q()
owner()
method_61631()
getPlayer()