Breeding



Breeding is a game mechanic that allows fed animals of the same species to breed with each other to make new animals. Each type of "domestic" animal has a food item used to lead and breed it. (There are a couple of special cases, described under "Mechanics" below.) Animals will follow a player holding its food (once it notices the player), and will continue following the player until it is out of range, the player stops holding the item, or it begins the breeding process. If two nearby animals of the same species are fed, they will spawn a baby animal of their type. Any animal may only breed once per item given (two parents must be fed to breed), and will be unable to breed for some time afterwards. Note that animals are uninterested in food lying on the ground.

Using wheat or other items (carrots, and seeds) to breed animals that give food (cows, mooshrooms, pigs, chickens) is a way of getting more efficient food than bread or carrots.

Mechanics
The specific items for each breedable animal are as follows:
 * Sheep, Cows and Mooshrooms: Wheat.
 * Pigs: Carrots
 * Chickens: wheat seeds.
 * melon seeds, pumpkin seeds, or nether wart can be used to breed chickens, but only wheat seeds can be used to lead them around.
 * Tamed Wolves: any type of meat, whether cooked, raw, or rotten.
 * Tamed wolves must be at full health before being fed to enter "love mode".
 * Raw meat cannot be used to tame a wolf. Bones should be used instead.
 * Tamed Cats: raw fish.

Each animal which is fed its food will enter "love mode", preparing to breed with another animal in love mode. Animals in "love mode" emit hearts constantly and will path towards nearby animals of the same species that are also in love mode. The two animals will "kiss" for about two and a half seconds, and then a baby animal of the same species spawns either in between the parents or on the same blocks as the parent that was spawned first, which ends love mode for the parents. They will not be able to enter love mode again for 5 minutes. However, they can still be herded with the appropriate material, as can the baby. After the baby animal has spawned, it will follow its parents for 20 minutes before growing to full size. Once the parents breed they also drop a small amount of experience.

One item per parent is needed to breed a single baby. When sheep are born, they will usually be the color of one of their parents, chosen at random. Sheared sheep will continue to produce babies of their original color.

NPC Villagers
Villagers do not have a food item; they will breed of their own accord (and in their own time) depending on the available houses, or at least "registered doors". (See the NPC Village page for full details.) When they breed, they will produce a smaller villager but unlike most baby animals, these don't have big heads, similar to cats. Baby villagers will run around the village and will "play" tag.

Ranching
Animals in an open setting may be difficult to breed. It may be easier to construct fences for animals to stay. Even a medium size pasture can result in animals neglecting to notice one another in love mode. Animals will spawn in the same square as their parent. It should be noted, however, that if they are in the same square as a fence, glass pane, or other item that takes up only part of a square, offspring may spawn in or on the other side of the block.

Pigs, Chickens, Cows, and Mooshrooms can all provide food when killed. This food will be cooked if they are killed by fire. (But if so, they may not drop experience orbs. Additionally, the player gains no experience for cooking the meat in this manner, as he or she normally does when cooking in a furnace.)


 * Cows additionally drop leather. Both Cows and Mooshrooms can be milked with a bucket, and Mooshrooms can be 'milked' for Mushroom Stew using a bowl. Mooshrooms can also be sheared for 3-5 Red Mushrooms, although this will turn them into normal Cows.
 * Chickens additionally drop feathers. Chicken Eggs can be harvested from Chicken farms, and can be used in addition to chicken breeding to speed population growth, as they have a 1/8th chance of producing (at least one) baby chicken when thrown.
 * Sheep drop one wool when killed, but it is more productive to shear them as they drop 1-3 wool. One dye can be used to color their wool before shearing or breeding, which is more efficient than dying the single wool after shearing. Dyed sheep produce offspring of their current color; if the two sheep are different colors, the color of the baby sheep will match one of the parents, chosen at random.



Sometimes when farming animals, it may be difficult to keep all animals in the farm, yet still allow you to get in and out of the farm. There are several ways to handle this:
 * Dig holes. Dig a hole outside of the farm, at least 3 blocks deep (two for the tunnel, one for the ceiling).  Place ladders as needed.  Tunnel under the fence, and dig up under the farm. Place more ladders.  Since Pigs, Cows, and Sheep are more than one block wide, they will not fit in the hole resulting in them running in circles trying to get in the hole. However, baby animals and Chickens can fit in a one block hole, so you may want to place a trapdoor at the top.  In version 12w34a and later, the trapdoor can be placed in the top block of the hole; in older versions, making it level with the farm requires putting an extra block inside the farm to attach it to (don't put it within two blocks of the fence).  Of course, the tunnel can also lead to somewhere more distant....
 * You can also extend your fence to form a "mob-lock" -- a small area with two fence gates, one leading into the pen, one outside. This area should be large enough for at least two of the animals in question.  For cows and sheep, making both sides a double gate will make moving animals in and out much easier.  Animals that escape into the lock can be pushed or led back into the pen, or simply considered volunteers for slaughter.
 * A flashier version of this is to use two Fence Gates with a Pressure Plate between them. You open one gate and as you pass over the pressure plate, it opens the other gate. The "off" signal made by the pressure plate returning up will close both gates. The whole event is quick enough to thwart any possible pathing out by the animals. Be warned though, keeping the animals away from the entrance is a good practice, otherwise just one getting onto the pressure plate could trigger a "stampede".
 * Another method is to place two blocks in place of a fence and put a trap door on the bottom part of the higher block. Animal AIs cannot make paths that use trapdoors and they cannot open them. This is easier than most other methods and takes up little space (2X2X1).
 * You can forego fences and other blocks and simply dig a pit at least 2 blocks deep, providing access with a Ladder. All mobs besides villagers will very rarely climb a ladder, even if the pit is very crowded.  This also makes it easy to guide the mobs in, either by pushing them or leading them in with food.
 * By far the simplest and least space consuming method is to use a single post of Nether Brick Fence between regular posts, this will create a single pillar that you can walk around but larger animals cannot pass as Nether Brick Fence does not connect up with regular wooden fence. (1x1x1). Of course, unlike a gate this isn't easily switchable, which may be an issue when bringing animals into your farm.

Battery Farming


Small scale automated breeding systems can be built by herding passive mobs into moving minecarts and summoning them to a central breeding location - this has the disadvantage of still breeding new mobs relatively slowly (one every five minutes.) Also, when saving and loading the game the mobs will "escape" from the minecarts - this can be dealt with by "storing" them inside of glass blocks.

Formerly, it was possible to build dense animal breeding farms can be built by "compressing" mobs into a very small number of squares (generally a three high 3x3 chamber) and "spamming" stacks of wheat into the enclosure. In current versions, this will no longer work -- overcrowded pens will cause the animals to "phase" through the walls, either suffocating them (solid blocks) or allowing them or their babies to escape (transparent blocks such as fences). Note that fairly crowded farms can still be made with larger pens (made from fences or other transparent blocks), so long as some escapees are acceptable.

Chickens can be fed through a slab in the side of the enclosure or from above through a hole in the top center, other mobs can also be fed through a 1 wide hole in the side of the enclosure without any risk that they will escape. Feeding the twice as many mobs as slain while harvesting is enough to keep mobs at roughly their current level. Collecting and throwing eggs will increase the number you can harvest.

When breeding chickens or other animals in a fenced-in pen (with a fence gate) and you get a large amount of them, it can be difficult to leave the pen without animals escaping before you close the fence gate. A way to deal with this is to go to the opposite side of the pen as the door / gate, pull out some the appropriate food (wheat, seeds, carrots) wait until the animals crowd around you, then putting the food away by switching items and quickly running to the gate. Since they're no longer following you, the animals will not be fast enough to get to the other side of the pen when you do. Other options, depending on animal type, include pillars or trapdoors with ladders, leading to bridges or tunnels out of the pen.

Baby animals
Baby animals are smaller variations of their parents, having small bodies, relatively big heads, higher pitched sounds, and faster walking speeds. They do not drop resources or experience, primarily to balance the breeding. While baby cows and mooshroom calves can be milked, only adult animals will drop food resources. Baby animals grow into full sized animals after twenty minutes, which is one day in Minecraft (Except sheep - they can grow faster if they eat grass). Dogs (tame wolves) have another variation: the puppy does not gain its full health automatically (even when it grows to full size), but must be fed to increase its HP.

Baby animals, when born, will follow their parents until it has grown in to an adult. Tame dogs and cats will follow their owner if the parent is absent or sitting.

Bugs

 * Animals in love mode need to be able to see each other to breed, but they don't have to be close to each other: for example, sheep in two different pens separated by multiple fences can breed if they are both in love mode and have seen each other.
 * Animals occasionally disappear in multiplayer even if they are enclosed.

Trivia

 * Before the full release, Snow Golems also had the ability to enter "love mode" when fed wheat. If two Snow Golems were in love mode, they would fire snowballs at each other, causing them to step out of love mode and flee from each other.
 * Animals of the same species are able to breed with each other regardless of whether or not they are a parent to the animal they are bred with.
 * A baby animal will follow you if you are holding wheat, but the wheat cannot be fed to it.
 * Baby wolves seem to be naturally attracted to the player.
 * Baby Wolves will attack mobs just like adults.
 * Baby Cats and Villager children do not have big heads like other baby mobs.
 * Using the spawn egg of a mob which has baby variants on that mob will spawn the baby variant.