Small_Miao
我想使用命令方块 来获取玩家坐标 并且通过tellraw 发送出去 但是不知道能不能实现(

纱夜
版本?

Small_Miao

1.14.4 版本  = =

Jokey_钥匙
本帖最后由 467440721 于 2019-8-24 13:48 编辑

单独获取坐标
/data get @s Pos
如果用tellraw发送消息
/tellraw @a {"entity":"@s","nbt":"Pos"}




Small_Miao
467440721 发表于 2019-8-24 13:46
单独获取坐标
/data get @s Pos
如果用tellraw发送消息

关于取小数点位呢= =

Jokey_钥匙
7649102 发表于 2019-8-24 13:49
关于取小数点位呢= =

那就有点复杂了
你确定要知道?

Small_Miao
467440721 发表于 2019-8-24 13:49
那就有点复杂了
你确定要知道?

嗯 确定要知道 = =

纱夜
7649102 发表于 2019-8-24 13:51
嗯 确定要知道 = =

/execute store result score x <sb> run data get entity player Pos[0]
/execute store result score y <sb> run data get entity player Pos[1]
/execute store result score z <sb> run data get entity player Pos[2]
然后tellraw x y z分数即可