I was playing in creative when I spawned a villager with a villager egg then I kept on right clicking on the villager and no villagers were spawning so then I took my diamond sword and hit the villager and about 20 baby villagers popped out of the villager.
Linked issues
Comments 2

Right clicking a mob with the corresponding mob egg makes babies in the same place. They all get pushed around when you hit one with the sword.
That is a feature =_=