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
    • Mechanics
  • EnchantItem

Last edited by Amy May 10, 2024
Page history
This is an old version of this page. You can view the most recent version or browse the history.

EnchantItem

Mechanic: EnchantItem

Applies an enchantment to an item.

A list of available vanilla enchantments can be found on spigot javadocs

Attributes

Attribute Aliases Description Default Value
enchantment enchant, e The name of the enchant, can be a MythicEnchant or Vanilla enchant. none
level l The level of the enchant. none

Examples

This example if put on an item (Requires Crucible) would enchant the item with Sharpness 5 when you right click the item and Venomous 3 when you left click the item.

  Skills:
  - enchantitem{enchant=DAMAGE_ALL;level=5} @self ~onUse
  - enchantitem{enchant=VENOUMOUS;level=3} @self ~onSwing
Clone repository

Manual

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