How to break arrows with your bare hands. MINECRAFT(JAVA)
Today I will show you how to create a command block creation that will allow the player to destroy arrows once they punch them. This also works for mobs.
Special-thanks to "The Grogalorian"(from planet minecraft) for the skin
https://www.planetminecraft.com/member/the_grogalorian/
NOTE: You must be in 1.19.4 or later
COMMANDS:
/scoreboard objectives add Shot dummy
/scoreboard objectives add ArrowShot minecraft.used:minecraft.bow
/execute as @a[scores={ArrowShot=1}] run scoreboard players set @a Shot 1
/summon minecraft:interaction ~ ~ ~
/scoreboard players set @a ArrowShot 0
/execute as @a[scores={Shot=1}] run scoreboard players set @a Shot 2
/execute as @a[scores={Shot=2}] run execute as @e[type=minecraft:interaction] on attacker run execute at @e[type=minecraft:arrow] run particle minecraft:explosion_emitter ~ ~0.5 ~
kill @e[type=minecraft:arrow]
/scoreboard players set @a Shot 0
/kill @e[type=minecraft:interaction]
/tp @e[type=minecraft:interaction,limit=1] @e[type=arrow,limit=1]