Stop Baby Zombies Example
This is an example of modify a creature on spawn.
In this case if a Zombie is spawned, you can either cancel it if its a Baby or Change it to an adult.
To make this code have the baby's grow up, you need to remove the setCancelled call.
Both are shown here as an example of possibilities.
//when a creature spawns...
@EventHandler(priority = EventPriority.LOWEST)
public void onEntitySpawn(CreatureSpawnEvent event)
if( event.getEntity().getType() == ZOMBIE )
Zombie z750 = (Zombie)event.getEntity();
//Cancel Baby zombies
//OR make them grow up.