Tutorials/Animal farming

Cooked meat is the best all-around food in the game. To have meat readily available, one must farm animals. Farming animals also provides several other useful items: leather, feathers, wool, and eggs. A manual slaughter farm can also provide a fair bit of experience.

Basic farming

 * 1) Round up at least two animals of the same kind into a pen. Fences are nice, but you can also dig a hole 2 blocks deep so that the animals cannot jump out, and you want the hole to be plenty wide.
 * 2) Breed them until you have a reasonable number.
 * 3) Kill some of them, and get resources. Do not kill all of them, as it will be harder to breed animals again.

To lead animals around, you need to wield the same food that you can breed them with or a lead if you have slimeballs. You can also obtain a lead from the wandering traders by trading with them or killing them. You may also take their llamas! Wandering trader llamas can only be bred in Java Edition. Wheat for cows, mooshrooms and sheep; carrots, beetroots, or potatoes for pigs; seeds of any type for chickens; and dandelions, carrots or golden carrots for rabbits. Once you've got them in the pen, start feeding them. They will then pair off and have babies. They will also produce experience orbs. You can breed the same two only once in five minutes. You get one young for each two adult animals that you feed in your herd. The babies will take about 20 minutes to grow up, so don't kill too many adults too fast. You can only breed adult animals if you feed two of them at about the same time. They will go over to each other and begin to look like they are kissing.

There are limits to how many animals you can keep in a given pen. If it gets too crowded, animals will be pushed into the walls of the pen. If those are solid blocks, the animal will suffocate; if the walls are fences or transparent blocks, the animal can be pushed right through them.

Chickens are a special case, because not only do they breed with any seeds, but they also lay eggs, and throwing eggs has a chance to produce chicks. This makes them very easy to multiply in general. Collecting and throwing eggs will increase the number you can slay.

For sheep, you don’t have to kill them to get wool, just dye them and shear them. They will also need a fairly large pen with grass to recover their wool after shearing.

Breeding has a cooldown of five minutes, so you cannot breed the parents right after you already bred them.

A building to house the animals (like a barn) is useful.

Breeding tips
Feeding at twice the rate as you slay your mobs is enough to keep mobs at roughly their current population.

When breeding animals in a fenced-in pen and you have a large amount of them, it can be difficult to leave the pen without animals escaping. A way to deal with this is to go to the opposite side of the pen as the door, pull out some the appropriate food, 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.

Or you can just put a carpet on top of one of the fences. Mobs won't be able to jump on it but you will.

Automated animal farming
Most of these farms include a killing mechanism, a cooking mechanism for the meat and an item collector, usually a hopper. The cooking mechanism and killing mechanism are often combined, in the form of lava or fire.

Lava Blade Cooker for Cows, Pigs and Sheep

This design uses a sticky piston water gate to control the amount of animals to be cooked. They will be dropped through a "lava blade" which enables their meat to be cooked efficiently. Note that this does not work on chickens and rabbits.

Function
This is an easy farm to set up that only requires the user to breed animals and press a button. It is reusable and has very high efficiency. All cooked meats and other drops are collected automatically, and can be easily piled into a chest for collection by the player later. This farm works for cows, sheep and pigs.

Construction

 * 1) Construct a holding area with flowing water for the adults
 * 2) There should be a collection area for the baby animals that has a 1 block high entrance and a sign to block the water flow from the adult area
 * 3) The collection area should be only 1 block in area, and the floor should be a hopper running to a chest
 * 4) A dispenser needs to face into the collection area, and it holds a bucket of lava
 * 5) Two separate redstone wires need to go into the dispenser
 * 6) On one redstone wire, you need three repeaters set to 4 ticks, 4 ticks, and 3 ticks.  On the other wire, you need one repeater set to the default 1 tick
 * 7) Both of the leads connect up to specifically a stone button

Preparation

 * 1) Lead cows into the adult area with wheat before having flowing water in the area
 * 2) Breed them until you have as many as you want. The larger the area the more you should breed, but be careful of taking too many as it can impede the progress of the babies to their collection area
 * 3) Add the flowing water into the adult area
 * 4) Breed away and watch the babies be swept into the collection area

Usage
Then, you want to go in and kill off some of them, not all. If you kill off all of them, it will be harder to breed them again.
 * 1) After breeding as many babies as you want, let them grow into adults in the collection area.

Fully Automatic Chicken Cooker
Function

This machine is not resource expensive and can give you infinite amounts of cooked chicken without you having to do anything. Just build the machine and you won't be hungry for a long time.

Construction


 * 1) Dig a one block wide hole in the ground. Make it 2 blocks deep.
 * 2) In the bottom of the hole, build a chest. On top of the chest, build a hopper. On top of that hopper, place down a non-flammable slab. Build up non-flammable walls around the slab at least 3 blocks high.
 * 3) Knock out a block in the wall next to the slab and place a dispenser. You may need to move the dispenser a little if when it fires, the items do not get sent into the hopper under the slab.
 * 4) Connect the dispenser to a redstone clock and put at least one hopper on top of the dispenser. The hoppers should reach as high as the wall surrounding the slab.
 * 5) Dump lava onto the block above the slab, and make sure that no lava is leaking anywhere.
 * 6) Build a floor of hoppers as big as you wish (The floor can even be just 1 block wide). The hoppers should be connected to the hoppers on top of the dispenser.
 * 7) Build non-flammable walls around the hopper floor and build a roof to it, but make sure to put torches inside of the area before you close it off.
 * 8) Knock one of the blocks out of the roof and replace it with a trap door.

Preparation


 * 1) Gather as many eggs as you wish, but it is better to have lots of them.
 * 2) Open the trap door and throw all of the eggs in. Some of the eggs should hatch into baby chickens and they will start wandering around above the hopper floor.

Why it Works

The chickens in the room with the hopper floor will start laying eggs when they grow up and the eggs will be transported through the hoppers and into the dispenser, which will fire them onto the slab. Some of the eggs will hatch and the baby chickens are not tall enough, even while standing on the slab, to get burnt by the lava that is directly above their heads. However, when they grow up, they are too tall and their heads go straight into the lava. The chickens die and since they burn to death their meat becomes cooked. All of the feathers and chicken that they dropped gets sucked up by the hopper under the slab and deposited into the chest below the hopper.

Poor Man's Beef Farm
Function

An easy and simple way to farm raw beef. This farm utilises water currents and fall damage to kill cows for beef. Cows can be bred within the farm itself, making the farm a renewable source for beef.

Construction


 * 1) Build a 12x12 fenced area.
 * 2) Build 4 upward facing dispensers at all 4 corners and fill them with water buckets.
 * 3) Hook all the dispensers up with redstone.
 * 4) Dig a hole of 13 blocks deep in the center of the fenced area.
 * 5) Build a hopper collection system at the bottom of the hole

Preparation


 * 1) Lead your cows inside by holding wheat.

Usage


 * 1) When the farm is full of cows, activate the dispensers.
 * 2) Kill off some of the cows for beef while leaving some for breeding and re-population.
 * 3) Breed the remaining cows until the farm is full again and repeat the process.

Construction

 * 1) Start with a double chest. This will be the front. To dress it up, you can put two item frames on the front, with a raw beef on the left and a steak on the right. This will help you remember which button to push to kill the cows. Optional: use an anvil to rename one of the chests "Meat locker" and place it first.
 * 2) Behind the chest, use a 2×2 grid of hoppers pointing forward into the chest.
 * 3) Above the chest, place a 2×2 of glass or other transparent block.
 * 4) Make a rear wall of glass.
 * 5) For each side, add a two pillars of opaque blocks 3 high to be the walls.
 * 6) Make the top front block on each side a dispenser pointing inward, with a button on its front side. Put a bucket of water in the top left one, and a bucket of lava in the top right one.
 * 7) Place signs inside at ground level on the 4 internal walls of the blocks. This will hold the killing liquid above the heads of the calves.
 * 8) Make stairs running up to the roof for the left side. Add a roof of a ring of stairs around the outside and attaching four trapdoors to the bottom of the side stairs directly above the internal space.

Preparation

 * 1) Lead your cows inside by holding wheat and standing on top opposite the stairs with the trapdoors open, then close all trapdoors and get down. Kill any remaining cattle by hand. This will be the last time you have to manually kill cattle.
 * 2) Stuff some wheat into your meat locker.

Usage

 * 1) Grab wheat from your meat locker, go up the stairs, open a few of the trapdoors, and feed all the cows. Close all trapdoors when done.
 * 2) Decide whether you want raw beef (useful for trading with village butchers) or cooked steak (useful for eating). Press the appropriate button, wait for the adults to die, then press the button again. Lava takes moments, water takes minutes. Of course, if you are desperate for experience, you can open the trapdoors and slaughter by hand.
 * 3) Grab your produce from the meat locker and walk away.

If you ever need to lead some cattle away to elsewhere, leave the trapdoors open, hit the water button until a sufficient number have

Chickatron 2000
In order to make an Automatic chicken farm, you must first make an egg collector that then shoots those eggs in a holding pen until they are ready to be killed then drown them. You could also use lava but that would require more precision. Video tutorial coming soon.

Cruddly's Porkatron 3000


It greatly speeds up the production of raw porkchops and cooked porkchops by utilizing a gap made by a redstone repeater with a block above to separate the pigs and piglets.

Construction

 * 1) Auto BBQ
 * 2) Place a chest looking to the left of the desired machine area.
 * 3) Connect a hopper in front of the chest (from the machine perspective) to the chest.  Above the hopper place a furnace. On the right of the furnace, connect a hopper for fuel.
 * 4) Above the furnace, connect a hopper for food.
 * 5) Cooking selection
 * 6) Behind the top hopper (2 blocks above the chest), connect another hopper and then connect a hopper to the top of the chest, which will select between modes.
 * 7) To the left of the “selector,” place a solid block, and place a lever on the block. When the lever is down, it will produce raw meat. When flicked up, it will produce cooked meat
 * 8) Separator
 * 9) Behind the collection hopper, connect two more hoppers in a line.
 * 10) Use these hoppers to create a 2 deep containment pit. It is advisable to use glass on the right side to make it easier to check if the pigs have died.
 * 11) Remove the rear lowest wall block to extend the hopper line and place a gate. On the outside of the block to the left of the gate, place a lever to control the gate.
 * 12) Behind the gate, place a redstone repeater and place a solid block above it. This creates a gap that baby pigs can pass through, but adult pigs cannot.
 * 13) Finishing up
 * 14) Behind the slaughterhouse create a 2 deep containment pit. From this pit have steps wind their way clockwise to level with the top of the slaughterhouse. Wrap the stairs in walls and roof suitable for pig containment and leading them to the pit. Glass will make it easy to see the piglets later.
 * 15) Place a downward facing dispenser in the rear top of the containment pit and put a bucket of water into it. On the outside of the block to the left of this dispenser place a button.
 * 16) In front of the dispenser, at the bottom of the top block, place a trapdoor. In front of the trapdoor, on top of the block at the top front of the “slaughterhouse” place a gate, and ensure the walls for pig containment connect neatly with the dispenser, trapdoor hole, and gate.
 * 17) On the top of the dispenser place another gate.
 * 18) Extend the area behind the previous gate for 3 blocks and create stair access from the right side.

Preparation
Lead your pigs via the operator stairs and gate into the slaughterhouse using carrots, potatoes, or beetroots.

Usage
Note: It is advisable to briefly note these instructions on signs next to the machine.
 * 1) Select options: raw or cooked. Open side gate, close top gate. This will allow piglets to escape and be unable to re-enter the slaughterhouse.
 * 2) Open the trapdoor. Feed / breed the pigs, close the trapdoor, then, still holding the carrots, proceed to the rear of the machine to entice piglets out of the slaughterhouse. Once all piglets are out, put the carrots away.
 * 3) Return to the operator gate and look out to the left of the machine for the drowning button and press it. Wait until all pigs have died and press the button again to retract the water.
 * 4) Close the side gate, hold your carrots again, and open the top gate to entice all piglets into the slaughterhouse. Once all piglets are in, close the trapdoor and collect your food from the chest. Note that if using the cooked option, there will be some delay while the furnace slowly cooks all the food. Best to come back later and collect the finished product then.

Modification Notes
Adult pigs cannot fall through a single trapdoor. A single water source dispenser will not drown in any block more than 1 square away. It is possible to use redstone dust to relocate all controls to the front of the machine or the operator gate area if so desired. It is also possible to use an inverter circuit to ensure the top gate and side gate are always in opposite states.

Falling Auto-spawn trap

 * Video

You will need:
 * Resources
 * A light source, such as torches or glowstone
 * Trapdoors
 * Signs
 * Fences
 * A redstone loop
 * Dispensers
 * Hoppers
 * Water buckets
 * Stones
 * Chests


 * Step 1:

Choose any place and put fences here, the fenced area can be bigger, but it's recommended to be big. In this tutorial, the fenced area is small.


 * Step 2:

Make a 2x2 hole. It's recommended to be deep, but if it's smaller, read the optional part later.


 * Step 3:

Place a trapdoor and open it.


 * Step 4:

Place four hoppers.


 * Step 5:

Place four more hoppers and make a hole in the wall.


 * Step 6:

Place two dispensers at the front of the hopper, then place water and a double chest.


 * Step 7:

Make a redstone loop.


 * Step 8:

Close the hole in the wall, where the redstone loop is.


 * Step 9:

Close another hole in the wall. If you have a little hole or you want cooked steak, read the optional steps.

Place two signs.
 * Optional steps

Then place lava.

Sheep farm
This design can shear 100+ sheep in a minute.

First you need to make a flowing water wheat farm, but with higher sides and about 12 blocks wide.

You can use any solid block (can’t use fences or glass panels as sheep get stuck), but you need a way for the grass to grow in the farm - otherwise the sheep won’t regrow their wool. Build an extra level around with grass blocks.
 * 1) Create a dirt/grass platform 5*8 blocks. The outside grass blocks, built around this platform, act as walls, built up 3 blocks so the sheep don’t jump out.


 * 1) Build another level, same dimension (5*8), with the smaller length touching the previous platform. One block above that, place a piston facing down. This will allow you to manage the water flow.


 * 1) Cover the water area with a solid block and have redstone repeaters facing the pistons. Connect them up with a line of redstone and drag it to the other end of the structure. Use a lever to turn them on and ensure all the pistons go down and are powered. If not you may need a few redstone repeaters to keep power going. When all the pistons are powered you can put in the water blocks behind the pistons and ensure the water flows down the first level, but stops just before the hole.


 * 1) You will need a bridge 2 blocks high and 5 long with half-slabs at the other end. This is where your sheep will fall into. Build a 3 block high wall around this area and at the end, place half slabs. The half slabs allow you to gather the wool without gates and stops the sheep from jumping out of your farm.


 * 1) On one side of your sheep farm, the water supply to make the sheep bounce. Build a 3*4 outline using solid blocks that connects to your outer wall, but one block below. Below this, build 2 pistons between the water blocks and the sheep platform. Ensure there is a block below the water holding area. Next connect up the pistons with redstone.


 * 1) One level below that build 2 rows of sticky pistons that face upwards in the middle of your sheep collecting pit. Place grass blocks on these.


 * 1) Point repeaters to all the pistons and connect up with redsone.


 * 1) Move all your levers and redstone paths for easy access, ensuring the lines don’t switch up and power something they shouldn’t, then label them. You should now have one switch powering the water source, another that raises and lowers the platform at the bottom, and the last that turns on and off the water source which makes the sheep bounce. Test to ensure they are all working then go get yourself some sheep!

Warning: If the gathering switch is turned on, ensure the harvesting/other water is off. If they are both on together sheep will bounce over each other and escape.

Remember, if one water is on, the other must be off. The procedure is as follows:


 * 1) Lower the platform.


 * 1) Turn on water torrent.


 * 1) Wait until all the sheep are in the hole.


 * 1) Turn off the gathering switch.


 * 1) Turn on the harvesting switch.


 * 1) Grab your shears, right click and point to a sheep. As they bounce, you will collect wool. Ensure you get all sheep by moving around a bit.


 * 1) Turn off the water and raise the platform.


 * 1) Jump in and collect all the wool.

Notes:
 * The solid blocks can be switched around to make different designs. The only important ones are the grass blocks in the center.
 * This design has been tested with 100 sheep successfully but with that many problems arise. If some of your sheep are missing, they may have glitched through a wall or suffocated due to the maxEntityCramming gamerule.
 * Max time between harvesting: Unknown
 * Max number of sheep possible: Unknown
 * Max number of water levels you can create: Theoretically infinite
 * If you would like it to be wider, you can mirror the design and have two water bodies joining together. However this is the widest combination because you have to be able to control the water.


 * As you can now use shears in dispensers, fully automated wool farms designs are now available.

de::technik:Viehzuchtanlagen 教程/家畜养殖