友好Creeper
请问如何将实体传送至玩家的相对位置,比如我叫P,所在的坐标为(x,y,z),如何将实体传送至(x+2,y,z+2)

纱夜
本帖最后由 阴阳师元素祭祀 于 2019-8-29 20:27 编辑

tp ~2 ~ ~2
execute at playerName run tp @e[tag=foo] ~2 ~ ~2

具体版本?

友好Creeper
用的命令方块

侧颜
友好Creeper 发表于 2019-8-29 20:35
用的命令方块

execute at 玩家ID run tp  ~2 ~ ~2

BlackCB.
1.13以下:execute P ~ ~ ~ tp 要传送的实体 ~2 ~ ~2
1.13+:execute at P run tp 要传送的实体 ~2 ~ ~2

看不见我
/tp P(玩家名字) x+2 y z+2

Enderman3133
/tp 指定实体 ~2 ~ ~2

MakesYT
tp @e[name=实体名字] ~2 ~ ~2

MinecraftPeace
本帖最后由 MinecraftPeace 于 2019-8-31 18:26 编辑

execute at P run tp 目标 ~2 ~ ~2

cy59110172
tp @e[name=实体名字] ~2 ~ ~2或execult @e[name=实体名字] ~ ~ ~tp @p ~2 ~ ~2

zlkmoll
这个指令/tp ~+2 ~ ~+2

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