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
    • Skills
  • Triggers

Triggers · Changes

Page history
Added hyperlinks authored Dec 04, 2023 by RazielMartelus96's avatar RazielMartelus96
Hide whitespace changes
Inline Side-by-side
Showing with 6 additions and 1 deletion
+6 -1
  • Skills/Triggers.md Skills/Triggers.md +6 -1
  • No files found.
Skills/Triggers.md
View page @ b5237abb
......@@ -38,9 +38,14 @@ Custom Enchantments support all triggers that generally make sense, and also add
Enchanted Item Triggers
--------------
Custom Enchantments also support 2 new triggers related to Enchanted Armor.
| Trigger | When it fires… |
|----------------|--------------------------------------------------------------------------------|
| [onEnchantedEquip](#onenchantedequip) | When the player breaks a block
| [onEnchantedUnEquip](#onenchantedunequip) | When the player hits another entity |
#### ~onEnchantedEquip
Executes the skill when a piece of Armor enchanted with the custom enchantment is equipped by the player.
```yml
......
Clone repository

Manual

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