Food for Animal Breeding - OreCruncher/ThermalRecycling GitHub Wiki

Animals are some of natures best recyclers. Various species use castoffs to create nests or provide protection from predators, or consume food waste that we would not normally consume. From a Minecraft perspective the player now has the ability to use various food items as breeding materials for animals.

Thermal Recycling adds breeding capability to Pigs. Main reason is that I think Pigs got the short of the stick. To to make things up to these sensitive animals Potatoes, Pumpkins, and Melon blocks can now be used to breed Pigs.

A modpack author can add additional breeding items for animals that are derived from EntityAnimal. The support for this feature is through the use of Minetweaker scripts:

// Modify some of the breeding items for animals!
import mods.recycling.BreedingItemRegistry;

// Chickens don't get enough Iron in their diets so they can now take Iron Ingots for breeding
BreedingItemRegistry.add("Chicken", <minecraft:iron_ingot>);

// Pigs no longer like the potatoes
BreedingItemRegistry.remove("Pig", <minecraft:potato>);

Notes:

  • These items are for breeding. They cannot be used to lure an animal.
  • The basic vanilla breeding items will always be available and should not be included using this feature.
  • You cannot breed horses using this mechanic. Horse breeding is a bit complicated…
⚠️ **GitHub.com Fallback** ⚠️