... | @@ -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
|
... | | ... | |