... | ... | @@ -83,18 +83,18 @@ example_enchant: |
|
|
```
|
|
|
|
|
|
### AnvilCost
|
|
|
Sets the cost when applying this enchantment when using an anvil. The cost is halved when using a book, and the final cost is multiplied by the enchantment's level.
|
|
|
Sets the XP cost when using an anvil to enchant an item. The cost is halved when using a book, and the final cost is multiplied by the enchantment's level.
|
|
|
```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: 1
|
|
|
AdditionalPerLevelCost: 0
|
|
|
MaxCost:
|
|
|
Base: 3 # The cost at enchantment level 1
|
|
|
AdditionalPerLevelCost: 4 # Added to the base cost per level over 1
|
|
|
Base: 3
|
|
|
AdditionalPerLevelCost: 4
|
|
|
AnvilCost: 3
|
|
|
```
|
|
|
|
... | ... | |