
# -> If item drops an item then return and do its own logic
execute if entity @s[tag=OverlyRealistic.Block.HardenedClayMold_DropsItem] run \
    return run \
        function overly_realistic:general/custom_blocks/hardened_clay_mold/hardened_clay_mold_break_item_drop

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

# -> Drop item
execute on passengers run \
    function overly_realistic:general/custom_blocks/hardened_clay_mold/hardened_clay_mold_drop_item

# -> Remove interaction
kill @s
