Fixing Passenger Issues in Spawn Eggs
This data pack addresses a long-standing Minecraft problem where spawn eggs couldn't simultaneously create both a mob and its passengers. Now you can configure the "Passengers" NBT data for the entity that spawns when using a spawn egg, allowing both the main mob and its passengers to generate together immediately.
Practical Example: Spider Jockey
/give @s minecraft:spider_spawn_egg[minecraft:entity_data={id:"minecraft:spider",Passengers:[{id:"minecraft:skeleton",equipment:{mainhand:{id:"bow"}}}]}]
Enhanced Version
This data pack was inspired by the functionality of the original "Passengers from Spawn Eggs", but version 2.0 represents a significant improvement. The main difference is that you can now directly configure "Passengers" NBT data for spawn eggs, completely solving the original problem and providing players with more flexible options for creating complex mob combinations.