Class ConventionalEnchantmentTags

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

public class ConventionalEnchantmentTags extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.tag.TagKey<net.minecraft.enchantment.Enchantment>
    For enchantments that decrease damage taken or otherwise benefit, in regards to damage, the entity wearing armor enchanted with it.
    static final net.minecraft.tag.TagKey<net.minecraft.enchantment.Enchantment>
    For enchantments that increase movement speed or otherwise benefit the entity wearing armor enchanted with it.
    static final net.minecraft.tag.TagKey<net.minecraft.enchantment.Enchantment>
    A tag containing enchantments that increase the amount or quality of drops from blocks, such as Enchantments.FORTUNE.
    static final net.minecraft.tag.TagKey<net.minecraft.enchantment.Enchantment>
    A tag containing enchantments that increase the amount or quality of drops from entities, such as Enchantments.LOOTING.
    static final net.minecraft.tag.TagKey<net.minecraft.enchantment.Enchantment>
    For enchantments that increase the damage dealt by an item.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INCREASES_BLOCK_DROPS

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

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

      public static final net.minecraft.tag.TagKey<net.minecraft.enchantment.Enchantment> WEAPON_DAMAGE_ENHANCEMENT
      For enchantments that increase the damage dealt by an item.
    • ENTITY_MOVEMENT_ENHANCEMENT

      public static final net.minecraft.tag.TagKey<net.minecraft.enchantment.Enchantment> ENTITY_MOVEMENT_ENHANCEMENT
      For enchantments that increase movement speed or otherwise benefit the entity wearing armor enchanted with it.
    • ENTITY_DEFENSE_ENHANCEMENT

      public static final net.minecraft.tag.TagKey<net.minecraft.enchantment.Enchantment> ENTITY_DEFENSE_ENHANCEMENT
      For enchantments that decrease damage taken or otherwise benefit, in regards to damage, the entity wearing armor enchanted with it.
  • Constructor Details

    • ConventionalEnchantmentTags

      public ConventionalEnchantmentTags()