clear @s warped_fungus_on_a_stick[minecraft:custom_data~{character:sorcerer}]

item replace entity @s hotbar.0 with warped_fungus_on_a_stick[custom_name='{"bold":false,"italic":false,"color":"#9335ff","text":"Enchanted Tome"}',lore=['{"bold":false,"color":"white","italic":false,"text":"Check your \\"MENU\\" book"}','{"bold":false,"color":"white","italic":false,"text":"for more information."}'],hide_additional_tooltip={},item_model="minecraft:weapons/sorcerer/sorcerer",custom_data={weapon:1b,character:sorcerer,sorcerer:lightning}] 1

item replace entity @s hotbar.1 with warped_fungus_on_a_stick[custom_name='{"bold":false,"italic":false,"color":"#9335ff","text":"Enchanted Tome"}',lore=['{"bold":false,"color":"white","italic":false,"text":"Check your \\"MENU\\" book"}','{"bold":false,"color":"white","italic":false,"text":"for more information."}'],hide_additional_tooltip={},item_model="minecraft:weapons/sorcerer/sorcerer",custom_data={weapon:1b,character:sorcerer,sorcerer:water}] 1

item replace entity @s hotbar.2 with warped_fungus_on_a_stick[custom_name='{"bold":false,"italic":false,"color":"#9335ff","text":"Enchanted Tome"}',lore=['{"bold":false,"color":"white","italic":false,"text":"Check your \\"MENU\\" book"}','{"bold":false,"color":"white","italic":false,"text":"for more information."}'],hide_additional_tooltip={},item_model="minecraft:weapons/sorcerer/sorcerer",custom_data={weapon:1b,character:sorcerer,sorcerer:earth}] 1

item replace entity @s hotbar.3 with map[custom_name='{"bold":true,"color":"gray","italic":false,"text":"Blank Spell"}',lore=['{"color":"white","italic":false,"text":"Combine elemental amplitudes below"}','{"color":"white","italic":false,"text":"in order to create a spell."}','[{"color":"white","italic":false,"text":"Use your"},{"color":"red","italic":false,"text":" RIGHT CLICK"}]','{"italic":false,"color":"white","text":"to cast the spell."}'],custom_data={sorcerer:spell},item_model="minecraft:weapons/sorcerer/spells/blank"] 1