我想将一个实体传送到与玩家相同的高度,但该实体应保持其x和z位置。正在将实体传送到玩家面对的地方
execute as @p at @s run tp @e[type=minecraft:armor_stand] ^ ^ ^3
所以我希望装甲支架保持在玩家的身高上
1.13+:tp @e [type = entitytype] X〜Z(〜用于您所在的位置)
低于1.13:tp @e [type = entity] X〜Z(〜用于您所在的位置)