我的世界命令方块教程自动铺铁轨挖矿机制作
小编为大家带来了《我的世界》命令方块教程自动铺铁轨挖矿机制作,命令方块的玩法也是比较好玩的,可以通过命令来创造世界,这个教程为大家介绍自动铺铁轨挖矿机制作方法,以后再也不用自己挖坑了。
先放一个命令方块,命令方块上放一个按钮
命令方块代码:
/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个方向不同的代码(往哪个方向挖就用哪个方向的代码):
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"}
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"}
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"}
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"}
以上就是自动铺铁轨挖矿机制作教程 再也不用自己挖坑了。
查看所有1条评论>>