net.minecraft.world.item.enchantment

public record EnchantmentInstance

dfi
net.minecraft.world.item.enchantment.EnchantmentInstance
net.minecraft.class_1889
net.minecraft.enchantment.EnchantmentLevelEntry

Field summary

Modifier and TypeField
private final Holder<Enchantment>
a
enchantment
comp_3486
enchantment
private final int
b
level
comp_3487
level

Constructor summary

ModifierConstructor
public (Holder<Enchantment> enchantment, int level)

Method summary

Modifier and TypeMethod
public int
a()
weight()
method_66344()
getWeight()
public Holder<Enchantment>
b()
enchantment()
comp_3486()
enchantment()
public int
c()
level()
comp_3487()
level()