欢迎光临散文网 会员登陆 & 注册

我的世界 榴弹三叉戟

2023-06-18 14:09 作者:能歌擅武  | 我要投稿

榴弹三叉戟

[1个积分板]

/scoreboard objectives add 火箭筒 dummy


[第一个循环,其他全部连锁]

execute @a[hasitem={item=firework_rocket,location=slot.weapon.offhand}] ~~~ scoreboard players add @e[type=minecraft:thrown_trident,r=3,tag=!火箭筒] 火箭筒 0


tag @e[type=minecraft:thrown_trident] add 火箭筒


execute @e[type=minecraft:thrown_trident,scores={火箭筒=0..40}] ~~~ particle minecraft:camera_shoot_explosion


execute @e[type=minecraft:thrown_trident,scores={火箭筒=0..40}] ~~~ particle minecraft:basic_flame_particle


scoreboard players add @e[type=minecraft:thrown_trident,scores={火箭筒=0..}] 火箭筒 1


execute @e[type=minecraft:thrown_trident,scores={火箭筒=1}] ~~~ clear @p[hasitem={item=firework_rocket,location=slot.weapon.offhand},r=2] firework_rocket 0 1


execute @e[type=minecraft:thrown_trident,scores={火箭筒=3..39}] ~~~ execute @e[type=!item,type=!minecraft:thrown_trident,r=2] ~~~ scoreboard players set @e[type=minecraft:thrown_trident,scores={火箭筒=1..39},r=2] 火箭筒 40


tag @e[type=minecraft:thrown_trident,scores={火箭筒=3..39}] remove 墙


execute @e[type=minecraft:thrown_trident,scores={火箭筒=3..39}] ^^^0.5 detect ~ ~-0.5 ~ air 0 tag @s add 墙


scoreboard players set @e[type=minecraft:thrown_trident,tag=!墙,scores={火箭筒=3..39}] 火箭筒 40


execute @e[type=minecraft:thrown_trident,scores={火箭筒=40}] ~~~ damage @e[r=8,type=!item,type=!minecraft:thrown_trident] 70 projectile entity @s


execute @e[type=minecraft:thrown_trident,scores={火箭筒=40}] ~~~ playsound random.explode @a[r=120] ~ ~ ~


execute @e[type=minecraft:thrown_trident,scores={火箭筒=40}] ~~~ particle minecraft:dragon_death_explosion_emitter ~~~


execute @e[type=minecraft:thrown_trident,scores={火箭筒=40}] ~~~ particle minecraft:knockback_roar_particle

我的世界 榴弹三叉戟的评论 (共 条)

分享到微博请遵守国家法律