net.minecraft.world.item.enchantment

public class EnchantmentInstance

extends WeightedEntry$IntrusiveBase

All mapped superinterfaces:

WeightedEntry

dec
net.minecraft.world.item.enchantment.EnchantmentInstance
net.minecraft.class_1889
net.minecraft.enchantment.EnchantmentLevelEntry
net.minecraft.world.item.enchantment.WeightedRandomEnchant

Field summary

Modifier and TypeField
public final Holder<Enchantment>
a
enchantment
field_9093
enchantment
public final int
b
level
field_9094
level

Constructor summary

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