Class HTIntrinsicEnchantment

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ResourceKey<Enchantment> getKey()
      final Integer getLevel()
      final <T extends Any> HTTextResult<T> useInstance(HolderGetter<Enchantment> getter, Function2<Holder<Enchantment>, Integer, T> action)
      final <T extends Any> HTTextResult<T> useInstance(HolderLookup.Provider provider, Function2<Holder<Enchantment>, Integer, T> action)
      final HTTextResult<Component> getFullName(HolderLookup.Provider provider)
      Unit addToTooltip(Item.TooltipContext context, Consumer<Component> tooltipAdder, TooltipFlag tooltipFlag)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait