|
|
Recipe triggers are recipe options which do not display in the recipe GUI item. They dictate actions which are performed when the recipe is used by a player. Currently, there is no default triggers but you can add some using an addon.
|
|
|
```
|
|
|
recipes:
|
|
|
steel-sword:
|
|
|
....
|
|
|
triggers:
|
|
|
- 'exp{profession=smithing,amount=5}'
|
|
|
```
|
|
|
|
|
|
|
|
|
== Available Trigger Types
|
|
|
| Trigger | Description | Format/Example |
|
|
|
| message | Sends a message to the player. | {{{message{format="&aYour message here... "}}}} |
|
|
|
| command | Makes the console perform a command. | {{{command{format="tellraw @a {"text":"Hello!"}"}}}} |
|
|
|
| experience | Makes the console perform a command. | {{{exp{profession=<PROFESSION>;amount=<AMOUNT>}}}} |
|
|
|
| sound | Broadcasts a sound to the player. | {{{sound{sound=<SOUND_NAME>;volume=<VOLUME>;pitch=<PITCH>}}}} | |
|
|
\ No newline at end of file |