TOAST([type],[icon],[text1],[text2],[ticks])
Displays an user-defined toast.
The following toasts are possible:
- Advancement Toast ("Advancement made!")
[type]should be"advancement"[icon]can be any item name[text1]will be displayed
- Challenge Toast ("Challenge complete!")
[type]should be"challenge"[icon]can be any item name[text1]will be displayed
- Goal Toast ("Goal reached!")
[type]should be"goal"[icon]can be any item name[text1]will be displayed
- Recipe Toast ("New Recipes Unlocked!")
[type]should be"recipe"[icon]can be any item name- No text will be displayed
- Tutorial Toast
[type]should be"tutorial"[icon]can be one of the following values"keys""mouse""tree""recipe_block""planks"
[text1]and[text2]will be displayed[ticks]specifies how long the toast will be displayed
- System Hint Toast
[type]should be"hint"[icon]should be empty[text1]and[text2]will be displayed
- System Narrator Toast
[type]should be"narrator"[icon]should be empty[text1]and[text2]will be displayed
- Remove user-defined tutorial toasts
[type]should be"clear"- if
[icon]is"all"vanilla toast will also be removed