Disable Villager Breeding

Anyone know how to disable villager breeding without setting mob griefing to false?

Never mind I made a plugin that cancels the breed event