我的世界引线炸弹怎么做 我的世界用吊杆做炸弹方法
手里拿一个吊杆,右键丢出。
再次右键收回时,会在刚刚吊钩的地点引爆炸弹。
这是如何做到的呢?
首先把你的游戏语言调整为英文
创建两个记分板:
/scoreboard objectives add FX dummy FX
/scoreboard objectives add FX2 dummy FX2
然后循环执行下列指令:
/execute @e[name=unknown,type=!Player] ~ ~ ~ /summon Small_Fireball ~ ~ ~ {direction:[0.0,0.0,0.0]}
/scoreboard players add @e[type=Small_Fireball] FX 1
/scoreboard players add @e[type=Small_Fireball] FX2 1
/kill @e[type=Small_Fireball,score_FX_min=3]
/execute @e[name=unknown] ~ ~ ~ /scoreboard players set @e[type=Small_Fireball,r=2] FX2 0
/execute @e[type=Small_Fireball,score_FX2_min=2] ~ ~ ~ /summon Creeper ~ ~ ~ {ExplosionRadius:2,Fuse:-1,ActiveEffects:[{Id:14,Duration:0}],CustomName:炸弹}
各个版本实体名称略有差别,自行更改。