function main:settings/scoreboards/load
function main:menu/remove
tag @s add engineer
tag @s remove melee_class
tag @s add ranged_class
function main:settings/player_data/main {"id":1}
scoreboard players set @s engineer 200
scoreboard players set @s engineer_heal 0

attribute @s minecraft:scale base set 1
execute at @s run playsound block.note_block.harp master @s ~ ~ ~ 1 0.9
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=engineer] background set value -16777216
function main:characters/engineer/info/info_simple

fill 65 -58 19 63 -56 19 yellow_stained_glass
fill 65 -58 20 63 -56 20 yellow_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:[1,1,0],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.25f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,0.7f,1.5f]},Rotation:[0f,0f],item:{id:"minecraft:warped_fungus_on_a_stick",count:1,components:{item_model:"minecraft:weapons/engineer/engineer"}}}
team join yellow_color @e[type=minecraft:item_display]

execute at @s run playsound block.piston.extend master @a ~ ~ ~ 3 0
execute at @s run playsound item.crossbow.loading_start master @a ~ ~ ~ 3 1
# execute at @s run playsound block.anvil.place master @a ~ ~ ~ 0.25 0
execute at @s run playsound block.beacon.power_select master @a ~ ~ ~ 10 1.5

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

 