Рет қаралды 5,927
한번만 실행
scoreboard objectives add punch minecraft.custom:minecraft.damage_dealt
tag @p add p
반복블럭
execute as @e[scores={punch=1..}] run scoreboard players reset @s punch
execute as @e[tag=p] at @s anchored eyes run summon minecraft:tnt ^ ^ ^4
effect give @e[tag=p] minecraft:resistance 1 255 true
execute as @e[tag=p] at @s run particle minecraft:cloud ^ ^1 ^1 .5 .5 .5 0 100 force
execute as @e[tag=p] at @s run particle minecraft:cloud ^ ^1 ^3 1 1 1 0 200 force
execute as @e[tag=p] at @s run particle minecraft:cloud ^ ^1 ^7 2 2 2 0 400 force