diff --git a/data/datalib/function/systems/dev_settings/display/page/devmode.mcfunction b/data/datalib/function/systems/dev_settings/display/page/devmode.mcfunction index 97e6211..ec329a6 100644 --- a/data/datalib/function/systems/dev_settings/display/page/devmode.mcfunction +++ b/data/datalib/function/systems/dev_settings/display/page/devmode.mcfunction @@ -3,8 +3,8 @@ execute store result score #dl.dsm dl.tmp run data get storage datalib:engine dev_settings.devMode -execute if score #dl.dsm dl.tmp matches 1 run item replace entity @s weapon.mainhand with minecraft:written_book[minecraft:written_book_content={author:"",title:"",pages:['{"text":"","extra":[{"text":" -","bold":true},{"text":"Dev Settings","color":"gold","bold":true},{"text":"-","bold":true},{"text":"\n\n\n"},{"text":"Toggle Type:"},{"text":"\n"},{"text":" - "},{"text":"[Misc]","color":"light_purple"},{"text":"\n\n\n\n"},{"text":"Misc Settings:"},{"text":"\n"},{"text":" \u25c4 ","color":"dark_aqua","hoverEvent":{"action":"show_text","value":[{"text":" "}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/nav/left"}},{"text":"[devMode]","color":"#2DD158","hoverEvent":{"action":"show_text","value":[{"text":"Status: Enabled"}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/actions/toggle_devmode"}},{"text":" \u25ba ","color":"dark_aqua","hoverEvent":{"action":"show_text","value":[{"text":" "}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/nav/right"}},{"text":"\n\n\n\n"},{"text":" "},{"text":"[Close]","color":"red","hoverEvent":{"action":"show_text","value":[{"text":"Delete Book"}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/close"}}]}']},minecraft:custom_data={datalib_dev_settings:1b},minecraft:item_name={"text":"Dev Settings","italic":false,"color":"light_purple"},minecraft:lore=[{"text":"dataLib","italic":false,"color":"#00AAAA"}]] +execute if score #dl.dsm dl.tmp matches 1 run item replace entity @s weapon.mainhand with minecraft:written_book[minecraft:written_book_content={author:"",title:"",pages:[{"text":"","extra":[{"text":" -","bold":true},{"text":"Dev Settings","color":"gold","bold":true},{"text":"-","bold":true},{"text":"\n\n\n"},{"text":"Toggle Type:"},{"text":"\n"},{"text":" - "},{"text":"[Misc]","color":"light_purple"},{"text":"\n\n\n\n"},{"text":"Misc Settings:"},{"text":"\n"},{"text":" \u25c4 ","color":"dark_aqua","hoverEvent":{"action":"show_text","value":[{"text":" "}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/nav/left"}},{"text":"[devMode]","color":"#2DD158","hoverEvent":{"action":"show_text","value":[{"text":"Status: Enabled"}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/actions/toggle_devmode"}},{"text":" \u25ba ","color":"dark_aqua","hoverEvent":{"action":"show_text","value":[{"text":" "}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/nav/right"}},{"text":"\n\n\n\n"},{"text":" "},{"text":"[Close]","color":"red","hoverEvent":{"action":"show_text","value":[{"text":"Delete Book"}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/close"}}]}]},minecraft:custom_data={datalib_dev_settings:1b},minecraft:item_name={"text":"Dev Settings","italic":false,"color":"light_purple"},minecraft:lore=[{"text":"dataLib","italic":false,"color":"#00AAAA"}]] -execute unless score #dl.dsm dl.tmp matches 1 run item replace entity @s weapon.mainhand with minecraft:written_book[minecraft:written_book_content={author:"",title:"",pages:['{"text":"","extra":[{"text":" -","bold":true},{"text":"Dev Settings","color":"gold","bold":true},{"text":"-","bold":true},{"text":"\n\n\n"},{"text":"Toggle Type:"},{"text":"\n"},{"text":" - "},{"text":"[Misc]","color":"light_purple"},{"text":"\n\n\n\n"},{"text":"Misc Settings:"},{"text":"\n"},{"text":" \u25c4 ","color":"dark_aqua","hoverEvent":{"action":"show_text","value":[{"text":" "}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/nav/left"}},{"text":"[devMode]","color":"#D12D60","hoverEvent":{"action":"show_text","value":[{"text":"Status: Disabled"}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/actions/toggle_devmode"}},{"text":" \u25ba ","color":"dark_aqua","hoverEvent":{"action":"show_text","value":[{"text":" "}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/nav/right"}},{"text":"\n\n\n\n"},{"text":" "},{"text":"[Close]","color":"red","hoverEvent":{"action":"show_text","value":[{"text":"Delete Book"}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/close"}}]}']},minecraft:custom_data={datalib_dev_settings:1b},minecraft:item_name={"text":"Dev Settings","italic":false,"color":"light_purple"},minecraft:lore=[{"text":"dataLib","italic":false,"color":"#00AAAA"}]] +execute unless score #dl.dsm dl.tmp matches 1 run item replace entity @s weapon.mainhand with minecraft:written_book[minecraft:written_book_content={author:"",title:"",pages:[{"text":"","extra":[{"text":" -","bold":true},{"text":"Dev Settings","color":"gold","bold":true},{"text":"-","bold":true},{"text":"\n\n\n"},{"text":"Toggle Type:"},{"text":"\n"},{"text":" - "},{"text":"[Misc]","color":"light_purple"},{"text":"\n\n\n\n"},{"text":"Misc Settings:"},{"text":"\n"},{"text":" \u25c4 ","color":"dark_aqua","hoverEvent":{"action":"show_text","value":[{"text":" "}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/nav/left"}},{"text":"[devMode]","color":"#D12D60","hoverEvent":{"action":"show_text","value":[{"text":"Status: Disabled"}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/actions/toggle_devmode"}},{"text":" \u25ba ","color":"dark_aqua","hoverEvent":{"action":"show_text","value":[{"text":" "}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/nav/right"}},{"text":"\n\n\n\n"},{"text":" "},{"text":"[Close]","color":"red","hoverEvent":{"action":"show_text","value":[{"text":"Delete Book"}]},"clickEvent":{"action":"run_command","value":"/function datalib:systems/dev_settings/display/close"}}]}]},minecraft:custom_data={datalib_dev_settings:1b},minecraft:item_name={"text":"Dev Settings","italic":false,"color":"light_purple"},minecraft:lore=[{"text":"dataLib","italic":false,"color":"#00AAAA"}]] scoreboard players reset #dl.dsm dl.tmp