#
# 		Data pack by IJAMinecraft
# 		@ ijaminecraft.com
# 		@ youtube.com/user/IJAMinecraft
#

execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=0..}] run tellraw @s {"text":"   ","extra":[{"text":"[Phase 1: The Plains]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 11"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout phase 1!"}}]}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=..253}] run tellraw @s {"text":"   [???]","color":"gray"}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=254..}] run tellraw @s {"text":"   ","extra":[{"text":"[Phase 2: The Underground]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 12"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout phase 2!"}}]}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=..684}] run tellraw @s {"text":"   [???]","color":"gray"}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=685..}] run tellraw @s {"text":"   ","extra":[{"text":"[Phase 3: Snow Biome]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 13"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout phase 3!"}}]}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=..1387}] run tellraw @s {"text":"   [???]","color":"gray"}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=1388..}] run tellraw @s {"text":"   ","extra":[{"text":"[Phase 4: Ocean Floor]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 14"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout phase 4!"}}]}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=..2153}] run tellraw @s {"text":"   [???]","color":"gray"}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=2154..}] run tellraw @s {"text":"   ","extra":[{"text":"[Phase 5: Jungle Dungeon]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 15"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout phase 5!"}}]}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=..2911}] run tellraw @s {"text":"   [???]","color":"gray"}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=2912..}] run tellraw @s {"text":"   ","extra":[{"text":"[Phase 6: Red Desert]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 16"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout phase 6!"}}]}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=..3710}] run tellraw @s {"text":"   [???]","color":"gray"}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=3711..}] run tellraw @s {"text":"   ","extra":[{"text":"[Phase 7: The Nether]","color":"red","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 17"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout phase 7!"}}]}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=..4492}] run tellraw @s {"text":"   [???]","color":"gray"}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=4493..}] run tellraw @s {"text":"   ","extra":[{"text":"[Phase 8: Idyll]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 18"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout phase 8!"}}]}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=..5193}] run tellraw @s {"text":"   [???]","color":"gray"}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=5194..}] run tellraw @s {"text":"   ","extra":[{"text":"[Phase 9: Desolate Land]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 19"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout phase 9!"}}]}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=..5989}] run tellraw @s {"text":"   [???]","color":"gray"}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=5990..}] run tellraw @s {"text":"   ","extra":[{"text":"[Phase 10: The End]","color":"red","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 20"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout phase 10!"}}]}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=..7036}] run tellraw @s {"text":"   [???]","color":"gray"}
execute as @s at @s if entity @e[tag=ija-a4-block,scores={ija-a004xa=7037..}] run tellraw @s {"text":"   ","extra":[{"text":"[Afterphases]","color":"light_purple","clickEvent":{"action":"run_command","value":"/trigger ija-a4 set 21"},"hoverEvent":{"action":"show_text","value":"Click for info\nabout the Afterphases!"}}]}