execute if score generation generation matches 1 unless block ~ ~ ~1 air run function backrooms:loot_placer_rare_north
execute if score generation generation matches 1 unless block ~-1 ~ ~ air run function backrooms:loot_placer_rare_east
execute if score generation generation matches 1 unless block ~ ~ ~-1 air run function backrooms:loot_placer_rare_south
execute if score generation generation matches 1 unless block ~1 ~ ~ air run function backrooms:loot_placer_rare_west

execute if score generation generation matches 1 if block ~1 ~ ~ air if block ~-1 ~ ~ air if block ~ ~ ~1 air if block ~ ~ ~-1 air run function backrooms:loot_placer_common_random