Passive vanilla animals like Pigs and Cows do not spawn inside corrupted biomes. In their place, you will find neutral Book Wyrms that turn enchanted books into new ones.
Finding and Securing Book Wyrms
Travel to an open corrupted biome, such as a Defiled Plains or Defiled Swamp, to spot Book Wyrms wandering across the Defiled Grass. Because Book Wyrms are neutral, they will not attack you unprovoked, though you still have to watch out for hostile Defiled Slimes, Hosts, Scuttlers, Shamblers, and Twisted Shamblers guarding the area.
Guide or transport at least two Book Wyrms out of the corrupted biome and into a fenced pen or walled room at your base. Keeping them in a lit, enclosed space protects both you and your herd from wandering monsters while you work with them.
Breeding for Better Stats and Recycling Books
Once you have a pair safely penned, build up a stronger herd to get the most out of your spare enchantments:
1. Breed your Book Wyrms together so the parents pass better stats down to their babies.
2. Raise the babies and continue breeding your strongest Book Wyrms over multiple generations to keep improving their stats.
3. Collect unwanted enchanted books from fishing, dungeon chests, or enchanting tables, and use your Book Wyrms to recycle them into new enchanted books.