我的世界命令方块自动造铁轨教程 自动装饰
这个教程教大家如何使用命令方块自动造铁轨,还能清除障碍物,然后装饰一番,是不是很帅气,快来看看吧。
缺点是:有时可能会失败,需要特殊位置摆放,而且只能朝着一个方向造轨,如果造轨太长,造轨机会坏掉。
命令如下:
/summon MinecartCommandBlock ~ ~ ~2 {Command:"setblock ~ ~-1 ~2 minecraft:redstone_block 0 replace",Riding:{id:MinecartCommandBlock,Command:"setblock ~ ~ ~2 minecraft:activator_rail 0 replace",Riding:{id:MinecartCommandBlock,Command:"/fill ~ ~-2 ~ ~ ~-30 ~-1 minecraft:log 0 replace",Riding:{id:MinecartCommandBlock,Command:"/fill ~ ~1 ~ ~ ~10 ~ minecraft:air 0 replace",Riding:{id:MinecartCommandBlock,Command:"/fill ~1 ~1 ~ ~1 ~-1 ~ minecraft:glowstone 0 replace",Riding:{id:MinecartCommandBlock,Command:"/fill ~-1 ~1 ~ ~-1 ~-1 ~ minecraft:glowstone 0 replace",Riding:{id:MinecartCommandBlock,Command:"/setblock ~ ~ ~-1 minecraft:golden_rail",Riding:{id:MinecartCommandBlock,Command:"/fill ~1 ~-2 ~ ~1 ~-30 ~ minecraft:quartz_block 0 replace",Riding:{id:MinecartCommandBlock,Command:"/fill ~-1 ~-2 ~ ~-1 ~-30 ~ minecraft:quartz_block 0 replace"}}}}}}}}}
要把命令方块放在这样一个位置
而且底下放一个红石块进行激活即可
(PS:激活时,造轨机在命令方块左边第二个轨道上)
看得懂指令的可以自行修改
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------