我的世界命令方塊教程如何制作一個黑洞
小編為大家?guī)砹恕段业氖澜纭访罘綁K教程如何制作一個黑洞,黑洞在我的世界游戲中名不存在,但是玩家可以利用一些命令,加上命令方塊的執(zhí)行就可以人工的制造出一個黑洞來,有興趣的玩家都來看看吧。
黑洞的功能:
1.吸人和吸生物
2.炸人和炸生物
3.直接秒殺靠得太近的人和生物
指令在此!
/execute @e[type=ArmorStand,score_blackhole_min=1,score_blackhole=1] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~1 ~1 end_gateway 0 outline {Age:1000}
execute @e[type=ArmorStand,score_blackhole_min=40] ~ ~ ~ execute @e[type=!ArmorStand,r=3] ~ ~ ~ summon PrimedTnt
/scoreboard players add @e[type=ArmorStand] blackhole 1 {CustomName:"Black Hole"}
/execute @e[type=ArmorStand,score_blackhole_min=40] ~ ~ ~ effect @a[r=15,dx=-15,dy=-15,dz=15,type=!ArmorStand] levitation 1 1 true
/execute @e[type=ArmorStand,score_blackhole_min=40] ~ ~ ~ effect @a[r=15,dx=15,dy=-15,dz=15,type=!ArmorStand] levitation 1 1 true
/execute @e[type=ArmorStand,score_blackhole_min=40] ~ ~ ~ effect @a[r=15,dx=15,dy=-15,dz=-15,type=!ArmorStand] levitation 1 1 true
/execute @e[type=ArmorStand,score_blackhole_min=40] ~ ~ ~ effect @a[r=15,dx=-15,dy=-15,dz=-15,type=!ArmorStand] levitation 1 1 true
/scoreboard players set @e[type=Creeper] blackhole 1 {CustomName:"Black Hole"}
/execute @e[type=Creeper,score_blackhole_min=1] ~ ~ ~ summon ArmorStand ~ ~10 ~ {Invulnerable:1,NoGravity:1b,DisabledSlots:2147483647,CustomName:"Black Hole"}
/kill @e[type=Creeper,score_blackhole_min=1]
復制代碼
/scoreboard objectives add blackhole dummy
復制代碼
添加一個叫blackhole(黑洞)的計分板
/scoreboard players set @e[type=Creeper] blackhole 1 {CustomName:"Black Hole"}
復制代碼
先把名字叫Black Hole的苦力怕的blackhole的分數(shù)設(shè)為1,然后干掉它
/execute @e[type=Creeper,score_blackhole_min=1] ~ ~ ~ summon ArmorStand ~ ~10 ~ {Invulnerable:1,NoGravity:1b,DisabledSlots:2147483647,CustomName:"Black Hole"}/scoreboard players add @e[type=ArmorStand] blackhole 1 {CustomName:"Black Hole"}
復制代碼
在blackhole分數(shù)為1的苦力怕上面10格刷一個叫Black Hole的無敵的不可編輯的無重力的盔甲架并且不停地給它的blackhole分數(shù)加1
/execute @e[type=ArmorStand,score_blackhole_min=1,score_blackhole=1] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~1 ~1 end_gateway 0 outline {Age:1000}
復制代碼
在黑洞盔甲架那刷end gateway裝飾
execute @e[type=ArmorStand,score_blackhole_min=40] ~ ~ ~ execute @e[type=!ArmorStand,r=3] ~ ~ ~ summon PrimedTn
復制代碼
在blackhole分數(shù)至少為40的黑洞盔甲架周圍半徑為3的除盔甲架以外的實體那刷TNT把它們直接炸飛呵呵
/execute @e[type=ArmorStand,score_blackhole_min=40] ~ ~ ~ effect @a[r=15,dx=-15,dy=-15,dz=15,type=!ArmorStand] levitation 1 1 true
/execute @e[type=ArmorStand,score_blackhole_min=40] ~ ~ ~ effect @a[r=15,dx=15,dy=-15,dz=15,type=!ArmorStand] levitation 1 1 true
復制代碼
給旁邊的人1秒的失重效果讓他們往黑洞那里飄讓哥帶你裝逼帶你飛~~~
(上面的黑條上面都沒寫)
/execute @e[type=ArmorStand,score_blackhole_min=40] ~ ~ ~ entitydata @e[r=15,dx=15,dy=15,dz=15] {Motion:[-0.1,-0.1,-0.1]}
復制代碼
修改周圍實體的Motion屬性讓它們往黑洞那里飛
話說寫這個數(shù)字花了我好久......看在我這么努力的份上就給我點人氣和金粒吧~~~
/execute @e[type=ArmorStand,score_blackhole_min=1] ~ ~ ~ tp @e[r=3] @e[c=1]
復制代碼
把盔甲架周圍半徑3格之內(nèi)的實體tp到黑洞盔甲架那并干掉它們。
支持( 0 ) 蓋樓(回復)
查看所有0條評論>>