

#summon a mob of the same type on each mob, one that has a skeleton jockey and persistence
execute at @s[tag=K,type=zombie] run summon zombie ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=skeleton] run summon skeleton ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=zombified_piglin] run summon zombified_piglin ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=creeper] run summon creeper ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=enderman] run summon enderman ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=spider] run summon spider ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=cave_spider] run summon cave_spider ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=stray,name=!"Cadeyrn the Wretched",tag=!CadeyrnTP] run summon stray ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=husk] run summon husk ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=blaze] run summon blaze ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=wither_skeleton] run summon wither_skeleton ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
execute at @s[tag=K,type=phantom] run summon phantom ~ ~ ~ {Passengers:[{id:"minecraft:skeleton",Tags:["RemovePersist"],PersistenceRequired:1}],PersistenceRequired:1,Tags:["RemovePersist","KyuJockeyMob"]}
