#load from the slot where level structures are loaded to
execute positioned -32 4 16 run function bd:levels/_load_clone

scoreboard players add global levelLoading 1

#halt load if player is not riding (slow load only)
execute if score global levelLoading matches 34.. unless score global fastLoad matches 1 unless entity @a[tag=inControl,scores={ride=1..}] run scoreboard players set global levelLoading 33

#load objects?
execute if score global levelLoading matches 34.. run function bd:levels/_load_entities

execute if score global levelLoading matches 34.. run scoreboard players set global fastLoad 0
execute if score global levelLoading matches 34.. run scoreboard players set global levelLoading 0

#instant load?
execute if score global fastLoad matches 1 run function bd:levels/_load