Use [code]org.bukkit.event.entity.ChickenLayEggEvent event[/code] instead, as well as [code]org.bukkit.craftbukkit.event.CraftEventFactory.callChickenLayEggEvent([/code]