當個創世神 (Minecraft) 命令方塊自動鋪鐵軌圖文教學

6 一月

廣告

作者:tkduduxiong

來源:我的世界中文論壇

 

  《我的世界》鋪鐵軌一支是一個讓人心煩的事情,辛辛苦苦挖到鐵做出了鐵軌還要一個一個的鋪,很多玩家都覺得很累,下面小編交給大家一個方法,讓你再也不用為鋪鐵軌累而擔憂。

  先放一個命令方塊,命令方塊上放一個按鈕

  命令方塊代碼:

  /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"}

 

廣告

發表迴響

你的電子郵件位址並不會被公開。