Creating Enchantments
How to create your own enchantments
Creating your own enchants is easy, simply head over to customenchants.yml and add a new customenchant section
NAME:
displayName: "&7Display Name"
description: "Enchant Description"
type: "Boots"
trigger: "PASSIVE:20"
levels:
1:
chance: 100.0
tiers:
- "Common"
effects:
- "POTION:REGENERATION:1:5"
conditions:
- "ISWEARING"
2:
chance: 100.0
tiers:
- "Elite"
effects:
- "POTION:REGENERATION:2:5"
conditions:
- "ISWEARING"
3:
chance: 100.0
tiers:
- "Legendary"
effects:
- "POTION:REGENERATION:3:5"
conditions:
- "ISWEARING"
enabled: true
enchantmentTable: true
In this example above, I created a new enchantment called Name, gave it 3 levels each with a regeneration effect attached to it.
displayName
The display name of the enchant used in the item's lore
description
The description of the enchant
type
What the enchant applies to, see Types
trigger
What triggers the enchant, See Triggers
levels
The enchantment levels
levels.chance
The chance the enchant activates
levels.tiers
The tiers the enchant will be in
levels.effects
The effects of the enchant, see Effects
levels.conditions
The conditions of the enchant, see Conditions
enabled
If the enchant is enabled or not
enchantmentTable
If the enchant can be created via an enchantmentTable
Last updated
Was this helpful?