怎么每次执行命令让x坐标加一
先召唤一个实体(以盔甲架为例)
复制代码
然后每次让盔甲架x坐标加一
复制代码
然后执行命令即可
复制代码
- (脉冲,执行一次)summon armor_stand ~ ~ ~
然后每次让盔甲架x坐标加一
- (高频)execute @e[type=armor_stand] ~ ~ ~ tp @e[r=1] ~1 ~ ~
然后执行命令即可
- (连锁,连接上一个方块)execute @e[type=armor_stand] ~ ~ ~ setblock ~ ~ ~ <方块>
Sssss... 发表于 2018-6-1 21:46
先召唤一个实体(以盔甲架为例)
然后每次让盔甲架x坐标加一
那方块怎么弄?
Sssss... 发表于 2018-6-1 22:10
方块就写你的方块id
比如石头就是stone
第二个和第三个好像执行不了
本帖最后由 星际要塞 于 2018-6-2 09:30 编辑
1.13预览版,18w22c
好像少了什么

Sssss... 发表于 2018-6-2 06:59
你是哪个版本?
把你执行不了的报错内容截图一下
1.13预览版,18w22c



本帖最后由 Sssss... 于 2018-6-2 12:14 编辑
那个盔甲架不需要命令方块召唤 直接按T就行
还有那个高频也可以换成脉冲+红石信号或者不需要setblock,直接fill就行
fill <初始x,y,z> <目标x,y,z> <方块> [数据值] ......
星际要塞 发表于 2018-6-2 09:17
1.13预览版,18w22c
好像少了什么
那个盔甲架不需要命令方块召唤 直接按T就行
还有那个高频也可以换成脉冲+红石信号或者不需要setblock,直接fill就行
fill <初始x,y,z> <目标x,y,z> <方块> [数据值] ......
本帖最后由 星际要塞 于 2018-6-2 23:08 编辑
好像格式改动的不仅仅这么一点

好像1.13中r=R被取消了https://minecraft-zh.gamepedia.com/%E5%91%BD%E4%BB%A4#execute
https://minecraft-zh.gamepedia.c ... 3&variant=zh-cn
Sssss... 发表于 2018-6-2 12:12
哦 1.13的execute格式和以前的不一样
要在execute 和 @之间插入run
好像格式改动的不仅仅这么一点


好像1.13中r=R被取消了https://minecraft-zh.gamepedia.com/%E5%91%BD%E4%BB%A4#execute
https://minecraft-zh.gamepedia.c ... 3&variant=zh-cn
星际要塞 发表于 2018-6-2 21:01
好像格式改动的不仅仅这么一点
好像1.13中r=R被取消了https://minecraft-zh.gamepedia.com/%E5%91%BD%E4% ...
execute @e[type=armor_stand] run tp @s ~1 ~ ~
execute @e[type=armor_stand] run setblock ~ ~ ~ 方块
上面的肯定是错的
我wiki打不开……无法访问……
第一条指令把@e[type=armor_stand] 每次 tp @s ~1 ~ ~
第二条指令execute这个@e[type=armor_stand] 每次 setblock ~ ~ ~ 方块
本帖最后由 星际要塞 于 2018-6-3 10:01 编辑
Wiki有关的设定
Sssss... 发表于 2018-6-3 08:11
execute @e[type=armor_stand] run tp @s ~1 ~ ~
execute @e[type=armor_stand] run setblock ~ ~ ~ 方 ...
Wiki有关的设定
本帖最后由 星际要塞 于 2018-6-3 10:31 编辑
over,我都弄好了
后面的坐标~1 ~ ~是第一个@e[type=armor_stand]的,后面的tp执行对象是第二个@e[type=armor_stand]的,位置是第一个@e[type=armor_stand]的坐标~1 ~ ~
1.循环/execute at @e[type=armor_stand] run tp @e[type=armor_stand] ~1 ~ ~
2.连锁/execute at @e[type=armor_stand] run setblock ~1 ~ ~ minecraft:white_stained_glass
Sssss... 发表于 2018-6-3 08:11
execute @e[type=armor_stand] run tp @s ~1 ~ ~
execute @e[type=armor_stand] run setblock ~ ~ ~ 方 ...
over,我都弄好了

后面的坐标~1 ~ ~是第一个@e[type=armor_stand]的,后面的tp执行对象是第二个@e[type=armor_stand]的,位置是第一个@e[type=armor_stand]的坐标~1 ~ ~
1.循环/execute at @e[type=armor_stand] run tp @e[type=armor_stand] ~1 ~ ~
2.连锁/execute at @e[type=armor_stand] run setblock ~1 ~ ~ minecraft:white_stained_glass
Sssss... 发表于 2018-6-3 08:11
execute @e[type=armor_stand] run tp @s ~1 ~ ~
execute @e[type=armor_stand] run setblock ~ ~ ~ 方 ...
非常感谢
这样的话都解决了吗
zuizun 发表于 2018-6-6 20:15
这样的话都解决了吗
嗯,解决了
嗯嗯嗯,很好很好233