net.minecraft.world.inventory

public class EnchantmentMenu

extends AbstractContainerMenu

bgy
net.minecraft.world.inventory.EnchantmentMenu
net.minecraft.class_1718
net.minecraft.screen.EnchantmentScreenHandler
net.minecraft.inventory.container.EnchantmentContainer
net.minecraft.server.v1_16_R1.ContainerEnchantTable

Field summary

Modifier and TypeField
private final Container
f
enchantSlots
field_7809
inventory
field_75168_e
enchantSlots
private final ContainerLevelAccess
g
access
field_7813
context
field_217006_g
containerAccess
private final Random
h
random
field_7811
random
field_75169_l
private final DataSlot
i
enchantmentSeed
field_7814
seed
field_178149_f
public final int[]
c
costs
field_7808
enchantmentPower
field_75167_g
costs
public final int[]
d
enchantClue
field_7812
enchantmentId
field_185001_h
enchantments
public final int[]
e
levelClue
field_7810
enchantmentLevel
field_185002_i
levels

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(amz arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
func_75130_a(IInventory arg0)
public boolean
a(bec arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
func_75140_a(PlayerEntity arg0, int arg1)
private List<EnchantmentInstance>
a(bki 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)
func_178148_a(ItemStack arg0, int arg1, int arg2)
public void
b(bec arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
close(PlayerEntity arg0)
func_75134_a(PlayerEntity arg0)
public boolean
a(bec arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
func_75145_c(PlayerEntity arg0)
canUse(EntityHuman arg0)
public ItemStack
b(bec arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
transferSlot(PlayerEntity arg0, int arg1)
func_82846_b(PlayerEntity arg0, int arg1)
shiftClick(EntityHuman arg0, int arg1)
public int
e()
getGoldCount()
method_7638()
getLapisCount()
func_178147_e()
public int
f()
getEnchantmentSeed()
method_17413()
getSeed()
func_217005_f()