Class ConventionalEnchantmentTags

java.lang.Object
net.fabricmc.fabric.api.tag.convention.v2.ConventionalEnchantmentTags

public final class ConventionalEnchantmentTags extends Object
  • Field Details

    • INCREASE_BLOCK_DROPS

      public static final TagKey<Enchantment> INCREASE_BLOCK_DROPS
      A tag containing enchantments that increase the amount or quality of drops from blocks, such as Enchantments.FORTUNE.
    • INCREASE_ENTITY_DROPS

      public static final TagKey<Enchantment> INCREASE_ENTITY_DROPS
      A tag containing enchantments that increase the amount or quality of drops from entities, such as Enchantments.LOOTING.
    • WEAPON_DAMAGE_ENHANCEMENTS

      public static final TagKey<Enchantment> WEAPON_DAMAGE_ENHANCEMENTS
      For enchantments that increase the damage dealt by an item.
    • ENTITY_SPEED_ENHANCEMENTS

      public static final TagKey<Enchantment> ENTITY_SPEED_ENHANCEMENTS
      For enchantments that increase movement speed for entity wearing armor enchanted with it.
    • ENTITY_AUXILIARY_MOVEMENT_ENHANCEMENTS

      public static final TagKey<Enchantment> ENTITY_AUXILIARY_MOVEMENT_ENHANCEMENTS
      For enchantments that applies movement-based benefits unrelated to speed for the entity wearing armor enchanted with it. Example: Reducing falling speeds (Enchantments.FEATHER_FALLING) or allowing walking on water (Enchantments.FROST_WALKER)
    • ENTITY_DEFENSE_ENHANCEMENTS

      public static final TagKey<Enchantment> ENTITY_DEFENSE_ENHANCEMENTS
      For enchantments that decrease damage taken or otherwise benefit, in regard to damage, the entity wearing armor enchanted with it.