execute if entity @s[type=skeleton,tag=accursed] run summon minecraft:stray ~ ~ ~ {CustomName:'{"text":"Class 1 Cursed Human","color":"yellow"}',CanPickUpLoot:0b,Attributes:[{Name:"generic.movement_speed",Base:0.23f},{Name:"generic.attack_damage",Base:4}],HandItems:[{id:"minecraft:stick",tag:{display:{Name:'{"text":"Crude Shortsword"}'}},Count:1},{}],Tags:["class_one"]} execute if entity @s[type=husk,tag=accursed] run summon minecraft:wither_skeleton ~ ~ ~ {CustomName:'{"text":"Class 2 Cursed Human","color":"gold"}',Health:32,Attributes:[{Name:"generic.max_health",Base:32},{Name:"generic.knockback_resistance",Base:0.12f}],HandItems:[{id:"minecraft:stone_sword",tag:{display:{Name:'{"text":"Longsword"}'}},Count:1},{}],ArmorItems:[{tag:{display:{Name:'{"text":"Platemail Boots"}'}},id:"minecraft:chainmail_boots",Count:1},{tag:{display:{Name:'{"text":"Platemail Leggings"}'}},id:"minecraft:chainmail_leggings",Count:1},{tag:{display:{Name:'{"text":"Platemail"}'}},id:"minecraft:chainmail_chestplate",Count:1},{}],Tags:["class_two"]} execute if entity @s[type=piglin,tag=!not_accursed,nbt=!{CustomName:'{"text":"Class 3 Cursed Human","color":"#FFE730"}'}] run data modify entity @s CustomName set value '{"text":"Class 3 Cursed Human","color":"#FFE730"}' execute if entity @s[type=drowned,tag=accursed] run summon minecraft:piglin_brute ~ ~ ~ {CustomName:'{"text":"Class 3 Cursed Human","color":"#FF7800"}',Attributes:[{Name:"generic.knockback_resistance",Base:0.2f},{Name:"generic.movement_speed",Base:0.5f}],HandItems:[{id:"minecraft:golden_axe",Count:1},{}],Tags:["class_three_wild"]} execute if entity @s[type=zombified_piglin,tag=accursed] run summon minecraft:ravager ~ ~ ~ {CustomName:'{"text":"Class 4 Cursed Human","color":"#E00000"}',Tags:["class_four"]} tag @s[type=piglin,tag=!class_three,tag=!not_accursed] add class_three kill @e[tag=accursed]