IridiumEnchants
  • Home
  • Frequently Asked Questions
  • Enchantments
    • Creating Enchantments
    • Effects
    • Conditions
    • Triggers
    • Types
    • Default Enchantments
  • Configurations
    • Commands
    • Configuration
    • CustomEnchants
    • GKits
    • Inventories
    • Messages
Powered by GitBook
On this page

Was this helpful?

  1. Enchantments

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.

Value
Description

displayName

The display name of the enchant used in the item's lore

description

The description of the enchant

type

trigger

levels

The enchantment levels

levels.chance

The chance the enchant activates

levels.tiers

The tiers the enchant will be in

levels.effects

levels.conditions

enabled

If the enchant is enabled or not

enchantmentTable

If the enchant can be created via an enchantmentTable

PreviousFrequently Asked QuestionsNextEffects

Last updated 3 years ago

Was this helpful?

What the enchant applies to, see

What triggers the enchant, See

The effects of the enchant, see

The conditions of the enchant, see

Types
Triggers
Effects
Conditions