Minecraft wiki entry for Spawn_Egg, associated text: If the player uses a spawn egg on the type of mob it spawns, and that mob has a baby form, the egg spawns a baby version of the mob. In mobs that can breed, the baby is created by breeding the clicked mob to itself. For instance, using a sheep spawn egg on a sheep makes a baby sheep with the same wool color.‌[Java Edition only]