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
Update Custom Enchantments authored Nov 30, 2024 by Phillip's avatar Phillip
Show whitespace changes
Inline Side-by-side
Showing with 6 additions and 7 deletions
+6 -7
  • Custom-Enchantments.md Custom-Enchantments.md +6 -7
  • No files found.
Custom-Enchantments.md
View page @ 381e0f1f
...@@ -36,7 +36,7 @@ When creating an enchantment these are the settings you can use. ...@@ -36,7 +36,7 @@ When creating an enchantment these are the settings you can use.
### Internal Name ### Internal Name
This string will be how your enchant will be referenced internally in MythicEnchants and can be any name you like. This string will be how your enchant will be referenced internally in MythicEnchants and can be any name you like.
Must be a unique name and does not clash with other MythicEnchant names, **NO SPACES ALLOWED** Must be a unique name and does not clash with other MythicEnchant names, **NO SPACES ALLOWED**. The name will be lowercased by convention.
```yaml ```yaml
example_enchant: example_enchant:
``` ```
...@@ -49,7 +49,7 @@ example_enchant: ...@@ -49,7 +49,7 @@ example_enchant:
``` ```
### MaxLevel ### MaxLevel
The maximum level your enchantment can be. The maximum level your enchantment can be. The value must be between 1 and 255 (inclusive).
Defaults to `1`. Defaults to `1`.
```yaml ```yaml
example_enchant: example_enchant:
...@@ -67,8 +67,8 @@ example_enchant: ...@@ -67,8 +67,8 @@ example_enchant:
``` ```
### MinCost and MaxCost ### MinCost and MaxCost
Sets the minimum or maximun XP cost for this enchantment in Enchanting Table. Sets the minimum or maximun XP cost for this ennchantment when offered on the Enchanting Table.
The final cost is calculated using the formula `base + additionalPerLevel * (level - 1)`. The final cost is calculated using the formula `base + additionalPerLevel * (enchantLevel - 1)`.
```yaml ```yaml
example_enchant: example_enchant:
Display: "<red>Burning</red>" Display: "<red>Burning</red>"
...@@ -109,9 +109,7 @@ EXAMPLE_NAME: ...@@ -109,9 +109,7 @@ EXAMPLE_NAME:
``` ```
--> -->
### Options ### Options
This is a special field which comes with numerous sub-options, like determining if the mob should despawn, This is a special field which comes with numerous sub-options, like determining if the enchant should be offered in the enchanting table, if the enchant should be generated in random loots, and many more. A list of available enchant options can be found in the [Enchantment Options](/Options) page
setting knockback resistance, follow range, movement speed and many more.
A list of available mob options can be found in the [Enchantment Options](/Options) page
```yaml ```yaml
example_enchant: example_enchant:
Display: "<red>Burning</red>" Display: "<red>Burning</red>"
...@@ -129,6 +127,7 @@ example_enchant: ...@@ -129,6 +127,7 @@ example_enchant:
MaxLevel: 3 MaxLevel: 3
ValidSlots: ValidSlots:
- mainhand - mainhand
- offhand
``` ```
### SupportedItems ### SupportedItems
......
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