Class ConventionalEnchantmentTags
java.lang.Object
net.fabricmc.fabric.api.tag.convention.v2.ConventionalEnchantmentTags
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TagKey
<Enchantment> For enchantments that applies movement-based benefits unrelated to speed for the entity wearing armor enchanted with it.static final TagKey
<Enchantment> For enchantments that decrease damage taken or otherwise benefit, in regard to damage, the entity wearing armor enchanted with it.static final TagKey
<Enchantment> For enchantments that increase movement speed for entity wearing armor enchanted with it.static final TagKey
<Enchantment> A tag containing enchantments that increase the amount or quality of drops from blocks, such asEnchantments.FORTUNE
.static final TagKey
<Enchantment> A tag containing enchantments that increase the amount or quality of drops from entities, such asEnchantments.LOOTING
.static final TagKey
<Enchantment> For enchantments that increase the damage dealt by an item. -
Method Summary
-
Field Details
-
INCREASE_BLOCK_DROPS
A tag containing enchantments that increase the amount or quality of drops from blocks, such asEnchantments.FORTUNE
. -
INCREASE_ENTITY_DROPS
A tag containing enchantments that increase the amount or quality of drops from entities, such asEnchantments.LOOTING
. -
WEAPON_DAMAGE_ENHANCEMENTS
For enchantments that increase the damage dealt by an item. -
ENTITY_SPEED_ENHANCEMENTS
For enchantments that increase movement speed for entity wearing armor enchanted with it. -
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
For enchantments that decrease damage taken or otherwise benefit, in regard to damage, the entity wearing armor enchanted with it.
-