... | @@ -92,4 +92,20 @@ recipes: |
... | @@ -92,4 +92,20 @@ recipes: |
|
|
|
|
|
If you want your recipe to be available only for players who are at least level X, use this: `level <required_level>`. If you want your recipe to be available only for players with specific permissions, use: `perms <perm1> <perm2> <perm3> ...`. Perm nodes must be separated using spaces.
|
|
If you want your recipe to be available only for players who are at least level X, use this: `level <required_level>`. If you want your recipe to be available only for players with specific permissions, use: `perms <perm1> <perm2> <perm3> ...`. Perm nodes must be separated using spaces.
|
|
The `hide-when-locked` recipe option only triggers when at least one of the conditions is/are not met. The recipe will still display in the GUI if the player does not have all the required ingredients. Recipe conditions display at the beginning of the GUI recipe item lore.\
|
|
The `hide-when-locked` recipe option only triggers when at least one of the conditions is/are not met. The recipe will still display in the GUI if the player does not have all the required ingredients. Recipe conditions display at the beginning of the GUI recipe item lore.\
|
|
![](https://i.imgur.com/xPwlm5B.png) |
|
![](https://i.imgur.com/xPwlm5B.png)
|
|
\ No newline at end of file |
|
|
|
|
|
## Recipe example
|
|
|
|
```
|
|
|
|
recipes:
|
|
|
|
two-handed-steel-sword:
|
|
|
|
output:
|
|
|
|
type: GREATSWORD
|
|
|
|
id: TWO_HANDED_STEEL_SWORD
|
|
|
|
amount: 1
|
|
|
|
crafting-time: 10
|
|
|
|
conditions:
|
|
|
|
- 'level 8'
|
|
|
|
ingredients:
|
|
|
|
- 'mmoitem MATERIAL STEEL_INGOT 8 Steel_Ingot'
|
|
|
|
- 'vanilla STICK . 4 Wooden_Stick'
|
|
|
|
``` |
|
|
|
\ No newline at end of file |