
# -> Sound
playsound block.calcite.break neutral @a ~ ~ ~ 1 1.7

# -> If spear hit an entity then operate accordingly
execute positioned ~-1.5 ~-1.5 ~-1.5 \
    unless score #or.spear_hit_success OverlyRealistic.General.ArbitraryData matches 1.. \
    if entity @n[type=!#overly_realistic:spear_cant_damage,tag=!OverlyRealistic.Player.TempPlayerThrewSpear,dx=2,dz=2,dy=2] \
    at @s run \
        function overly_realistic:general/spears/spear_hit_entity_remcol/stone_spear_hit

# -> Particles
particle item{item:"stone_spear"} ~ ~ ~ 0.1 0.1 0.1 0.01 8 normal @a
