Tutorials/Sweet berry farming

This tutorial instructs you, as the player, how to build an automatic sweet berry farm.

Reason
Sweet berries grow on sweet berry bushes and will eventually replenish after being harvested, making it possible to farm them. Automatic farms allow the player to get a large amount of sweet berries without needing to harvest them manually.

Materials
To build an automatic sweet berry farm, you must have the following materials:


 * A stack of any solid building block such as cobblestone, planks, or terracotta.
 * A stack of dirt for planting the sweet berry bushes.
 * A minecart with hopper for transferring the berries to a hopper that itself transfers them to a storage block.
 * Rails for allowing the minecart to move under the dirt layer and collect the dropped berries.
 * Enough powered rails to make the minecart moves infinitely.
 * A chest or barrel for storing the sweet berries that come from the hopper.
 * Blocks of redstone for activating the powered rails.
 * Foxes to harvest the sweet berry bushes, allowing them to be transferred to the minecart with hopper and then to the hopper and storage block, essentially powering the farm. Make sure to protect the foxes from wolves and polar bears.

Building
First you need to build a rail system that makes the minecart moves in an infinite loop and you need to power it with powered rails and rails should be placed on a flat square surface and make sure to place rails on the top of every block on the surface and you need to replace a block from this surface with a hopper that is linked to the storage.

Second you need to build a flat Dirt surface above the rail system after placing the minecart on the rails and making it move infinitly by pushing it into any direction.

Third you need to build at least a 5 blocks tall walls that does not allow Foxes to leave the farm.

Fourth you need to plant sweet berrie bushes by planting a regular sweet berries on the dirt layer.

Fifth bring Foxes to the top of the dirt layer.