Minecraft – How to make a mob spawner that can spawn mobs with custom drops

minecraft-java-edition

For a CTM map im making i would like a spawner that can spawn a skeleton that is: invisible, is wearing gold boots. which of course i found out how to do the problem is i would like it to drop xp bottles when it dies i tried doing lots of research and trying using Custom mob spawner creators and McStacker but none have the option to have the mobs drop custom items

Questions
– What argument do I need to add to a command to give the mobs their normal drops +bottles o enchanting
– How can make the skeletons have the items above and drop 3-4 xp bottles

(Using 1.7.10)

Best Answer

Spawn mobs with a custom scoreboard score and summon the desired item on all entities with the custom scoreboard score that have a health of 0.