summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Caduwrn the Wetched","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:player_head",Count:1b,tag:{SkullOwner:{Id:[I;184684342,1457931628,-1404026549,-2135989013],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWE4ZTc2NmJlN2Y2ZmIxZWEzYzNjYzBjNGNiZmU4ZjAxOTk2M2RlNzBjNzU5NjYyZjE2NmEzOTZkNTQyMTg5ZSJ9fX0="}]}}}}],Attributes:[{Name:generic.max_health,Base:4}]}
summon wither_skeleton ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Ahearn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wretch ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cedayrn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Kadeyrn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:wooden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:iron_boots",Count:1b},{id:"minecraft:iron_leggings",Count:1b},{id:"minecraft:iron_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wretched ","color":"white"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon zombified_piglin ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn","CadeyrnMinion"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Boris ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{id:"minecraft:netherite_pickaxe",Count:1b}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn le Wretched ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon skeleton ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wrecked ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:golden_hoe",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:netherite_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:golden_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn, awwww man ","color":"gold"}',HandItems:[{id:"minecraft:netherite_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:creeper_head",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn","Crossy"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{id:"minecraft:crossbow",Count:1b}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["GKNameTag","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}


tag @a remove CadeyrnMe
tag @a[limit=1,sort=random,tag=CadeyrnFightTag,gamemode=!spectator] add CadeyrnMe

summon stray ~ ~ ~ {HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F],Tags:["CadeyrnMeMob","FakeCadeyrn"],CustomNameVisible:0b,Health:2f,CustomName:'{"text":"Cadeyrn the Wretched ","color":"gold"}',HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}},{}],ArmorItems:[{id:"minecraft:chainmail_boots",Count:1b,tag:{Enchantments:[{id:"minecraft:feather_falling",lvl:4s}]}},{id:"minecraft:chainmail_leggings",Count:1b},{id:"minecraft:chainmail_chestplate",Count:1b},{id:"minecraft:netherite_helmet",Count:1b}],Attributes:[{Name:generic.max_health,Base:4}]}
setblock ~ 255 ~ acacia_sign{Text1:'[{"selector":"@p[tag=CadeyrnMe]","color":"gold"},{"text":" the Wretched","color":"gold"}]'} destroy
data modify entity @e[tag=CadeyrnMeMob,limit=1,sort=nearest] CustomName set from block ~ 255 ~ Text1
execute at @e[tag=CadeyrnMeMob,limit=1,sort=nearest] run execute as @p[tag=CadeyrnMe] run execute positioned ~ ~ ~ run loot spawn ~ ~ ~ loot minecraft:randomevents/player
execute as @e[tag=CadeyrnMeMob,limit=1,sort=nearest] run execute at @s run data modify entity @s ArmorItems[3] set from entity @e[type=item,sort=nearest,limit=1,nbt={Item:{id:"minecraft:player_head"}}] Item
execute at @e[tag=CadeyrnMeMob,limit=1,sort=nearest] run kill @e[distance=..5,type=item,sort=nearest,limit=1,nbt={Item:{id:"minecraft:player_head"}}]
setblock ~ 255 ~ air


#execute as @e[tag=CopyKyu] run data merge entity @s {PersistenceRequired:1b,HandDropChances:[-3.000F,-3.000F],ArmorDropChances:[-3.00F,-3.000F,-3.00F,-3.00F]}
