
# -> Filter block
scoreboard players set #or.heated_wrought_iron_break_filter OverlyRealistic.General.ArbitraryData 0
execute on attacker \
    if entity @s[tag=OverlyRealistic.Player.BrokeCustomBlock] run \
        scoreboard players set #or.heated_wrought_iron_break_filter OverlyRealistic.General.ArbitraryData 1
execute unless score #or.heated_wrought_iron_break_filter OverlyRealistic.General.ArbitraryData matches 1 run \
    return fail

# -> Interact function
function overly_realistic:general/custom_blocks/heated_wrought_iron/heated_wrought_iron_break
