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

# -> Interact function
function overly_realistic:general/custom_blocks/preparation_plate_indicator/indicator_interact

# -> Remove interaction data
data remove entity @s interaction
