本帖最后由 STIM0v0 于 2019-9-28 10:10 编辑
RT,没错又是我。这次问题是:如何复制盔甲架脚下的方块到指定实体
e.g.盔甲架A脚下有混凝土块 我现在要把盔甲架A脚下的混凝土方块复制到盔甲架B那里
想了半天愣是没想出来,期待大佬的回复XD:
1.14.4
RT,没错又是我。这次问题是:如何复制盔甲架脚下的方块到指定实体
e.g.盔甲架A脚下有混凝土块 我现在要把盔甲架A脚下的混凝土方块复制到盔甲架B那里
想了半天愣是没想出来,期待大佬的回复XD:
1.14.4
先用execute把A下面的方块复制到一个点(比如0,1,0)
然后execute把那个地方的方块复制到B下面
然后execute把那个地方的方块复制到B下面
Sssss... 发表于 2019-9-28 09:23
先用execute把A下面的方块复制到一个点(比如0,1,0)
然后execute把那个地方的方块复制到B下面 ...
EMMM,可以具体点吗execute
1.12:如版本不同请汇报
复制代码
?
- execute @e[type=armor_stand,name=A] ~ ~ ~ clone ~ ~-1 ~ ~ ~-1 ~ 你想要clone至的坐标
- execute @e[type=armor_stand,name=B] ~ ~ ~ clone 盔甲架“A”clone至的坐标 盔甲架“A”clone至的坐标 ~ ~ ~
?
坑触可 发表于 2019-9-28 10:09
1.12:如版本不同请汇报
?
嗯,谢谢,但是版本是1.14.4
STIM0v0 发表于 2019-9-28 10:10
嗯,谢谢,但是版本是1.14.4
execute as @e[type=armor_stand,name=A] at @s run clone ~ ~-1 ~ ~ ~-1 ~ 你想要clone至的坐标
execute as @e[type=armor_stand,name=B] at @s run clone 盔甲架“A”clone至的坐标 盔甲架“A”clone至的坐标 ~ ~ ~
本帖最后由 Sssss... 于 2019-9-28 22:42 编辑
/execute as @e[tag=A] run clone ~ ~-1 ~ ~ ~-1 ~ 0 1 0 masked move
/execute as @e[tag=B] run clone 0 1 0 0 1 0 ~ ~-1 ~ masked move
tag设置请使用/tag指令
/execute as @e[tag=A] run clone ~ ~-1 ~ ~ ~-1 ~ 0 1 0 masked move
/execute as @e[tag=B] run clone 0 1 0 0 1 0 ~ ~-1 ~ masked move
tag设置请使用/tag指令
Sssss... 发表于 2019-9-28 22:41
/execute as @e[tag=A] run clone ~ ~-1 ~ ~ ~-1 ~ 0 1 0 masked move
/execute as @e[tag=B] run clone 0 ...
命令方块怎么摆
STIM0v0 发表于 2019-9-28 23:03
命令方块怎么摆
两条指令一先一后执行 用连锁