版本1.13+知道用execute store,但是还是不会qwq
你可以使用:/execute as @e[type=armor_stand,tag=test] at @s rotated as @p run tp @s ~ ~ ~ ~ ~
例如:
execute if entity @p[y_rotation=165..179] run function sokocraft:move/north
execute if entity @p[y_rotation=-179..-165] run function sokocraft:move/north
如果不清楚如何使用execute指令,还是视频教学最容易学会
这里有Youtube中文execute 坐标矫正教学:
https://www.youtube.com/watch?v=bKtn4VWRJbU
B站的execute教学:
https://www.bilibili.com/video/av65697593/
另外1.13有datapack可以自定义盔甲架
原作者链接:https://www.planetminecraft.com/ ... 3-28-777-600-poses/
例如:
execute if entity @p[y_rotation=165..179] run function sokocraft:move/north
execute if entity @p[y_rotation=-179..-165] run function sokocraft:move/north
如果不清楚如何使用execute指令,还是视频教学最容易学会
这里有Youtube中文execute 坐标矫正教学:
https://www.youtube.com/watch?v=bKtn4VWRJbU
B站的execute教学:
https://www.bilibili.com/video/av65697593/
另外1.13有datapack可以自定义盔甲架
原作者链接:https://www.planetminecraft.com/ ... 3-28-777-600-poses/
本帖最后由 Chelover_C60 于 2020-5-15 09:01 编辑
execute rotated as @e[type=armor_stand,limit=1] run tp @s ~ ~ ~
不需要execute store
而且你想用也用不了,execute store不能修改玩家nbt(1.13~1.14可以修改背包nbt)
execute rotated as @e[type=armor_stand,limit=1] run tp @s ~ ~ ~
不需要execute store
而且你想用也用不了,execute store不能修改玩家nbt(1.13~1.14可以修改背包nbt)
本帖最后由 晴路卡 于 2020-5-15 09:42 编辑
水平朝向设置Rotation
竖直朝向设置Pose的Head
复制代码另外,国外的盔甲架编辑器,不好用!中国的盔甲架编辑器,好用!
https://www.mcbbs.net/thread-965816-1-1.html
水平朝向设置Rotation
竖直朝向设置Pose的Head
- /data modify entity @e[type=minecraft:armor_stand,limit=1,sort=nearest] Rotation[0] set from entity @p Rotation[0]
- /data modify entity @e[type=minecraft:armor_stand,limit=1,sort=nearest] Pose.Head[0] set from entity @p Rotation[1]
https://www.mcbbs.net/thread-965816-1-1.html
学到了 随便回复下做任务
晴路卡 发表于 2020-5-15 09:40
水平朝向设置Rotation
竖直朝向设置Pose的Head
另外,国外的盔甲架编辑器,不好用!中国的盔甲架编辑器,好 ...
如果我summon了个盔甲架,盔甲架头上有模型,然后我将盔甲架旋转角度tp至自己,但是模型是飞刀那种,然后刀刃位置是朝向自己的,如何让刀刃位置是朝向看的位置,头部肯定要有所偏移吧,怎么搞