Per-Level Descriptions

Learn how to add per-level description for enchantments

Starting 9.5.0, it is possible to add per-level descriptions for enchantments. It's very simple to do:

Here is an example with hasten enchantment, where you can describle per-level descriptions better:

enchantments.yml
hasten:
  display: '%group-color%Hasten'
  applies-to: Tools
  type: MINING
  group: SIMPLE
  applies:
    - ALL_PICKAXE
    - ALL_SPADE
    - ALL_AXE
  levels:
    '1':
      chance: 15
      cooldown: 3
      description: Chance to gain Haste 1 after breaking blocks.
      effects:
        - POTION:FAST_DIGGING:0:40
    '2':
      chance: 25
      cooldown: 3
      description: Chance to gain Haste 2 after breaking blocks.
      effects:
        - POTION:FAST_DIGGING:1:60

It's as simple as adding a description value under each level, just like chance or cooldown would be added for enchantments!

In config.yml, you must also change for items and books to utilize %level-description% instead of %description%. This will be located at the bottom of config.yml file, under settings (full path: settings.lore-descriptions.enabled)

and under enchantment-book (full path: enchantment-book.lore)

Last updated

Was this helpful?