
# -> Preparation plate operations
#execute as @e[type=interaction,tag=OverlyRealistic.Block.PreparationPlate] \
    at @s \
    unless block ~ ~ ~ #air run \
        function overly_realistic:general/custom_blocks/preparation_plate/preparation_plate_loop_operate

# -> Active leaf trap operations
execute as @e[type=marker,tag=OverlyRealistic.LeafTrapActive] \
    at @s \
    align xyz \
    if entity @n[dx=0,dy=1,dz=0] run \
        function overly_realistic:general/leaf_traps/leaf_trap_break_on_entity

# -> Function tag
function #overly_realistic:general_loops/main_6t

# -> Loop
schedule function overly_realistic:general/main_loops/main_loop_6t 6t