Changes
Page history
Example message had typo, expanded description.
authored
Jul 18, 2024
by
Brickgard
Show whitespace changes
Inline
Side-by-side
skills/mechanics/sendtoast.md
View page @
d1be8fb1
## Description
Displays a "toast" message to all targeted players. Does nothing if the
target is not a player.
Displays an advancement-like "toast" message to all targeted players. Can only affect targeted players, has no effect on non-player targets.
The header of the toast is set by the frame type, such as
`challenge`
being titled
`Challenge Complete!`
.
## Attributes
...
...
@@ -15,6 +16,6 @@ target is not a player.
## Examples
```
yaml
Skills
:
-
sendtoast{icon=DIAMOND;iconnbt={CustomModelData:1};message="This is a Toat!";frame=challenge} @PlayersInRadius{r=10}
-
sendtoast{icon=DIAMOND;iconnbt={CustomModelData:1};message="This is a Toa
s
t!";frame=challenge} @PlayersInRadius{r=10}
-
...
```
\ No newline at end of file