minecraft 1.12.2,原版,HMCL启动器;
使用下述命令,放入fill_high_shaft.mcfunction文件中,
fill ~-1 3 ~+1 ~-1 64 ~+1 mossy_cobblestone
fill ~-1 3 ~-1 ~-1 64 ~-1 mossy_cobblestone
fill ~+1 3 ~+1 ~+1 64 ~+1 mossy_cobblestone
fill ~+1 3 ~-1 ~+1 64 ~-1 mossy_cobblestone
say done
fill ~-1 3 ~ ~-1 64 ~ mossy_cobblestone
fill ~ 3 ~+1 ~ 64 ~+1 mossy_cobblestone
fill ~ 3 ~-1 ~ 64 ~-1 mossy_cobblestone
fill ~+1 3 ~ ~+1 64 ~ mossy_cobblestone
say done
执行这个脚本,本应生成8根柱子,但是却只生成了4根柱子(在4个角的位置),为什么底下的命令不执行?
当我将命令一条条手动输入的时候,都是可以正常执行的
使用下述命令,放入fill_high_shaft.mcfunction文件中,
fill ~-1 3 ~+1 ~-1 64 ~+1 mossy_cobblestone
fill ~-1 3 ~-1 ~-1 64 ~-1 mossy_cobblestone
fill ~+1 3 ~+1 ~+1 64 ~+1 mossy_cobblestone
fill ~+1 3 ~-1 ~+1 64 ~-1 mossy_cobblestone
say done
fill ~-1 3 ~ ~-1 64 ~ mossy_cobblestone
fill ~ 3 ~+1 ~ 64 ~+1 mossy_cobblestone
fill ~ 3 ~-1 ~ 64 ~-1 mossy_cobblestone
fill ~+1 3 ~ ~+1 64 ~ mossy_cobblestone
say done
执行这个脚本,本应生成8根柱子,但是却只生成了4根柱子(在4个角的位置),为什么底下的命令不执行?
当我将命令一条条手动输入的时候,都是可以正常执行的
下面四条明显多了空格啊
复制代码
- fill ~-1 3 ~+1 ~-1 64 ~+1 mossy_cobblestone
- fill ~-1 3 ~-1 ~-1 64 ~-1 mossy_cobblestone
- fill ~+1 3 ~+1 ~+1 64 ~+1 mossy_cobblestone
- fill ~+1 3 ~-1 ~+1 64 ~-1 mossy_cobblestone
- say done
- fill ~-1 3 ~ ~-1 64 ~ mossy_cobblestone
- fill ~ 3 ~+1 ~ 64 ~+1 mossy_cobblestone
- fill ~ 3 ~-1 ~ 64 ~-1 mossy_cobblestone
- fill ~+1 3 ~ ~+1 64 ~ mossy_cobblestone
- say done
第一组xyz坐标和第二组之间多了一个空格,删掉即可
所有多余的空格全部消除即可