1番最初→反復 無条件 常にアクティブ それ以外→ チェーン 無条件 常にアクティブ すべて一列につなげる すべて同じ向きにする 多分functionでも使える コピペ用 ⇩ /scoreboard objectives add sonic_boom_1 dummy /execute as @a[hasitem={item=echo_shard,location=slot.weapon.mainhand}] at @s unless entity @e[r=3,type=armor_stand,name=sonic] run summon armor_stand sonic ~ ~ ~ /execute as @a[hasitem={item=echo_shard,location=slot.weapon.mainhand}] at @s run tp @e[r=3,type=armor_stand,name=sonic] ^ ^1 ^1 facing @s[c=1] /execute as @e[type=armor_stand,name=sonic,hasitem={item=echo_shard,location=slot.weapon.mainhand}] at @s run summon boat ~ ~ ~ /execute as @e[type=armor_stand,name=sonic] at @s run tag @e[type=boat,r=2] add sonic_boom /scoreboard players add @e[tag=sonic_boom] sonic_boom_1 1 /execute as @e[scores={sonic_boom_1=1}] at @s run playsound mob.warden.sonic_boom @a ~ ~ ~ /execute as @e[scores={sonic_boom_1=1}] at @s run tp @s ~ ~ ~ facing @p /execute as @e[scores={sonic_boom_1=2}] at @s run tp @s ~ ~100 ~ /execute as @e[scores={sonic_boom_1=3..}] at @s run tp @s ^ ^-0.5 ^-1 /execute as @e[scores={sonic_boom_1=3..}] at @s run particle minecraft:sonic_explosion ~ ~-100 ~ /execute as @e[scores={sonic_boom_1=3..}] at @s positioned ~ ~-100 ~ run damage @e[r=1.5] 10 /kill @e[scores={sonic_boom_1=40..}] /replaceitem entity @e[type=armor_stand,name=sonic] slot.weapon.mainhand 0 air /execute as @e[type=armor_stand,name=sonic] at @s unless entity @p[hasitem={item=echo_shard,location=slot.weapon.mainhand},r=3] run kill @s /effect @e[type=armor_stand,name=sonic] invisibility 1 1 true /playanimation @e[type=armor_stand,name=sonic] animation.creeper.swelling a 10
1番最初→反復 無条件 常にアクティブ
それ以外→ チェーン 無条件 常にアクティブ
すべて一列につなげる
すべて同じ向きにする
多分functionでも使える
コピペ用
⇩
/scoreboard objectives add sonic_boom_1 dummy
/execute as @a[hasitem={item=echo_shard,location=slot.weapon.mainhand}] at @s unless entity @e[r=3,type=armor_stand,name=sonic] run summon armor_stand sonic ~ ~ ~
/execute as @a[hasitem={item=echo_shard,location=slot.weapon.mainhand}] at @s run tp @e[r=3,type=armor_stand,name=sonic] ^ ^1 ^1 facing @s[c=1]
/execute as @e[type=armor_stand,name=sonic,hasitem={item=echo_shard,location=slot.weapon.mainhand}] at @s run summon boat ~ ~ ~
/execute as @e[type=armor_stand,name=sonic] at @s run tag @e[type=boat,r=2] add sonic_boom
/scoreboard players add @e[tag=sonic_boom] sonic_boom_1 1
/execute as @e[scores={sonic_boom_1=1}] at @s run playsound mob.warden.sonic_boom @a ~ ~ ~
/execute as @e[scores={sonic_boom_1=1}] at @s run tp @s ~ ~ ~ facing @p
/execute as @e[scores={sonic_boom_1=2}] at @s run tp @s ~ ~100 ~
/execute as @e[scores={sonic_boom_1=3..}] at @s run tp @s ^ ^-0.5 ^-1
/execute as @e[scores={sonic_boom_1=3..}] at @s run particle minecraft:sonic_explosion ~ ~-100 ~
/execute as @e[scores={sonic_boom_1=3..}] at @s positioned ~ ~-100 ~ run damage @e[r=1.5] 10
/kill @e[scores={sonic_boom_1=40..}]
/replaceitem entity @e[type=armor_stand,name=sonic] slot.weapon.mainhand 0 air
/execute as @e[type=armor_stand,name=sonic] at @s unless entity @p[hasitem={item=echo_shard,location=slot.weapon.mainhand},r=3] run kill @s
/effect @e[type=armor_stand,name=sonic] invisibility 1 1 true
/playanimation @e[type=armor_stand,name=sonic] animation.creeper.swelling a 10
一気に3本ってすごいですね!!
解説していただきありがとうございます。
リクエスト
ありがとうございます。😊