tellraw @s ["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"text":"\ua000","font":"manic:tooltip","color":"white"}," ",{"translate":"pack.manic","bold":true,"color":"#106050"},{"text":" >> ","color":"#86a697"},{"translate":"settings.nucleus.title","color":"#a9ebbd"},"\n",{"translate":"menu.nucleus.return","italic": true,"color":"#86a697","clickEvent":{"action":"run_command","value":"/trigger nucleus.menu"}},"\n"]

# All on/off
tellraw @s [{"translate":"settings.manic.all_off","color":"#e06d53","clickEvent":{"action":"run_command","value":"/trigger manic.settings set 2"}},{"text":" - ","color":"gray"},{"translate":"settings.manic.all_on","color":"#53e053","clickEvent":{"action":"run_command","value":"/trigger manic.settings set 3"}}]

# Wave
execute if score @s manic.settings.wave matches 0 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.wave","with":[{"color":"#106050","text":"⚠","hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.fabulous","color":"gray"}]}}]},{"translate":"settings.nucleus.false","color":"#ebb5a9"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.wave.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.nucleus.true"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 4"}}
execute if score @s manic.settings.wave matches 1 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.wave","with":[{"color":"#e06d53","text":"⚠","hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.fabulous","color":"gray"}]}}]},{"translate":"settings.nucleus.true","color":"#a9ebbd"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.wave.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.nucleus.true"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 4"}}

# Tentacle
execute if score @s manic.settings.tentacle matches 0 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.tentacle","with":[{"color":"#106050","text":"⚠","hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.fabulous","color":"gray"}]}}]},{"translate":"settings.nucleus.false","color":"#ebb5a9"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.tentacle.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.nucleus.true"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 5"}}
execute if score @s manic.settings.tentacle matches 1 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.tentacle","with":[{"color":"#e06d53","text":"⚠","hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.fabulous","color":"gray"}]}}]},{"translate":"settings.nucleus.true","color":"#a9ebbd"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.tentacle.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.nucleus.true"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 5"}}

# Desaturation
execute if score @s manic.settings.desaturation matches 0 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.desaturation","with":[{"color":"#106050","text":"⚠","hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.fabulous","color":"gray"}]}}]},{"translate":"settings.nucleus.false","color":"#ebb5a9"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.desaturation.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.nucleus.true"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 6"}}
execute if score @s manic.settings.desaturation matches 1 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.desaturation","with":[{"color":"#e06d53","text":"⚠","hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.fabulous","color":"gray"}]}}]},{"translate":"settings.nucleus.true","color":"#a9ebbd"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.desaturation.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.nucleus.true"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 6"}}

# Luma
execute if score @s manic.settings.luma matches 0 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.luma","with":[{"color":"#106050","text":"⚠","hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.fabulous","color":"gray"}]}}]},{"translate":"settings.nucleus.false","color":"#ebb5a9"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.luma.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.nucleus.true"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 7"}}
execute if score @s manic.settings.luma matches 1 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.luma","with":[{"color":"#e06d53","text":"⚠","hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.fabulous","color":"gray"}]}}]},{"translate":"settings.nucleus.true","color":"#a9ebbd"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.luma.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.nucleus.true"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 7"}}

tellraw @s ""

# Knocking
execute if score @s manic.settings.knocking matches 0 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.knocking"},{"translate":"settings.nucleus.false","color":"#ebb5a9"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.knocking.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.nucleus.true"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 8"}}
execute if score @s manic.settings.knocking matches 1 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.knocking"},{"translate":"settings.nucleus.true","color":"#a9ebbd"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.knocking.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.nucleus.true"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 8"}}

# Sanity bar display
execute if score @s manic.settings.sanity_display matches 0 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.sanity_display"},{"translate":"settings.manic.sanity_display.corner","color":"#a9ebbd"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.sanity_display.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.manic.sanity_display.corner"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 9"}}
execute if score @s manic.settings.sanity_display matches 1 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.sanity_display"},{"translate":"settings.manic.sanity_display.actionbar","color":"#a9ebbd"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.sanity_display.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.manic.sanity_display.corner"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 9"}}
execute if score @s manic.settings.sanity_display matches 2 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.sanity_display"},{"translate":"settings.manic.sanity_display.percentage","color":"#a9ebbd"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.sanity_display.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.manic.sanity_display.corner"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 9"}}
execute if score @s manic.settings.sanity_display matches 3 run tellraw @s {"color":"#86a697","translate":"gamerules.manic.entry","with":[{"translate":"settings.manic.sanity_display"},{"translate":"settings.manic.sanity_display.off","color":"#ebb5a9"}],"hoverEvent":{"action":"show_text","contents":[{"translate":"settings.manic.sanity_display.description","color":"gray"},"\n\n",{"translate":"settings.nucleus.default","color":"yellow","with":[{"translate":"settings.manic.sanity_display.corner"}]}]},"clickEvent":{"action":"run_command","value":"/trigger manic.settings set 9"}}

tellraw @s ["\n",{"translate":"settings.nucleus.reset","color":"#e06d53","clickEvent":{"action":"run_command","value":"/trigger manic.settings set 10"}}]

function nucleus:entity/player/commands/no_feedback/main
playsound minecraft:block.wooden_button.click_on block @s
