net.minecraft.world.inventory

public class EnchantmentMenu

extends AbstractContainerMenu

csz
net.minecraft.world.inventory.EnchantmentMenu
net.minecraft.class_1718
net.minecraft.unmapped.C_pyejtqnd
net.minecraft.screen.EnchantmentScreenHandler
net.minecraft.screen.EnchantmentScreenHandler
net.minecraft.src.C_1258_
net.minecraft.world.inventory.ContainerEnchantTable

Field summary

Modifier and TypeField
static final ResourceLocation
p
EMPTY_SLOT_LAPIS_LAZULI
field_45143
f_ihcgnycs
EMPTY_LAPIS_LAZULI_SLOT_TEXTURE
EMPTY_LAPIS_SLOT_TEXTURE
f_291161_
private final Container
q
enchantSlots
field_7809
f_oxkhcupi
inventory
inventory
f_39449_
private final ContainerLevelAccess
r
access
field_7813
f_wypucqts
context
context
f_39450_
private final RandomSource
s
random
field_7811
f_lvsuivcl
random
random
f_39451_
private final DataSlot
t
enchantmentSeed
field_7814
f_soxfragw
seed
seed
f_39452_
public final int[]
m
costs
field_7808
f_ctcmknrm
enchantmentPower
enchantmentPower
f_39446_
public final int[]
n
enchantClue
field_7812
f_ixhobvbb
enchantmentId
enchantmentId
f_39447_
public final int[]
o
levelClue
field_7810
f_tsegrplv
enchantmentLevel
enchantmentLevel
f_39448_

Constructor summary

ModifierConstructor
public (int syncId, Inventory playerInventory)
public (int syncId, Inventory playerInventory, ContainerLevelAccess context)

Method summary

Modifier and TypeMethod
public void
a(bse 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 boolean
a(coy arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
m_ydpykrle(C_jzrpycqo arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
m_6366_(C_1141_ p_39466_, int arg1)
private List<EnchantmentInstance>
a(kf arg0, cwq arg1, int arg2, int arg3)
getEnchantmentList(RegistryAccess arg0, ItemStack arg1, int arg2, int arg3)
method_7637(class_5455 arg0, class_1799 arg1, int arg2, int arg3)
m_zttnkgab(C_wqxmvzdq arg0, C_sddaxwyk arg1, int arg2, int arg3)
generateEnchantments(DynamicRegistryManager registryManager, ItemStack stack, int slot, int level)
m_zttnkgab(DynamicRegistryManager registryManager, ItemStack stack, int arg2, int level)
m_39471_(C_4706_ p_39472_, C_1391_ p_39473_, int p_39474_, int arg3)
public int
l()
getGoldCount()
method_7638()
m_iigvqkyg()
getLapisCount()
getLapisCount()
m_39492_()
public int
m()
getEnchantmentSeed()
method_17413()
m_ryytoerl()
getSeed()
getSeed()
m_39493_()
public void
a(coy 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(coy 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(coy 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_39491_, int arg1)