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 Enchantment enchantment
    • level

      public final int level
  • Constructor Details

    • EnchantmentInstance

      public EnchantmentInstance(Enchantment p_44950_, int p_44951_)