
# -> Item frame with map wisdom gain
execute as @e[type=item_frame] \
    if items entity @s contents filled_map \
    at @s run \
        tag @a[tag=!OverlyRealistic.Player.IsDeity,distance=..20] add OverlyRealistic.Player.IsNearMapItemFrame

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


# -> Loop (5 mins)
schedule function overly_realistic:general/main_loops/main_loop_5999t 5999t