function main:settings/book/add_artifacts
function main:settings/book/add_sets
function main:settings/book/add_essence
item replace entity @s weapon.mainhand with written_book[item_model="minecraft:stats",custom_name='{"italic":false,"text":"MENU","color":"gold","font":"minecraft:book_1","bold":true}',custom_data={book:stat},written_book_content={title:"",author:"",pages:['["",{"text":"      MENU\\n","font":"minecraft:book_1","color":"gold","bold":true},{"text":"----------------\\n"},{"text":"➤ Stats\\n","hoverEvent":{"action":"show_text","value":[{"text":"To see current stats"}]},"clickEvent":{"action":"change_page","value":"5"}},{"text":"➤ Artifacts\\n","hoverEvent":{"action":"show_text","value":[{"text":"To see gathered artifacts and items"}]},"clickEvent":{"action":"change_page","value":"8"}},{"text":"➤ Sets\\n","hoverEvent":{"action":"show_text","value":[{"text":"To see collected sets"}]},"clickEvent":{"action":"change_page","value":"15"}},{"text":"➤ Essense\\n","hoverEvent":{"action":"show_text","value":[{"text":"To see collected sets"}]},"clickEvent":{"action":"change_page","value":"16"}},{"text":"➤ Abilities","hoverEvent":{"action":"show_text","value":[{"text":"To see your class\'s abilities"}]},"clickEvent":{"action":"run_command","value":"/function main:settings/book/info"}}]','[""]','[""]','[""]','["",{"text":"     STATS I\\n","font":"minecraft:book_1","color":"gold","bold":false},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"----------------\\n"},{"text":"❤ ","color":"dark_red","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Max Health. Don\'t die.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"health_max"},"bold":false},{"text":"\\n","bold":false},{"text":"⛊ ","color":"aqua","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Max Shield - takes damage before HP.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"shield_max"},"bold":false},{"text":"\\n","bold":false},{"text":"⛉ ","color":"dark_blue","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Damage Resistance - reduces the damage taken to the Shield.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"damage_resistance"},"bold":false},{"text":"%\\n","bold":false},{"text":"----------------\\n","bold":true},{"text":"✨","color":"light_purple","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"MTC(MTC) - used as a base for abilities that do x% MTC damage","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"MTC"},"bold":false},{"text":"\\n","bold":false},{"text":"----------------\\n","bold":true},{"text":"⚔","color":"dark_green","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Attack Speed - how fast you attack.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"attack_speed_stat"},"bold":false},{"text":"%\\n","bold":false},{"text":"🥾","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Movement Speed - how fast you move.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"movement_speed"},"bold":false},{"text":"%\\n","bold":false}]','["",{"text":"     STATS II\\n","font":"minecraft:book_1","color":"gold","bold":false},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"-----NORMAL-----\\n","bold":false},{"text":"☆","color":"#FEC101","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Crit Chance - chance to crit.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"crit_chance"},"bold":false},{"text":"% | ","bold":false},{"text":"★","color":"#F87D01","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Crit Damage - damage multiplier on crit.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"crit_damage"},"bold":false},{"text":"%\\n","bold":false},{"text":"-------LC-------\\n","bold":false},{"text":"☆","color":"#FEC101","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional Crit Chance for LC.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"crit_chance_weapon"},"bold":false},{"text":"% | ","bold":false},{"text":"★","color":"#F87D01","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional Crit Damage for LC.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"crit_damage_weapon"},"bold":false},{"text":"%\\n","bold":false},{"text":"-------RC-------\\n","bold":false},{"text":"☆","color":"#FEC101","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional Crit Chance for RC.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"crit_chance_rc"},"bold":false},{"text":"% | ","bold":false},{"text":"★","color":"#F87D01","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional Crit Damage for RC.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"crit_damage_rc"},"bold":false},{"text":"%\\n","bold":false},{"text":"-------Q-------\\n","bold":false},{"text":"☆","color":"#FEC101","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional Crit Chance for Q.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"crit_chance_q"},"bold":false},{"text":"% | ","bold":false},{"text":"★","color":"#F87D01","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional Crit Damage for Q.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"crit_damage_q"},"bold":false},{"text":"%\\n","bold":false},{"text":"-----SHIFT------\\n","bold":false},{"text":"☆","color":"#FEC101","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional Crit Chance for SHIFT.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"crit_chance_shift"},"bold":false},{"text":"% | ","bold":false},{"text":"★","color":"#F87D01","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional Crit Damage for SHIFT.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"crit_damage_shift"},"bold":false},{"text":"%\\n","bold":false}]','["",{"text":"     STATS III\\n","font":"minecraft:book_1","color":"gold","bold":false},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"-----NORMAL-----\\n","bold":false},{"text":"🗡","color":"dark_blue","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Damage bonus - multiplies your base damage.","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"damage_bonus"},"bold":false},{"text":"%\\n","bold":false},{"text":"-------LC-------\\n","bold":false},{"text":"🗡","color":"#170069","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional damage multiplier for Normal Attack","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"damage_bonus_weapon"},"bold":false},{"text":"%\\n ","bold":false},{"text":"-------RC-------\\n","bold":false},{"text":"🗡","color":"#170069","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional Damage multiplier for RC","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"damage_bonus_rc"},"bold":false},{"text":"%\\n","bold":false},{"text":"-------Q-------\\n","bold":false},{"text":"🗡","color":"#170069","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional damage multiplier for Q","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"damage_bonus_q"},"bold":false},{"text":"%\\n","bold":false},{"text":"-----SHIFT------\\n","bold":false},{"text":"🗡","color":"#170069","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"Additional Damage multiplier for SHIFT","bold":false}]}},{"text":"- ","bold":false},{"score":{"name":"@s","objective":"damage_bonus_shift"},"bold":false},{"text":"%\\n","bold":false}]','["",{"text":"   ARTIFACTS I\\n","color":"gold","bold":false,"font":"minecraft:book_1"},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"----------------\\n"},{"storage":"book","nbt":"list[1]","interpret": true},{"storage":"book","nbt":"list[2]","interpret": true},{"storage":"book","nbt":"list[3]","interpret": true},{"storage":"book","nbt":"list[4]","interpret": true},{"storage":"book","nbt":"list[5]","interpret": true},{"storage":"book","nbt":"list[6]","interpret": true},{"storage":"book","nbt":"list[7]","interpret": true},{"storage":"book","nbt":"list[8]","interpret": true},{"storage":"book","nbt":"list[9]","interpret": true},{"storage":"book","nbt":"list[10]","interpret": true}]','["",{"text":"   ARTIFACTS II\\n","color":"gold","bold":false,"font":"minecraft:book_1"},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"----------------\\n"},{"storage":"book","nbt":"list[11]","interpret": true},{"storage":"book","nbt":"list[12]","interpret": true},{"storage":"book","nbt":"list[13]","interpret": true},{"storage":"book","nbt":"list[14]","interpret": true},{"storage":"book","nbt":"list[15]","interpret": true},{"storage":"book","nbt":"list[16]","interpret": true},{"storage":"book","nbt":"list[17]","interpret": true},{"storage":"book","nbt":"list[18]","interpret": true},{"storage":"book","nbt":"list[19]","interpret": true},{"storage":"book","nbt":"list[20]","interpret": true}]','["",{"text":"   ARTIFACTS III\\n","color":"gold","bold":false,"font":"minecraft:book_1"},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"----------------\\n"},{"storage":"book","nbt":"list[21]","interpret": true},{"storage":"book","nbt":"list[22]","interpret": true},{"storage":"book","nbt":"list[23]","interpret": true},{"storage":"book","nbt":"list[24]","interpret": true},{"storage":"book","nbt":"list[25]","interpret": true},{"storage":"book","nbt":"list[26]","interpret": true},{"storage":"book","nbt":"list[27]","interpret": true},{"storage":"book","nbt":"list[28]","interpret": true},{"storage":"book","nbt":"list[29]","interpret": true},{"storage":"book","nbt":"list[30]","interpret": true}]','["",{"text":"   ARTIFACTS IV\\n","color":"gold","bold":false,"font":"minecraft:book_1"},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"----------------\\n"},{"storage":"book","nbt":"list[31]","interpret": true},{"storage":"book","nbt":"list[32]","interpret": true},{"storage":"book","nbt":"list[33]","interpret": true},{"storage":"book","nbt":"list[34]","interpret": true},{"storage":"book","nbt":"list[35]","interpret": true},{"storage":"book","nbt":"list[36]","interpret": true},{"storage":"book","nbt":"list[37]","interpret": true},{"storage":"book","nbt":"list[38]","interpret": true},{"storage":"book","nbt":"list[39]","interpret": true},{"storage":"book","nbt":"list[40]","interpret": true}]','["",{"text":"   ARTIFACTS V\\n","color":"gold","bold":false,"font":"minecraft:book_1"},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"----------------\\n"},{"storage":"book","nbt":"list[41]","interpret": true},{"storage":"book","nbt":"list[42]","interpret": true},{"storage":"book","nbt":"list[43]","interpret": true},{"storage":"book","nbt":"list[44]","interpret": true},{"storage":"book","nbt":"list[45]","interpret": true},{"storage":"book","nbt":"list[46]","interpret": true},{"storage":"book","nbt":"list[47]","interpret": true},{"storage":"book","nbt":"list[48]","interpret": true},{"storage":"book","nbt":"list[49]","interpret": true},{"storage":"book","nbt":"list[50]","interpret": true}]','["",{"text":"   ARTIFACTS VI\\n","color":"gold","bold":false,"font":"minecraft:book_1"},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"----------------\\n"},{"storage":"book","nbt":"list[51]","interpret": true},{"storage":"book","nbt":"list[52]","interpret": true},{"storage":"book","nbt":"list[53]","interpret": true},{"storage":"book","nbt":"list[54]","interpret": true},{"storage":"book","nbt":"list[55]","interpret": true},{"storage":"book","nbt":"list[56]","interpret": true},{"storage":"book","nbt":"list[57]","interpret": true},{"storage":"book","nbt":"list[58]","interpret": true},{"storage":"book","nbt":"list[59]","interpret": true},{"storage":"book","nbt":"list[60]","interpret": true}]','["",{"text":"   ARTIFACTS VII\\n","color":"gold","bold":false,"font":"minecraft:book_1"},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"----------------\\n"},{"storage":"book","nbt":"list[61]","interpret": true},{"storage":"book","nbt":"list[62]","interpret": true},{"storage":"book","nbt":"list[63]","interpret": true},{"storage":"book","nbt":"list[64]","interpret": true},{"storage":"book","nbt":"list[65]","interpret": true},{"storage":"book","nbt":"list[66]","interpret": true},{"storage":"book","nbt":"list[67]","interpret": true},{"storage":"book","nbt":"list[68]","interpret": true},{"storage":"book","nbt":"list[69]","interpret": true},{"storage":"book","nbt":"list[70]","interpret": true}]','["",{"text":"       SETS I\\n","color":"gold","bold":false,"font":"minecraft:book_1"},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"----------------\\n"},{"storage":"book_2","nbt":"list[1]","interpret": true},{"storage":"book_2","nbt":"list[2]","interpret": true},{"storage":"book_2","nbt":"list[3]","interpret": true},{"storage":"book_2","nbt":"list[4]","interpret": true},{"storage":"book_2","nbt":"list[5]","interpret": true},{"storage":"book_2","nbt":"list[6]","interpret": true},{"storage":"book_2","nbt":"list[7]","interpret": true},{"storage":"book_2","nbt":"list[8]","interpret": true},{"storage":"book_2","nbt":"list[9]","interpret": true},{"storage":"book_2","nbt":"list[10]","interpret": true},{"storage":"book_2","nbt":"list[11]","interpret": true},{"storage":"book_2","nbt":"list[12]","interpret": true},{"storage":"book_2","nbt":"list[13]","interpret": true},{"storage":"book_2","nbt":"list[14]","interpret": true},{"storage":"book_2","nbt":"list[15]","interpret": true},{"storage":"book_2","nbt":"list[16]","interpret": true},{"storage":"book_2","nbt":"list[17]","interpret": true},{"storage":"book_2","nbt":"list[18]","interpret": true},{"storage":"book_2","nbt":"list[19]","interpret": true},{"storage":"book_2","nbt":"list[20]","interpret": true},{"storage":"book_2","nbt":"list[21]","interpret": true}]','["",{"text":"       ESSENCE I \\n","color":"gold","bold":false,"font":"minecraft:book_1"},{"text":"----------------\\n"},{"text":"➤ Back to Menu\\n","hoverEvent":{"action":"show_text","value":[{"text":"To return back to Menu"}]},"clickEvent":{"action":"change_page","value":"1"}},{"text":"----------------\\n"},{"storage":"book_3","nbt":"list[1]","interpret": true},{"storage":"book_3","nbt":"list[2]","interpret": true},{"storage":"book_3","nbt":"list[3]","interpret": true},{"storage":"book_3","nbt":"list[4]","interpret": true},{"storage":"book_3","nbt":"list[5]","interpret": true},{"storage":"book_3","nbt":"list[6]","interpret": true},{"storage":"book_3","nbt":"list[7]","interpret": true},{"storage":"book_3","nbt":"list[8]","interpret": true},{"storage":"book_3","nbt":"list[9]","interpret": true},{"storage":"book_3","nbt":"list[10]","interpret": true},{"storage":"book_3","nbt":"list[11]","interpret": true},{"storage":"book_3","nbt":"list[12]","interpret": true},{"storage":"book_3","nbt":"list[13]","interpret": true},{"storage":"book_3","nbt":"list[14]","interpret": true},{"storage":"book_3","nbt":"list[15]","interpret": true},{"storage":"book_3","nbt":"list[16]","interpret": true},{"storage":"book_3","nbt":"list[17]","interpret": true},{"storage":"book_3","nbt":"list[18]","interpret": true},{"storage":"book_3","nbt":"list[19]","interpret": true},{"storage":"book_3","nbt":"list[20]","interpret": true},{"storage":"book_3","nbt":"list[21]","interpret": true}]']}] 1