Class EnchantmentInstance

java.lang.Object
net.minecraft.util.random.WeightedEntry.IntrusiveBase
net.minecraft.world.item.enchantment.EnchantmentInstance
All Implemented Interfaces:
WeightedEntry

public class EnchantmentInstance extends WeightedEntry.IntrusiveBase
  • Field Details

    • enchantment

      public final Holder<Enchantment> enchantment
    • level

      public final int level
  • Constructor Details

    • EnchantmentInstance

      public EnchantmentInstance(Holder<Enchantment> p_345467_, int p_44951_)