net.minecraft.world.inventory

public class EnchantmentMenu

extends AbstractContainerMenu

bxe
net.minecraft.world.inventory.EnchantmentMenu
net.minecraft.class_1718
net.minecraft.screen.EnchantmentScreenHandler
net.minecraft.src.C_1258_
net.minecraft.world.inventory.ContainerEnchantTable

Field summary

Modifier and TypeField
private final Container
n
enchantSlots
field_7809
inventory
f_39449_
private final ContainerLevelAccess
o
access
field_7813
context
f_39450_
private final RandomSource
p
random
field_7811
random
f_39451_
private final DataSlot
q
enchantmentSeed
field_7814
seed
f_39452_
public final int[]
k
costs
field_7808
enchantmentPower
f_39446_
public final int[]
l
enchantClue
field_7812
enchantmentId
f_39447_
public final int[]
m
levelClue
field_7810
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(bac arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public boolean
b(buc arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
m_6366_(C_1141_ p_39466_, int arg1)
private List<EnchantmentInstance>
a(cax arg0, int arg1, int arg2)
getEnchantmentList(ItemStack arg0, int arg1, int arg2)
method_7637(class_1799 arg0, int arg1, int arg2)
generateEnchantments(ItemStack stack, int slot, int level)
m_39471_(C_1391_ p_39473_, int p_39474_, int arg2)
public int
l()
getGoldCount()
method_7638()
getLapisCount()
m_39492_()
public int
m()
getEnchantmentSeed()
method_17413()
getSeed()
m_39493_()
public void
b(buc arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
a(buc arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public ItemStack
a(buc arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
transferSlot(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39491_, int arg1)