
#> uhc:pre_game/menu/load/world_generation/
#
# @within			uhc:pre_game/menu/selected/main/host/main
#
#
# @description		Menu
#

clear @s
tag @s remove uhc.menu.main.host
tag @s add uhc.menu.world_generation







function uhc:pre_game/menu/load/background/

execute unless score #overworld_finished pregen.world matches 2.. run item replace entity @s inventory.1 with minecraft:red_concrete[minecraft:item_name=[{"text":"1000/-1000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_2000"}]
execute unless score #overworld_finished pregen.world matches 4.. run item replace entity @s inventory.2 with minecraft:red_concrete[minecraft:item_name=[{"text":"2000/-2000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_4000"}]
execute unless score #overworld_finished pregen.world matches 6.. run item replace entity @s inventory.3 with minecraft:red_concrete[minecraft:item_name=[{"text":"3000/-3000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_6000"}]
execute unless score #overworld_finished pregen.world matches 8.. run item replace entity @s inventory.4 with minecraft:red_concrete[minecraft:item_name=[{"text":"4000/-4000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_8000"}]
execute unless score #overworld_finished pregen.world matches 10.. run item replace entity @s inventory.5 with minecraft:red_concrete[minecraft:item_name=[{"text":"5000/-5000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_10000"}]

execute unless score #overworld_finished pregen.world matches 2.. if score #overworld_working pregen.world matches 2.. run item replace entity @s inventory.1 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"1000/-1000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_2000"}]
execute unless score #overworld_finished pregen.world matches 4.. if score #overworld_working pregen.world matches 4.. run item replace entity @s inventory.2 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"2000/-2000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_4000"}]
execute unless score #overworld_finished pregen.world matches 6.. if score #overworld_working pregen.world matches 6.. run item replace entity @s inventory.3 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"3000/-3000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_6000"}]
execute unless score #overworld_finished pregen.world matches 8.. if score #overworld_working pregen.world matches 8.. run item replace entity @s inventory.4 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"4000/-4000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_8000"}]
execute unless score #overworld_finished pregen.world matches 10.. if score #overworld_working pregen.world matches 10.. run item replace entity @s inventory.5 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"5000/-5000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_10000"}]

execute if score #overworld_finished pregen.world matches 2.. run item replace entity @s inventory.1 with minecraft:grass_block[minecraft:item_name=[{"text":"1000/-1000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_2000"}]
execute if score #overworld_finished pregen.world matches 4.. run item replace entity @s inventory.2 with minecraft:grass_block[minecraft:item_name=[{"text":"2000/-2000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_4000"}]
execute if score #overworld_finished pregen.world matches 6.. run item replace entity @s inventory.3 with minecraft:grass_block[minecraft:item_name=[{"text":"3000/-3000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_6000"}]
execute if score #overworld_finished pregen.world matches 8.. run item replace entity @s inventory.4 with minecraft:grass_block[minecraft:item_name=[{"text":"4000/-4000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_8000"}]
execute if score #overworld_finished pregen.world matches 10.. run item replace entity @s inventory.5 with minecraft:grass_block[minecraft:item_name=[{"text":"5000/-5000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"Overworld","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"overworld_10000"}]

execute unless score #the_nether_finished pregen.world matches 2.. run item replace entity @s inventory.10 with minecraft:red_concrete[minecraft:item_name=[{"text":"1000/-1000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_2000"}]
execute unless score #the_nether_finished pregen.world matches 4.. run item replace entity @s inventory.11 with minecraft:red_concrete[minecraft:item_name=[{"text":"2000/-2000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_4000"}]
execute unless score #the_nether_finished pregen.world matches 6.. run item replace entity @s inventory.12 with minecraft:red_concrete[minecraft:item_name=[{"text":"3000/-3000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_6000"}]
execute unless score #the_nether_finished pregen.world matches 8.. run item replace entity @s inventory.13 with minecraft:red_concrete[minecraft:item_name=[{"text":"4000/-4000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_8000"}]
execute unless score #the_nether_finished pregen.world matches 10.. run item replace entity @s inventory.14 with minecraft:red_concrete[minecraft:item_name=[{"text":"5000/-5000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_10000"}]

execute unless score #the_nether_finished pregen.world matches 2.. if score #the_nether_working pregen.world matches 2.. run item replace entity @s inventory.10 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"1000/-1000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_2000"}]
execute unless score #the_nether_finished pregen.world matches 4.. if score #the_nether_working pregen.world matches 4.. run item replace entity @s inventory.11 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"2000/-2000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_4000"}]
execute unless score #the_nether_finished pregen.world matches 6.. if score #the_nether_working pregen.world matches 6.. run item replace entity @s inventory.12 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"3000/-3000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_6000"}]
execute unless score #the_nether_finished pregen.world matches 8.. if score #the_nether_working pregen.world matches 8.. run item replace entity @s inventory.13 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"4000/-4000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_8000"}]
execute unless score #the_nether_finished pregen.world matches 10.. if score #the_nether_working pregen.world matches 10.. run item replace entity @s inventory.14 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"5000/-5000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_10000"}]

execute if score #the_nether_finished pregen.world matches 2.. run item replace entity @s inventory.10 with minecraft:magma_block[minecraft:item_name=[{"text":"1000/-1000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_2000"}]
execute if score #the_nether_finished pregen.world matches 4.. run item replace entity @s inventory.11 with minecraft:magma_block[minecraft:item_name=[{"text":"2000/-2000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_4000"}]
execute if score #the_nether_finished pregen.world matches 6.. run item replace entity @s inventory.12 with minecraft:magma_block[minecraft:item_name=[{"text":"3000/-3000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_6000"}]
execute if score #the_nether_finished pregen.world matches 8.. run item replace entity @s inventory.13 with minecraft:magma_block[minecraft:item_name=[{"text":"4000/-4000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_8000"}]
execute if score #the_nether_finished pregen.world matches 10.. run item replace entity @s inventory.14 with minecraft:magma_block[minecraft:item_name=[{"text":"5000/-5000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"Nether","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_nether_10000"}]

execute unless score #the_end_finished pregen.world matches 2.. run item replace entity @s inventory.19 with minecraft:red_concrete[minecraft:item_name=[{"text":"128/-128","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_2000"}]
execute unless score #the_end_finished pregen.world matches 4.. run item replace entity @s inventory.20 with minecraft:red_concrete[minecraft:item_name=[{"text":"2000/-2000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_4000"}]
execute unless score #the_end_finished pregen.world matches 6.. run item replace entity @s inventory.21 with minecraft:red_concrete[minecraft:item_name=[{"text":"3000/-3000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_6000"}]
execute unless score #the_end_finished pregen.world matches 8.. run item replace entity @s inventory.22 with minecraft:red_concrete[minecraft:item_name=[{"text":"4000/-4000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_8000"}]
execute unless score #the_end_finished pregen.world matches 10.. run item replace entity @s inventory.23 with minecraft:red_concrete[minecraft:item_name=[{"text":"5000/-5000","color":"#FF3F3F","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_10000"}]

execute unless score #the_end_finished pregen.world matches 2.. if score #the_end_working pregen.world matches 2.. run item replace entity @s inventory.19 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"128/-128","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_2000"}]
execute unless score #the_end_finished pregen.world matches 4.. if score #the_end_working pregen.world matches 4.. run item replace entity @s inventory.20 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"2000/-2000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_4000"}]
execute unless score #the_end_finished pregen.world matches 6.. if score #the_end_working pregen.world matches 6.. run item replace entity @s inventory.21 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"3000/-3000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_6000"}]
execute unless score #the_end_finished pregen.world matches 8.. if score #the_end_working pregen.world matches 8.. run item replace entity @s inventory.22 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"4000/-4000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_8000"}]
execute unless score #the_end_finished pregen.world matches 10.. if score #the_end_working pregen.world matches 10.. run item replace entity @s inventory.23 with minecraft:yellow_concrete[minecraft:item_name=[{"text":"5000/-5000","color":"#FFE73F","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_10000"}]

execute if score #the_end_finished pregen.world matches 2.. run item replace entity @s inventory.19 with minecraft:end_stone[minecraft:item_name=[{"text":"128/-128","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_2000"}]
execute if score #the_end_finished pregen.world matches 4.. run item replace entity @s inventory.20 with minecraft:end_stone[minecraft:item_name=[{"text":"2000/-2000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_4000"}]
execute if score #the_end_finished pregen.world matches 6.. run item replace entity @s inventory.21 with minecraft:end_stone[minecraft:item_name=[{"text":"3000/-3000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_6000"}]
execute if score #the_end_finished pregen.world matches 8.. run item replace entity @s inventory.22 with minecraft:end_stone[minecraft:item_name=[{"text":"4000/-4000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_8000"}]
execute if score #the_end_finished pregen.world matches 10.. run item replace entity @s inventory.23 with minecraft:end_stone[minecraft:item_name=[{"text":"5000/-5000","color":"#3FE7FF","italic":false}],minecraft:lore=[{"text":"End","color":"#FFFFFF","italic":false}],minecraft:custom_data={Tags:"the_end_10000"}]

function uhc:translation/menu/load/world_generation
function uhc:translation/menu/load/close
