
# -> Sound
playsound block.wood.break block @a ~ ~ ~ 1 1
playsound block.wood.break block @a ~ ~ ~ 1 1
playsound block.calcite.break block @a ~ ~ ~ 0.8 2

# -> Remove blocks
execute positioned ~ ~0.5 ~ run \
    fill ~ ~ ~ ~ ~1 ~ air replace barrier

# -> Drop item
execute unless entity @p[tag=OverlyRealistic.Player.BrokeCustomBlock,gamemode=creative,distance=..8] run \
    loot spawn ~ ~ ~ loot overly_realistic:blocks/telescope

# -> Remove displays
execute on passengers run \
    kill @s

# -> Remove interaction
kill @s
