scoreboard players set min rng 1
scoreboard players set max rng 1
function rng:interval


execute if entity @s[tag=north] if score out rng matches 1..1 run setblock ~ ~ ~ structure_block{mode:"LOAD",name:"rooms:wall/oak_plank_00",posX:1,posY:0,posZ:0,rotation:"CLOCKWISE_90",mirror:"FRONT_BACK"} replace
execute if entity @s[tag=south] if score out rng matches 1..1 run setblock ~ ~ ~ structure_block{mode:"LOAD",name:"rooms:wall/oak_plank_00",posX:1,posY:0,posZ:0,rotation:"CLOCKWISE_90"} replace
execute if entity @s[tag=east] if score out rng matches 1..1 run setblock ~ ~ ~ structure_block{mode:"LOAD",name:"rooms:wall/oak_plank_00",posX:0,posY:0,posZ:-1,rotation:"NONE"} replace
execute if entity @s[tag=west] if score out rng matches 1..1 run setblock ~ ~ ~ structure_block{mode:"LOAD",name:"rooms:wall/oak_plank_00",posX:0,posY:0,posZ:-1,mirror:"FRONT_BACK"} replace
