
# ---> Set display

# -> South
execute if entity @s[y_rotation=-45..45] run \
    return run \
        bossbar set overlyrealistic:compass_ribon_south players @s

# -> East
execute if entity @s[y_rotation=-134..-44] run \
    return run \
        bossbar set overlyrealistic:compass_ribon_east players @s

# -> West
execute if entity @s[y_rotation=-46..134] run \
    return run \
        bossbar set overlyrealistic:compass_ribon_west players @s

# -> North
bossbar set overlyrealistic:compass_ribon_north players @s
