在我的世界游戏当中各位玩家们可以利用命令方块可以制作各种物体,那怎么自动建造铁轨呢?红石怎么自动化呢?那么接下来就由小编给各位玩家们带来了我的世界红石自动化以及自动建造铁轨攻略介绍。
我的世界红石自动化自动建筑铁轨介绍
命令方块的玩法也是比较好玩的,可以通过命令来创造世界。先放一个命令方块,命令方块上放一个按钮
命令方块代码
/summon MinecartCommandBlock ~-1 ~ ~ {Riding:{id:"MinecartCommandBlock",Riding:{id:"MinecartCommandBlock",Riding:{id:"MinecartCommandBlock",Command:"/setblock ~-1 ~1 ~ 0 0 destroy"},Command:"/setblock ~-1 ~ ~ 0 0 destroy"},Command:"/setblock ~-1 ~-2 ~ 152 0 replace"},Command:"/setblock ~-1 ~-1 ~ 157 0 replace"}
在命令方块的W方向 放一块红石,红石上方放一个激活铁轨。
再右击按钮激活命令方块
激活后会出现命令矿车,推一下命令矿车试试。
4个方向不同的代码(往哪个方向挖就用哪个方向的代码)
1、W方向:/summon MinecartCommandBlock ~-1 ~ ~ {Riding:{id:"MinecartCommandBlock",Riding:{id:"MinecartCommandBlock",Riding:{id:"MinecartCommandBlock",Command:"/setblock ~-1 ~1 ~ 0 0 destroy"},Command:"/setblock ~-1 ~ ~ 0 0 destroy"},Command:"/setblock ~-1 ~-2 ~ 152 0 replace"},Command:"/setblock ~-1 ~-1 ~ 157 0 replace"}
2、S方向:/summon MinecartCommandBlock ~ ~ ~1 {Riding:{id:"MinecartCommandBlock",Riding:{id:"MinecartCommandBlock",Riding:{id:"MinecartCommandBlock",Command:"/setblock ~ ~1 ~1 0 0 destroy"},Command:"/setblock ~ ~ ~1 0 0 destroy"},Command:"/setblock ~ ~-2 ~1 152 0 replace"},Command:"/setblock ~ ~-1 ~1 157 0 replace"}
3、E方向:/summon MinecartCommandBlock ~1 ~ ~ {Riding:{id:"MinecartCommandBlock",Riding:{id:"MinecartCommandBlock",Riding:{id:"MinecartCommandBlock",Command:"/setblock ~1 ~1 ~ 0 0 destroy"},Command:"/setblock ~1 ~ ~ 0 0 destroy"},Command:"/setblock ~1 ~-2 ~ 152 0 replace"},Command:"/setblock ~1 ~-1 ~ 157 0 replace"}
4、N方向:/summon MinecartCommandBlock ~ ~ ~-1 {Riding:{id:"MinecartCommandBlock",Riding:{id:"MinecartCommandBlock",Riding:{id:"MinecartCommandBlock",Command:"/setblock ~ ~1 ~-1 0 0 destroy"},Command:"/setblock ~ ~ ~-1 0 0 destroy"},Command:"/setblock ~ ~-2 ~-1 152 0 replace"},Command:"/setblock ~ ~-1 ~-1 157 0 replace"}