Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicEnchants MythicEnchants
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicEnchantsMythicEnchants
  • Wiki
  • Custom Enchantments

Custom Enchantments · Changes

Page history
Create Custom Enchantments authored Sep 17, 2021 by Ashijin's avatar Ashijin
Hide whitespace changes
Inline Side-by-side
Showing with 62 additions and 0 deletions
+62 -0
  • Custom-Enchantments.md Custom-Enchantments.md +62 -0
  • No files found.
Custom-Enchantments.md 0 → 100644
View page @ b1928bf0
Custom Enchantments
-------------
MythicEnchantments allows you to create fully functional enchants using the [Mythic Skill System](https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/Skills/Start). Details of this system can be found on the [Mythic Manual](https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/Skills/Start).
Getting started creating a new enchantment in MythicEnchants is fairly straight-forward! All custom enchantments are located in the `plugins/MythicEnchants/CustomEnchantments` folder, and to add a new one you just create a new file named after your enchant (or add it to an existing file).
Inside each file, a custom enchantment can look like this:
```
BURNING:
Display: 'Burning'
MinLevel: 1
MaxLevel: 3
Rarity: COMMON
EnchantableItems:
- DIAMOND_SWORD
- NETHERITE_SWORD
Skills:
- ignite{ticks=100} @trigger ~onAttack ?enchantLevel{level=1}
- ignite{ticks=200} @trigger ~onAttack ?enchantLevel{level=2}
- ignite{ticks=300} @trigger ~onAttack ?enchantLevel{level=3}
```
This enchantment would set whatever you hit on fire, just like Fire Aspect! Why did we remake Fire Aspect? Nobody knows! But in this case, it will set things on fire for 100 ticks per level.
If you have Mythic Premium, you can also simplify things with math:
```
Skills:
- ignite{ticks="100 * <skill.var.enchant-level>"} @trigger ~onAttack
```
Most mechanics, conditions, and triggers from Mythic can be used in enchantments - almost anything that makes sense will work how you'd expect. MythicEnchants also adds a bunch of new tools you can use that are specific to enchantments!
You can read more about the new toys added for skills in the manual:
### New Mechanics
* [Enchant Mechanics](Skills/Mechanics)
* [Enchant Targeters](Skills/Targeters)
* [Enchant Triggers](Skills/Triggers)
* [Enchant Conditions](Skills/Conditions)
### Example with All Options
```
BURNING:
Display: 'Burning'
MinLevel: 1
MaxLevel: 3
MergeCostPerLevel: 5
Rarity: COMMON
Options:
ShowInLore: TRUE
LevelAsPower: FALSE
EnchantableItems:
- DIAMOND_SWORD
- NETHERITE_SWORD
ConflictingEnchants: []
EnchantingTable:
MinExperience: 0
MaxExperience: 30
MinLevel: 1
MaxLevel: 3
Skills:
- ignite{ticks=100} @trigger ~onAttack
```
\ No newline at end of file
Clone repository

Manual

  • Home
  • Changelogs
  • Commands and Permissions
  • FAQ / Common Issues
Usage
  • Installation & Setup
  • Premade Enchantments
  • Creating Custom Enchantments
  • Enchantment Rarities
  • Enchanting Tables
Custom Enchantments
  • Enchant Mechanics
  • Enchant Targeters
  • Enchant Triggers
  • Enchant Conditions