net.minecraft.world.inventory

public class EnchantmentMenu

extends AbstractContainerMenu

cqp
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.ContainerDispenser

Field summary

Modifier and TypeField
static final ResourceLocation
n
EMPTY_SLOT_LAPIS_LAZULI
field_45143
f_ihcgnycs
EMPTY_LAPIS_SLOT_TEXTURE
EMPTY_LAPIS_SLOT_TEXTURE
f_291161_
private final Container
o
enchantSlots
field_7809
f_oxkhcupi
inventory
inventory
f_39449_
private final ContainerLevelAccess
p
access
field_7813
f_wypucqts
context
context
f_39450_
private final RandomSource
q
random
field_7811
f_lvsuivcl
random
random
f_39451_
private final DataSlot
r
enchantmentSeed
field_7814
f_soxfragw
seed
seed
f_39452_
public final int[]
k
costs
field_7808
f_ctcmknrm
enchantmentPower
enchantmentPower
f_39446_
public final int[]
l
enchantClue
field_7812
f_ixhobvbb
enchantmentId
enchantmentId
f_39447_
public final int[]
m
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(bqo 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
b(cmy 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(cpm arg0, cuq arg1, int arg2, int arg3)
getEnchantmentList(FeatureFlagSet arg0, ItemStack arg1, int arg2, int arg3)
method_7637(class_7699 arg0, class_1799 arg1, int arg2, int arg3)
m_zttnkgab(C_czxxrbcp arg0, C_sddaxwyk arg1, int arg2, int arg3)
generateEnchantments(FeatureSet enabledFeatures, ItemStack stack, int slot, int level)
generateEnchantments(FeatureFlagBitSet arg0, ItemStack stack, int slot, int level)
m_39471_(C_243488_ 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
b(cmy 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
a(cmy 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
a(cmy 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)