Enchantment Options
Additional options for configuring enchantments to various archetypes or behaviors. Most behavior options are controlled by the enchantment's Enchantment tags in configuration.
Options default to false unless defined otherwise on a config, and generally can be freely combined.
Enabled
If the enchantment is enabled at all. Defaults to true so does not need to be present on active enchantments.
An enchantment can be disabled with:
example_enchant:
Display: "<red>Disabled Enchant"
Options:
Enabled: false
Cursed
Considered a curse enchantment, taking a red, ominous lore format and preventing grindstone removal:
example_enchant:
Display: "<yellow>Example Enchant"
Options:
Cursed: true
Treasure
These items double their market price in villager trades:
example_enchant:
Display: "<yellow>Example Enchant"
Options:
Treasure: true
RandomLoot
These Enchantments will appear in dungeon/chest loot:
example_enchant:
Display: "<yellow>Example Enchant"
Options:
RandomLoot: true
Tradeable
These enchantments will appear on villager book trades:
example_enchant:
Display: "<yellow>Example Enchant"
Options:
Tradeable: true
TradedEquipment
These enchantments will appear on villager-tradded gear:
example_enchant:
Display: "<yellow>Example Enchant"
Options:
TradedEquipment: true
MobSpawnEquipment
These enchantments will appear on mob equipment:
example_enchant:
Display: "<yellow>Example Enchant"
Options:
MobSpawnEquipment: true
TooltipOrder
Order of enchantments on the tooltip:
example_enchant:
Display: "<yellow>Example Enchant"
Options:
TooltipOrder: 42