2026-07-27 10:59:36

使用/execute和/tellraw命令显示坐标

可以使用以下指令在聊天栏显示玩家的坐标:

/execute as @p at @s run tellraw @s {"text":"坐标:","color":"gold","extra":[{"selector":"@s"}]}。

这条指令会显示当前玩家的坐标。