Tutorials/Wheat farming


 * ''This page is about wheat farming. For information on the systematic production of other resources, see Renewable Resources.

Farming is a feature in Indev, Infdev, Alpha and Beta implemented on February 6th, 2010. It allows players to create farmland, plant seeds and harvest crops of wheat. Seeds can be found by using a hoe on grass tiles or by harvesting fully grown wheat.

Farmland Tiles
To begin farming you need to craft a hoe. Like all tools hoes will last longer depending on the material they are made of. The hoe can be used to till dirt or grass into farmland by right-clicking. A farmland block will be created dry unless it is near water. If it is near water the block will become hydrated, causing crops to grow faster (this is explained further in the next section). Using a hoe on grass blocks will not only convert it to a farmland tile, but it also has a chance to produce seeds. These which can be planted in any farmland block where they will eventually grow into wheat. Seeds planted on hydrated farmland will grow faster than those on non-hydrated blocks. Using Bone Meal on crops fertilizes the tile and instantly makes the wheat ready for harvest. This allows you to harvest wheat right after planting seeds, making the process of farming much faster. Crops can also be grown at night by placing torches next to them, which will also prevent Mobs from spawning near them.

Notch has stated that some patterns of crops are more productive than others.

Hydrated Farmland Tiles
A hydrated Farmland block is the preferred block for farming. Hydrated farmland will yield a fully developed wheat crop in a little over a single day/night_cycle on a Normal or Woodland themed map (Indev only).

For a Farmland Block to become hydrated, there must either be:


 * 1) Water at the same level, or one block above the farmland block. Water one block below will not work.
 * 2) Water up to four blocks away, including diagonals.
 * 3) The blocks between the farmland block and the water make no difference.

For example: in a nine by nine grid of Farmland blocks, in which the center block is water, all will hydrate.

Farmland Block Decay
Under certain condition a farmland block will "decay", becoming a dirt block regardless of what it was initially. This will occur if any of the following occur:


 * If the player or any animal walks on the block too much. (In the September 18th, 2010 patch, "sneaking" was added, among other things this allows you to walk on farmland blocks without destroying them. This doesn't work in SMP).
 * If the farmland block is not hydrated for too long.

In Infdev a farmland block will not decay if something is planted on it unless it is walked on or the farmland block is in complete darkness (Light level 0). The best way to change a farmland block into a grass block is to wait for it to turn back into dirt. Grass will then grow on it as it normally does.

Harvesting
Crops can be harvested at any time by left-click with any tool, but they will only yield wheat when the the crop has changed from green to brown (second picture below). Harvesting crops at this time will yield between zero to three seeds, and one item of wheat, which can be crafted into Bread or Cake.



Note: In earlier versions of the game, such as /indev/, wheat ceased growing one stage earlier (0x6 in the above image), at which point you were able to harvest wheat.

A ready to harvest crop of wheat.



In some cases crops may be ready to harvest, despite looking too young to harvest. By placing and/or remove a torch a player can force the neighboring tiles to visually update instantly, instead of at the normal pace of the game. This technique only updates the appearance of the crops, which occurs naturally through harvesting neighboring crops; it will not speed up the growth of crops.

Growth and Destruction
Crops will only grow under the following conditions:


 * If they are receiving at least 9 (light)
 * If there is at least one block of space above the height of the fully grown crop (glass counts as empty)

Crops do not need water to grow, however crops can also be destroyed if the farmland block they are placed on reverts to dirt.

If you right click crops with Bone Meal selected, they will grow into full crops almost instantly.

Growth Rate
For the fastest growth, watered farmland with crops on all neighboring squares or in rows is ideal. This increases the growth rate amount to the maximum of 4.5, as described below in pseudocode. This is then used every time the crop block ticks which will then grow if a random number generated from zero up to int(100/growthRate) is zero. def getGrowthRate(crop): if blockBelow(crop).isWatered: growthRate = 3.0 else: growthRate = 1.0

for neighbor in horizontalNeighbors(crop): if neighbor.isCrop: if BlockBelow(neighbor).isWatered: growthRate += 0.75 else: growthRate += 0.25

if (CropsOnXNeighbors(crop) and CropsOnYNeighbors(crop)) or CropsOnXYNeighbors(crop): growthRate = growthRate / 2.0

return growthRate

Note: As of Beta 1.2, you can use Bonemeal to fertilize crops, making them instantly finished.

Optimal Patterns
The following crop placement patterns all lead to an optimal growth rate of 4.5 for the middle block:





A Sub-optimal Pattern
The following crop placement will lead to halved growth rate for the middle block (see last part of pseudo code in previous section):



Navigation
Landwirtschaft