どうも、毎日投稿クリーパーです。今回は鬼滅が激アツなので産屋敷ボンバーを作ってみました。
産屋敷ボンバー
~チャットで打つ~
/gamerule commandblockoutput false
/scoreboard objectives add bonba dummy
~リピート 無条件 常時実行~
/scoreboard players add @e[type=armor_stand,name=preubu] bonba 1
~チェーン 無条件 常時実行~
/execute as @e[type=armor_stand,name=preubu,scores={bonba=1}] at @s run tp @s ~ ~1000 ~
/execute as @e[type=armor_stand,name=preubu,scores={bonba=1..}] at @s run tp @s ~ ~ ~
/execute as @e[type=armor_stand,name=preubu,scores={bonba=1..20}] at @s run particle minecraft:misc_fire_vapor_particle ~ ~-1000 ~
/execute as @e[type=armor_stand,name=preubu,scores={bonba=21..40}] at @s run particle minecraft:dragon_destroy_block ~ ~-1000 ~
/execute as @e[type=armor_stand,name=preubu,scores={bonba=41..60}] at @s run particle minecraft:knockback_roar_particle ~ ~-1000 ~
/execute as @e[type=armor_stand,name=preubu,scores={bonba=60}] at @s run summon armor_stand ubu ~ ~ ~
/execute as @e[type=armor_stand,name=preubu,scores={bonba=60}] at @s run summon armor_stand ubu ~ ~10 ~
/execute as @e[type=armor_stand,name=preubu,scores={bonba=60}] at @s run summon armor_stand ubu ~ ~20 ~
~ここから~
/execute as @e[type=armor_stand,name=ubu] at @s run summon armor_stand yasiki ^ ^ ^1
/execute as @e[type=armor_stand,name=ubu] at @s run tp @s ~ ~ ~ ~60
~ここまで×6~
/scoreboard players add @e[type=armor_stand,name=yasiki] bonba 1
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=1}] at @s run tp @s ~ ~ ~ facing @e[type=armor_stand,name=ubu,c=1]
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=1..}] at @s positioned ~ ~-1000 ~ unless block ^ ^ ^-1 air run kill @s
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=1..}] at @s positioned ~ ~-1000 ~ if block ^ ^ ^-1 air run summon ender_crystal ~~~~~ minecraft:crystal_explode
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=1..3}] at @s run tp @s ~ ~ ~ ~60
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=4..10}] at @s run tp @s ~ ~ ~ ~20
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=11..20}] at @s run tp @s ~ ~ ~ ~10
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=21..32}] at @s run tp @s ~ ~ ~ ~8
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=33..40}] at @s run tp @s ~ ~ ~ ~6
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=41..60}] at @s run tp @s ~ ~ ~ ~3
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=1..}] at @s positioned ~ ~-1000 ~ if block ^ ^ ^-1 air positioned ~ ~1000 ~ run tp @s ^ ^ ^-1
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=1..}] at @s positioned ~ ~-1000 ~ if block ^ ^ ^-1 air positioned ~ ~1000 ~ run tp @s ^ ^ ^-1
/execute as @e[type=armor_stand,name=yasiki,scores={bonba=1..}] at @s positioned ~ ~-1000 ~ if block ^ ^ ^-1 air positioned ~ ~1000 ~ run tp @s ^ ^ ^-1
/kill @e[type=armor_stand,name=yasiki,scores={bonba=60..}]
/kill @e[type=armor_stand,name=preubu,scores={bonba=60..}]
/kill @e[type=armor_stand,name=ubu]