#Project created by the koncept

scoreboard objectives remove random_block_bingo
scoreboard objectives add random_block_bingo dummy

#Random selection
scoreboard objectives add random_cluster dummy

execute store result score cree77 random_cluster run random value 1..16

#file refinement

execute if score cree77 random_cluster matches 1 if score block_bingo_creaking_heart check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 1 if score block_bingo_creaking_heart check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/creaking_heart

execute if score cree77 random_cluster matches 2 if score block_bingo_pale_moss_block check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 2 if score block_bingo_pale_moss_block check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_moss_block

execute if score cree77 random_cluster matches 3 if score block_bingo_pale_moss_carpet check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 3 if score block_bingo_pale_moss_carpet check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_moss_carpet

execute if score cree77 random_cluster matches 4 if score block_bingo_pale_oak_button check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 4 if score block_bingo_pale_oak_button check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_button

execute if score cree77 random_cluster matches 5 if score block_bingo_pale_oak_fence check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 5 if score block_bingo_pale_oak_fence check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_fence

execute if score cree77 random_cluster matches 6 if score block_bingo_pale_oak_fence_gate check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 6 if score block_bingo_pale_oak_fence_gate check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_fence_gate

execute if score cree77 random_cluster matches 7 if score block_bingo_pale_oak_leaves check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 7 if score block_bingo_pale_oak_leaves check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_leaves

execute if score cree77 random_cluster matches 8 if score block_bingo_pale_oak_log check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 8 if score block_bingo_pale_oak_log check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_log

execute if score cree77 random_cluster matches 9 if score block_bingo_pale_oak_planks check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 9 if score block_bingo_pale_oak_planks check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_planks

execute if score cree77 random_cluster matches 10 if score block_bingo_pale_oak_pressure_plate check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 10 if score block_bingo_pale_oak_pressure_plate check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_pressure_plate

execute if score cree77 random_cluster matches 11 if score block_bingo_pale_oak_slab check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 11 if score block_bingo_pale_oak_slab check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_slab

execute if score cree77 random_cluster matches 12 if score block_bingo_pale_oak_stairs check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 12 if score block_bingo_pale_oak_stairs check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_stairs

execute if score cree77 random_cluster matches 13 if score block_bingo_pale_oak_trapdoor check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 13 if score block_bingo_pale_oak_trapdoor check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_trapdoor

execute if score cree77 random_cluster matches 14 if score block_bingo_pale_oak_wood check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 14 if score block_bingo_pale_oak_wood check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/pale_oak_wood

execute if score cree77 random_cluster matches 15 if score block_bingo_stripped_pale_oak_log check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 15 if score block_bingo_stripped_pale_oak_log check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/stripped_pale_oak_log

execute if score cree77 random_cluster matches 16 if score block_bingo_stripped_pale_oak_wood check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 16 if score block_bingo_stripped_pale_oak_wood check_restart_replay matches 0 run function koncept.bingo:bingo/block/difficult/stripped_pale_oak_wood

scoreboard objectives remove random_cluster

execute if score cree77 bingo.random_start matches 1 run function koncept.bingo:bingo/random_start1