wcw506
本帖最后由 wcw506 于 2019-5-30 18:07 编辑

有没有大神知道以下的信息写tellraw指令如何才能写出以下内容


点击here可查看菜单(点击红色here弹出以下消息)
青金石 10元/组
红石 10元/组
黑曜石 10元/组

最主要的部分是点击红色部分显示字并且能够换行

粘兽
请说明你的游戏版本。

或者你在这个网站在线编辑json消息。
在右上角language可以设置简体中文。
https://minecraftjson.com/

wcw506
粘兽sama 发表于 2019-5-30 17:42
请说明你的游戏版本。

或者你在这个网站在线编辑json消息。

1.13.2的版本

SPGoding
/tellraw @s ["",{"text":"点击"},{"text":"here","color":"red","clickEvent":{"action":"run_command","value":"/tellraw @p {\"text\":\"青金石 10元/组\\n红石 10元/组\\n黑曜石 10元/组\"}"}},{"text":"可查看菜单","color":"none"}]

wcw506
SPGoding 发表于 2019-5-30 18:18
/tellraw @s ["",{"text":"点击"},{"text":"here","color":"red","clickEvent":{"action":"run_command","v ...

这个信息能换行吗 我这个输入进去看没有换行

wcw506
SPGoding 发表于 2019-5-30 18:18
/tellraw @s ["",{"text":"点击"},{"text":"here","color":"red","clickEvent":{"action":"run_command","v ...

谢谢大佬!

第一页 上一页 下一页 最后一页