function main:settings/scoreboards/load
function main:menu/remove
tag @s add sorcerer
tag @s remove melee_class
tag @s add ranged_class
data remove storage sorcerer spell
data modify storage sorcerer spell append value "blank"
data modify storage sorcerer spell append value "blank"
scoreboard players set .mana sorcerer 100
scoreboard players set .mana_cd sorcerer 0
scoreboard players set .l_l_cost sorcerer 20
scoreboard players set .w_e_cost sorcerer 20
scoreboard players set .w_l_cost sorcerer 20
scoreboard players set .e_e_cost sorcerer 20
scoreboard players set .w_w_cost sorcerer 20
scoreboard players set .e_l_cost sorcerer 20
function main:settings/player_data/main {"id":1}

attribute @s minecraft:scale base set 1
execute at @s run playsound block.note_block.harp master @s ~ ~ ~ 1 0.5
execute as @e[type=text_display,tag=choice] run data modify entity @s background set value 7566195
data modify entity @n[type=text_display,tag=sorcerer] background set value -16777216
# function main:characters/sorcerer/info/info_simple

# fill 65 -58 19 63 -56 19 light_blue_stained_glass
# fill 65 -58 20 63 -56 20 light_blue_concrete_powder

#icon
# kill @e[type=item_display,tag=classes]
# kill @e[type=text_display,tag=fake_start]
# kill @e[type=interaction,tag=fake_start]
# execute at @e[type=block_display,tag=main_menu] run particle dust{color:[0,1,1],scale:0.5} 64 -56.5 18 .5 0.5 0.5 1 25
# execute at @e[type=block_display,tag=main_menu] run summon item_display 64 -56.5 18 {Glowing:1b,Tags:["classes"],transformation:{left_rotation:[0f,0f,0.2f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1f,1f,1f]},Rotation:[180f,0f],item:{id:"minecraft:warped_fungus_on_a_stick",count:1,components:{item_model:"minecraft:weapons/sorcerer/sorcerer_3"}}}
# execute at @e[type=block_display,tag=main_menu] run summon item_display 64 -56.5 18 {Glowing:1b,Tags:["classes"],transformation:{left_rotation:[0f,0f,0.2f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0.1f],scale:[1f,1f,1f]},Rotation:[0f,0f],item:{id:"minecraft:warped_fungus_on_a_stick",count:1,components:{item_model:"minecraft:weapons/sorcerer/sorcerer_3"}}}
# team join blue_color @e[type=minecraft:item_display,tag=classes]

execute at @s run playsound minecraft:block.note_block.basedrum master @a ~ ~ ~ 3 0
execute at @s run playsound minecraft:block.note_block.snare master @a ~ ~ ~ 3 0
execute at @s run playsound entity.firework_rocket.large_blast master @a ~ ~ ~ 3 1
execute at @s run playsound entity.firework_rocket.large_blast master @a ~ ~ ~ 3 1.5
execute at @s run playsound atmos:air_release_1 master @a ~ ~ ~ 0.1 1

#start
# kill @e[type=interaction,tag=start]
# kill @e[type=text_display,tag=start]
 