《我的世界》自动建造围墙可以节省大量时间,相信很多玩家都想知道具体怎么做。今天小编就为大家带来“MCSugar_cane”提供的自动建造围墙图文教程,感兴趣的玩家一起来看看吧。
教程:
很简单的,你看一遍ooc就应该能懂,Build线就是放下Build之后创建四个实体testb1,testb2,testb3,testb4,然后把他们向四个方向不断tp,然后我用testb1来列举
这是距离到了没检测到Build点和Build线头
- scoreboard players add @e[type=ArmorStand,name=testb1] faceb 0
- execute @e[type=ArmorStand,score_faceb_min=0,score_faceb=0] ~ ~ ~ fill ~ ~ ~ ~ ~ ~ stained_glass 5 replace air
- scoreboard players set @e[type=ArmorStand,score_faceb_min=0,score_faceb=0,score_BuildTimer_min=100] faceb 3
- execute @e[type=ArmorStand,score_faceb_min=3,score_faceb=3] ~ ~ ~ tellraw @a {text:"[MCSugar_cane] ",color:dark_green,bold:true,extra:[{text:" 探测到Build线附近没有Build存在,执行回滚操作",color:red,bold:true}]}
- scoreboard players set @e[type=ArmorStand,score_faceb_min=3,score_faceb=3] facebb 1
- scoreboard players set @e[type=ArmorStand,score_faceb_min=3,score_faceb=3] faceb 2
这是中途有障碍回撤
- scoreboard players set @e[typr=ArmorStand,score_testblock_min=1,score_faceb_min=0,score_faceb=0] faceb 1
- scoreboard players set @e[type=ArmorStand,score_faceb_min=0,score_faceb=0] testblock 1
- ------
- execute @e[type=ArmorStand,name=testb1,score_faceb_min=0,score_faceb=0] ~ ~ ~ detect ~-1 ~ ~ minecraft:air 0 /scoreboard players set @e[type=ArmorStand,score_faceb_min=0,score_faceb=0,c=1] testblock 0
- execute @e[type=ArmorStand,name=testb2,score_faceb_min=0,score_faceb=0] ~ ~ ~ detect ~1 ~ ~ minecraft:air 0 /scoreboard players set @e[type=ArmorStand,score_faceb_min=0,score_faceb=0,c=1] testblock 0
- execute @e[type=ArmorStand,name=testb3,score_faceb_min=0,score_faceb=0] ~ ~ ~ detect ~ ~ ~-1 minecraft:air 0 /scoreboard players set @e[type=ArmorStand,score_faceb_min=0,score_faceb=0,c=1] testblock 0
- execute @e[type=ArmorStand,name=testb4,score_faceb_min=0,score_faceb=0] ~ ~ ~ detect ~ ~ ~1 minecraft:air 0 /scoreboard players set @e[type=ArmorStand,score_faceb_min=0,score_faceb=0,c=1] testblock 0
- ------
- execute @e[type=ArmorStand,score_faceb_min=1,score_faceb=1] ~ ~ ~ tellraw @a {text:"[MCSugar_cane] ",color:dark_green,bold:true,extra:[{text:" 探测到有障碍,执行回滚操作",color:red,bold:true}]}
- scoreboard players set @e[type=ArmorStand,score_faceb_min=1,score_faceb=1] facebb 1
- scoreboard players set @e[type=ArmorStand,score_faceb_min=1,score_faceb=1] faceb 2
回撤就很简单了,tp相反位置,然后将stained_glass替换为air
可自定义围墙样式,大小,支持多连接,可多位置同时summon...等等骚操作
首先,将指令全部复制,粘贴(Ctrl+V)在一个命令方块里,然后激活
然后在任意位置建造围墙,建议在水晶灯处建造,建造之后用你围墙的最低至最高的xyz填写进两个羊毛处的cb里xyzdxdydz位置,然后右击获取道具牌子,即可获得三个物品 Replace Build Remove
Replace:使用之后会出现1x 1z的单墙
Build:使用之后红色点是Build点,绿色为Build线,Build线碰到障碍会回潮操作,Build线最长延伸40格左右,当Build线碰到Build点,Build线头碰到Build线头时,会自动回潮操作并建造围墙。
Remove:放在Build点附近即可消除Build点。
以上就是具体教程介绍,希望能对各位玩家有所帮助!
19游戏网整理报道