#
# 		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 End Portal erneuern","color":"gray"},{"text":"\n Erneuert das Endportal in seiner ursprünglichen Position, aber mit 4 fehlenden Enderaugen.","color":"white"},{"text":"\n\n Um fortzufahren, müssen entweder Cheats aktiviert sein (Einzelspieler) oder du musst Admin Rechte haben (Mehrspieler). Andernfalls, bekommst du einen Fehler.\n ","color":"red"},{"text":"[End Portal erneuern]","color":"gold","clickEvent":{"action":"run_command","value":"/function ija-one-block:generated/menu/portal-respawn"},"hoverEvent":{"action":"show_text","value":"Erneuere das\nEnd Portal."}},{"text":"\n\n "},{"text":"[Zurück]","color":"red","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 1"},"hoverEvent":{"action":"show_text","value":"Klicke um zurückzugehen."}},{"text":"\n"}]
playsound minecraft:ui.button.click master @s ~ ~ ~ 0.2 0.7 0.2
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 Respawn End Portal","color":"gray"},{"text":"\n Respawns the end portal in its original position with 4 eyes of ender missing.","color":"white"},{"text":"\n\n To proceed, you either need to have cheats enabled (Singleplayer) or operator rights (Multiplayer). Otherwise, you'll receive an error.\n ","color":"red"},{"text":"[Respawn End Portal]","color":"gold","clickEvent":{"action":"run_command","value":"/function ija-one-block:generated/menu/portal-respawn"},"hoverEvent":{"action":"show_text","value":"Respawn the\nend portal."}},{"text":"\n\n "},{"text":"[Back]","color":"red","clickEvent":{"action":"run_command","value":"/trigger ija-a4-trigger set 1"},"hoverEvent":{"action":"show_text","value":"Click to go back."}},{"text":"\n"}]