
# -> 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
loot spawn ~ ~ ~ loot overly_realistic:blocks/heated_wrought_iron

# -> Remove interaction indicators if possible
execute if entity @s[tag=OverlyRealistic.Block.HeatedWroughtIron_HasIndicators] \
    align xyz \
    as @n[type=interaction,tag=OverlyRealistic.Block.HeatedWroughtIron_InteractionIndicator,dx=0,dy=0,dz=0,sort=arbitrary] run \
        function overly_realistic:general/custom_blocks/hwi_interaction_indicator/interaction_indicator_remove

# -> Remove light
fill ~ ~ ~ ~ ~1 ~ air replace light

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

# -> Remove interaction
kill @s
