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

playsound minecraft:ui.button.click master @s ~ ~ ~ 0.2 0.7 0.2
execute if entity @e[tag=ija-a4-lang-de] run tellraw @s [{"text":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Einstellungen\n\n  ","color":"gray"},{"text":"[Hilfemenü]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 10"},"hoverEvent":{"action":"show_text","value":"Öffne das\nHilfemenü!"}},{"text":"\n  "},{"text":"[Sprache ändern]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 11"},"hoverEvent":{"action":"show_text","value":"Ändere die\nSprache!"}},{"text":"\n  "},{"text":"[Zu Phase springen]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 12"},"hoverEvent":{"action":"show_text","value":"Springe zu\neiner Phase!"}}]
execute if entity @e[tag=ija-a4-lang-de,scores={ija-a4-counter=6301..}] run tellraw @s [{"text":"  "},{"text":"[End Portal erneuern]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 13"},"hoverEvent":{"action":"show_text","value":"Erneuere das\nEnd Portal."}}]
execute if entity @e[tag=ija-a4-lang-de] run tellraw @s [{"text":"  "},{"text":"[Über OneBlock]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 14"},"hoverEvent":{"action":"show_text","value":"Erhalte Infos\nüber OneBlock!"}}]
execute if entity @e[tag=ija-a4-lang-de] run tellraw @s {"text":""}
execute if entity @e[tag=ija-a4-lang-en] run tellraw @s [{"text":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Settings\n\n  ","color":"gray"},{"text":"[Help Menu]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 10"},"hoverEvent":{"action":"show_text","value":"Open the\nhelp menu!"}},{"text":"\n  "},{"text":"[Change Language]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 11"},"hoverEvent":{"action":"show_text","value":"Switch to\nanother language!"}},{"text":"\n  "},{"text":"[Skip to Phase]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 12"},"hoverEvent":{"action":"show_text","value":"Skip to\nthis phase!"}}]
execute if entity @e[tag=ija-a4-lang-en,scores={ija-a4-counter=6301..}] run tellraw @s [{"text":"  "},{"text":"[Respawn End Portal]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 13"},"hoverEvent":{"action":"show_text","value":"Respawn the\nend portal."}}]
execute if entity @e[tag=ija-a4-lang-en] run tellraw @s [{"text":"  "},{"text":"[About OneBlock]","color":"gold","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 14"},"hoverEvent":{"action":"show_text","value":"Get infos about\nOneBlock!"}}]
execute if entity @e[tag=ija-a4-lang-en] run tellraw @s {"text":""}