... | @@ -87,3 +87,44 @@ perm-effect: |
... | @@ -87,3 +87,44 @@ perm-effect: |
|
# That format works too
|
|
# That format works too
|
|
haste: 3
|
|
haste: 3
|
|
```
|
|
```
|
|
|
|
|
|
|
|
## Enchantments
|
|
|
|
An enchantment is defined by an enchant type and a level. Use this format:
|
|
|
|
```
|
|
|
|
enchants:
|
|
|
|
efficiency:
|
|
|
|
base: 1
|
|
|
|
# There is no Efficiency 1.3, but that means that every
|
|
|
|
# 10 levels, the item will have an extra efficiency
|
|
|
|
# enchant level! This can also be used with potion effect levels.
|
|
|
|
scale: .1
|
|
|
|
# That format still works because an enchant level is a numeric value
|
|
|
|
sharpness: 10
|
|
|
|
```
|
|
|
|
|
|
|
|
## Item Elemental Stats
|
|
|
|
```
|
|
|
|
element:
|
|
|
|
fire:
|
|
|
|
defense:
|
|
|
|
base: 10
|
|
|
|
scale: 3
|
|
|
|
# That format still works!
|
|
|
|
damage: 10
|
|
|
|
water:
|
|
|
|
defense: 50
|
|
|
|
```
|
|
|
|
|
|
|
|
## Consumable Restore Power
|
|
|
|
Restore power defines how much health, food and saturation a consumable restores when used.
|
|
|
|
```
|
|
|
|
restore:
|
|
|
|
health:
|
|
|
|
base: 3
|
|
|
|
scale: 2
|
|
|
|
spread: .3
|
|
|
|
max-spread: .5
|
|
|
|
# You could use a complex formula for food, or just use this format
|
|
|
|
food: 5
|
|
|
|
saturation: 3
|
|
|
|
``` |
|
|
|
\ No newline at end of file |