|
## Description
|
|
## Description
|
|
Displays a "toast" message to all targeted players. Does nothing if the
|
|
Displays an advancement-like "toast" message to all targeted players. Can only affect targeted players, has no effect on non-player targets.
|
|
target is not a player.
|
|
|
|
|
|
The header of the toast is set by the frame type, such as `challenge` being titled `Challenge Complete!`.
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
## Attributes
|
... | @@ -15,6 +16,6 @@ target is not a player. |
... | @@ -15,6 +16,6 @@ target is not a player. |
|
## Examples
|
|
## Examples
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
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 Toast!";frame=challenge} @PlayersInRadius{r=10}
|
|
- ...
|
|
- ...
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |