我們需要
指令部分:
1
/testfor @e[type=Arrow,c=1] {inGround:1b}
探測箭落在地上
2
/execute @e[type=Arrow,c=1] ~ ~ ~ detect ~ ~ ~ air 0 summon tnt ~ ~ ~{ExplosionRadius:2,Fuse:-1}
生成爆炸的
(晚上的時候,骷髏會給你驚喜~~~)
3
/execute @e[type=Arrow,c=1] ~ ~ ~ detect ~ ~ ~ air 0 kill @e[type=Arrow]
清理掉落的箭
(可有可無)