
# -> Sound
playsound block.wood.break block @a ~ ~0.5 ~ 1 1
playsound entity.zombie.break_wooden_door block @a ~ ~0.5 ~ 1 2

# -> Particle
particle block{block_state:"lectern"} ~ ~1 ~ 0.25 0.25 0.25 0.1 16 normal @a

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

# -> Remove block
setblock ~ ~0.5 ~ air strict

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

# -> Remove interaction
kill @s
