message
如果目标是玩家,则向目标发送聊天消息。在这个机制中可以使用颜色代码和变量。
- 现在允许格式中的十六进制颜色
<#FFFFFF> - 现在支持格式中的渐变
<gradient:#color1:#color2>text</gradient> - 现在支持
<rainbow>text</rainbow> - 现在支持格式中的悬停文本
<hover:show_text:'hover text??'>hover over me!</hover> - 现在支持格式中的可点击文本
<click:run_command:/say hello>click me!</click>
属性
| 属性 | 缩写 | 描述 | 默认值 |
| message | msg,m | 要发送的消息。 | |
| audience | 消息的接收者:caster, target, world | ||
例子
Skills: - message{m="<mob.name>&f<&co> Hahaha! You will all die!"} @PlayersInRadius{r=30}