How to Make a TNT Bow (or ANY custom bow) with Vanilla Minecraft Commands!
Описание
Commands used:
In the loop:
execute at @a[nbt={SelectedItem:{tag:{hc_bowTutorial:1b}}}] positioned ~ ~1.52 ~ run tag @e[type=arrow,distance=..0.3] add hc_bowTutorial_1
execute at @e[tag=hc_bowTutorial_1,nbt=!{inGround:1b}] run particle flame ~ ~ ~ 0 0 0 0.05 5 force @a
execute at @e[tag=hc_bowTutorial_1,nbt={inGround:1b}] run summon tnt
execute at @e[tag=hc_bowTutorial_1_target,nbt={HurtTime:10s}] run summon tnt
execute as @e at @s if entity @e[tag=hc_bowTutorial_1,distance=..5] run tag @s add hc_bowTutorial_1_target
execute as @e at @s unless entity @e[tag=hc_bowTutorial_1,distance=..5] run tag @s remove hc_bowTutorial_1_target
kill @e[tag=hc_bowTutorial_1,nbt={inGround:1b}]
"Bow giving command or something":
/give @s bow{hc_bowTutorial:1b}
Music Used:
Outro: Pachelbel Canon in D