... | @@ -83,18 +83,18 @@ example_enchant: |
... | @@ -83,18 +83,18 @@ example_enchant: |
|
```
|
|
```
|
|
|
|
|
|
### AnvilCost
|
|
### 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
|
|
```yaml
|
|
example_enchant:
|
|
example_enchant:
|
|
Display: "<red>Burning</red>"
|
|
Display: "<red>Burning</red>"
|
|
MaxLevel: 3
|
|
MaxLevel: 3
|
|
Weight: 200
|
|
Weight: 200
|
|
MinCost:
|
|
MinCost:
|
|
Base: 1 # The cost at enchantment level 1
|
|
Base: 1
|
|
AdditionalPerLevelCost: 0 # Added to the base cost per level over 1
|
|
AdditionalPerLevelCost: 0
|
|
MaxCost:
|
|
MaxCost:
|
|
Base: 3 # The cost at enchantment level 1
|
|
Base: 3
|
|
AdditionalPerLevelCost: 4 # Added to the base cost per level over 1
|
|
AdditionalPerLevelCost: 4
|
|
AnvilCost: 3
|
|
AnvilCost: 3
|
|
```
|
|
```
|
|
|
|
|
... | | ... | |