net.minecraft.screen

public class PlayerScreenHandler

extends AbstractRecipeScreenHandler<RecipeInputInventory>

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

Field summary

Modifier and TypeField
public static final int
k
CONTAINER_ID
field_30802
field_30802
f_nbvmvvaf
CONTAINER_ID
f_150579_
public static final int
l
RESULT_SLOT
field_30803
CRAFTING_RESULT_ID
f_uwlfuvej
RESULT_SLOT
f_150580_
public static final int
m
CRAFT_SLOT_START
field_30804
CRAFTING_INPUT_START
f_izfvkkvp
CRAFT_SLOTS_START
f_150581_
public static final int
n
CRAFT_SLOT_END
field_30805
CRAFTING_INPUT_END
f_ujtrrzlg
CRAFT_SLOTS_END
f_150582_
public static final int
o
ARMOR_SLOT_START
field_30806
EQUIPMENT_START
f_mafviefs
ARMOR_SLOTS_START
f_150583_
public static final int
p
ARMOR_SLOT_END
field_30807
EQUIPMENT_END
f_wrvdxzsu
ARMOR_SLOTS_END
f_150584_
public static final int
q
INV_SLOT_START
field_30808
INVENTORY_START
f_nbayafoy
INVENTORY_SLOTS_START
f_150585_
public static final int
r
INV_SLOT_END
field_30809
INVENTORY_END
f_tfyungdw
INVENTORY_SLOTS_END
f_150586_
public static final int
s
USE_ROW_SLOT_START
field_30810
HOTBAR_START
f_pwiohbpk
HOTBAR_SLOTS_START
f_150587_
public static final int
t
USE_ROW_SLOT_END
field_30811
HOTBAR_END
f_hsudvrup
HOTBAR_SLOTS_END
f_150588_
public static final int
u
SHIELD_SLOT
field_30812
OFFHAND_ID
f_uidxxlzi
SHIELD_SLOTS
f_150589_
public static final Identifier
v
BLOCK_ATLAS
field_21668
BLOCK_ATLAS_TEXTURE
f_emummugd
BLOCK_ATLAS_TEXTURE
f_39692_
public static final Identifier
w
EMPTY_ARMOR_SLOT_HELMET
field_21669
EMPTY_HELMET_SLOT_TEXTURE
f_lraebevl
EMPTY_HELMET_SLOT_TEXTURE
f_39693_
public static final Identifier
x
EMPTY_ARMOR_SLOT_CHESTPLATE
field_21670
EMPTY_CHESTPLATE_SLOT_TEXTURE
f_vqgmbxda
EMPTY_CHESTPLATE_SLOT_TEXTURE
f_39694_
public static final Identifier
y
EMPTY_ARMOR_SLOT_LEGGINGS
field_21671
EMPTY_LEGGINGS_SLOT_TEXTURE
f_sflswbkw
EMPTY_LEGGINGS_SLOT_TEXTURE
f_39695_
public static final Identifier
z
EMPTY_ARMOR_SLOT_BOOTS
field_21672
EMPTY_BOOTS_SLOT_TEXTURE
f_febforrw
EMPTY_BOOTS_SLOT_TEXTURE
f_39696_
public static final Identifier
A
EMPTY_ARMOR_SLOT_SHIELD
field_21673
EMPTY_OFFHAND_ARMOR_SLOT
f_oudnmdkc
EMPTY_OFFHAND_ARMOR_SLOT
f_39697_
static final Identifier[]
C
TEXTURE_EMPTY_SLOTS
field_7829
EMPTY_ARMOR_SLOT_TEXTURES
f_kapxoukh
EMPTY_ARMOR_SLOT_TEXTURES
f_39699_
private static final EquipmentSlot[]
D
SLOT_IDS
field_7832
EQUIPMENT_SLOT_ORDER
f_captvftf
EQUIPMENT_SLOT_ORDER
f_39700_
private final RecipeInputInventory
E
craftSlots
field_7831
craftingInput
f_zitgcmne
craftingInput
f_39701_
private final CraftingResultInventory
F
resultSlots
field_7830
craftingResult
f_qmeridbv
craftingResult
f_39702_
public final boolean
B
active
field_7827
onServer
f_kslrnhhv
onServer
f_39698_
private final PlayerEntity
G
owner
field_7828
owner
f_ikswpglf
owner
f_39703_

Constructor summary

ModifierConstructor
public (PlayerInventory inventory, boolean onServer, PlayerEntity owner)

Method summary

Modifier and TypeMethod
static void
a(cbu o, biv o, cjf o, cjf o)
onEquipItem(Player arg0, EquipmentSlot arg1, ItemStack arg2, ItemStack arg3)
method_48930(class_1657 arg0, class_1304 arg1, class_1799 arg2, class_1799 arg3)
onEquipStack(PlayerEntity player, EquipmentSlot slot, ItemStack newStack, ItemStack currentStack)
m_lewblnsy(C_jzrpycqo arg0, C_yuycoehb arg1, C_sddaxwyk arg2, C_sddaxwyk arg3)
onEquipItem(PlayerEntity player, EquipmentSlot slot, ItemStack oldStack, ItemStack toEquip)
m_269535_(C_1141_ p_270432_, C_516_ p_270254_, C_1391_ p_270316_, C_1391_ p_270993_)
public static boolean
f(int o)
isHotbarSlot(int arg0)
method_36211(int arg0)
isInHotbar(int slot)
m_eljvotwc(int arg0)
isHotbarSlot(int slot)
m_150592_(int p_150593_)
public void
a(cby arg0)
fillCraftSlotsStackedContents(StackedContents arg0)
method_7654(class_1662 arg0)
populateRecipeFinder(RecipeMatcher arg0)
m_mldsqcel(C_nyagoaau arg0)
populateRecipeFinder(RecipeMatcher arg0)
m_5816_(C_1145_ arg0)
public void
l()
clearCraftingContent()
method_7657()
clearCraftingSlots()
m_uwijzjvj()
clearCraftingSlots()
m_6650_()
public boolean
a(cmk<? extends cmj<cez>> arg0)
recipeMatches(RecipeHolder<? extends Recipe<CraftingContainer>> arg0)
method_7652(class_8786<? extends class_1860<class_8566>> arg0)
matches(RecipeEntry<? extends Recipe<RecipeInputInventory>> arg0)
m_oqwknnpi(C_dscbrwbj<? extends C_awrmdwqd<C_fcvwjvlq>> arg0)
matches(RecipeHolder<? extends Recipe<RecipeInputInventory>> arg0)
m_6032_(C_290175_<? extends C_1469_<C_1251_>> arg0)
public void
a(bgr arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_heazfhiy(C_pjtstjoq arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
b(cbu arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
m_bftcwuek(C_jzrpycqo arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
a(cbu arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_zipsjvkj(C_jzrpycqo arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public ItemStack
a(cbu o, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
m_oujzgmbb(C_jzrpycqo arg0, int arg1)
quickTransfer(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39724_, int arg1)
public boolean
a(cjf o, cgd arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_pmldxlql(C_sddaxwyk arg0, C_nhvqfffd arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_39717_, C_1305_ arg1)
public int
m()
getResultSlotIndex()
method_7655()
getCraftingResultSlotIndex()
m_agsayhit()
getCraftingResultSlotIndex()
m_6636_()
public int
n()
getGridWidth()
method_7653()
getCraftingWidth()
m_dqpjxqsk()
getCraftingWidth()
m_6635_()
public int
o()
getGridHeight()
method_7656()
getCraftingHeight()
m_prqqqfhh()
getCraftingHeight()
m_6656_()
public int
p()
getSize()
method_7658()
getCraftingSlotCount()
m_dsrlukie()
getCraftingSlotCount()
m_6653_()
public RecipeInputInventory
q()
getCraftSlots()
method_29281()
getCraftingInput()
m_minfdyux()
getCraftingInput()
m_39730_()
public RecipeBookCategory
t()
getRecipeBookType()
method_30264()
getCategory()
m_zlpkpbya()
getCategory()
m_5867_()
public boolean
e(int arg0)
shouldMoveToInventory(int arg0)
method_32339(int arg0)
canInsertIntoSlot(int arg0)
m_skvcbdjm(int arg0)
canInsertIntoSlot(int arg0)
m_142157_(int arg0)