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

# -> Drop item
execute if items entity 00000001-0000-002b-0000-00010000002b contents *[custom_data~{IsCustomBlock: "support_beam"}] \
    as 00000001-0000-002b-0000-00010000002b run \
        loot spawn ~ ~ ~ loot overly_realistic:item_from_slot_sources/item_from_contents_drop_1
execute unless items entity 00000001-0000-002b-0000-00010000002b contents *[custom_data~{IsCustomBlock: "support_beam"}] run \
    function overly_realistic:general/custom_blocks/support_beam/support_beam_break_drop_from_data with entity @s data

# -> Remove marker
kill @s