... | ... | @@ -67,18 +67,19 @@ example_enchant: |
|
|
```
|
|
|
|
|
|
### MinCost and MaxCost
|
|
|
Sets the minimum cost for this enchantment in Enchanting Table.
|
|
|
Sets the minimum or maximun XP cost for this enchantment in Enchanting Table.
|
|
|
The final cost is calculated using the formula `base + additionalPerLevel * (level - 1)`.
|
|
|
```yaml
|
|
|
example_enchant:
|
|
|
Display: "<red>Burning</red>"
|
|
|
MaxLevel: 3
|
|
|
Weight: 200
|
|
|
MinCost:
|
|
|
Base: 1 # The cost at enchantment level 1
|
|
|
AdditionalPerLevelCost: 0 # Added to the base cost per level over 1
|
|
|
Base: 10
|
|
|
AdditionalPerLevelCost: 5
|
|
|
MaxCost:
|
|
|
Base: 3 # The cost at enchantment level 1
|
|
|
AdditionalPerLevelCost: 4 # Added to the base cost per level over 1
|
|
|
Base: 20
|
|
|
AdditionalPerLevelCost: 5
|
|
|
```
|
|
|
|
|
|
### AnvilCost
|
... | ... | |