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

# -> Interact function
function overly_realistic:general/custom_blocks/scribing_table/scribing_table_interact

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