Tutorials/Sugar cane farming

Sugar cane is a valuable plant for crafting rockets, making books for bookshelves, maps, and trading paper. Sugar cane can also be used with a composter to get bonemeal, however, melon farms are probably more suited for this. The large amount of sugar cane obtainable from some of these farms can make it much easier to get firework rockets or emeralds.
== Mechanics ==
Sugar cane can only be planted on grass block, dirt, coarse dirt, rooted dirt, podzol, mycelium, sand, red sand, moss block and mud. The block must be directly adjacent to water and not merely above or diagonal as with crops. If a plant's water source is removed, it breaks when it is next updated. , the sugar cane is updated with its water, so it breaks immediately.
Every 16 random ticks, sugar cane grows 1 block in height, similar to how cactus, kelp, and bamboo grow. On average, sugar cane grows 1 block every 18 minutes. Sugar cane's growth rate is unaffected by the absence of light.
Sugar cane can naturally grow up to 3 blocks in height. This limit can be bypassed by placing additional plants on top of an existing one but it does not grow naturally any further.
Sugar cane, like saplings, wheat, and cacti, grows only if the chunk they are on is loaded into memory, so you should not venture too far from the field if you want it to grow. The growth range is based on simulation distance.
== Manual farm designs ==
The first step in building a sugar cane farm is choosing a design. When starting out, simply placing sugar cane on a river bank should be sufficient. However, this quickly becomes impractical when implemented on a large scale. Sugar cane farms must balance between compactness, ease of harvest, and difficulty to build.
A double rowed design, while not the most efficient of designs as it has only 2 canes per water, is relatively easy to build and harvest. It is also a good choice for some of the semi-automatic designs below. With this design, it is recommended to use flowing water rather than water sources. Not only is it easier to build it flowing, but when harvesting, any items that fall into the water flow into a central location.
A more efficient grid pattern design can also be used. This design has 4 sugar canes per water source, so it is highly compact. Placing lily pads or something similar on top of all water blocks makes the ground smooth and easy for the player to walk on without falling. Light blocks can be used under or above the water to prevent mob spawning. Slabs or trapdoors can be placed as waterlogged blocks in the upper half of the water sources instead of lily pads without interfering with their ability to sustain plant growth.
When harvesting, walk slowly and sweep side to side breaking all but the bottom block of each sugar cane. Then, pick up any missed items and continue. Watch out for creepers camouflagued among the plants.
== Semi automatic farm designs ==
, when sugar cane's water source is removed, it immediately breaks. Using this principle, it is easy to create semi-automatic farms that harvest the sugar cane. These designs should still work , however, it takes a bit more time for the sugar cane to break. Some other designs here are classified as semi-automatic due to their lack of ability to pick up the sugar cane. These can often be easily converted into automatic designs as seen in the next section.
=== Water canal design ===
Build the double rowed design as shown in the manual farms list. Then, place dispensers containing water buckets to control the water flow. Removing the water streams with the dispensers should cause the sugar cane to break so the player can pick them up and replant.
=== Piston harvester ===
This design uses pistons to harvest the sugar cane. If the sugar cane is only two blocks tall, it can all be pushed into a water stream. However, if it grows any taller, the top blocks may fall down to the sand where the player can pick it up. This design is often used as the basis for fully automatic farms, however, it must be modified to push the top blocks as well or some of the sugar cane may be lost.
=== Bone meal design ===
, bone meal can be used to instantly grow sugar cane to maximum height. This mechanic can be used to create automatic sugar cane farms.
In the shown design, the dispenser can be filled with bone meal to constantly grow the sugar cane. Since bone meal is not used up on fully grown sugar cane, none is wasted. The player can then stand and constantly break the middle block of sugar cane to quickly farm large quantities.
It is not difficult to connect this with a piston to make it more automatic. However, since pistons cannot push and retract as quickly as the observer clock, it may be desirable to use a different redstone clock. Additionally, a single hopper may not be able to keep up with the large amount of sugar cane, so multiple hoppers or a slower clock should be used. Ideally, a 4 gametick delay clock should be used instead of an observer clock. Even more ideal is a 2 gametick alternating dispenser bonemeal system with a ravager in a minecart to break the top 2 sugarcane blocks.
== Fully automatic designs ==
Fully automatic designs automatically harvest and collect sugar cane, usually relying on some sort of redstone clock or growth detection. These designs are often expensive to build and more lag prone than other designs. However, the large amount of sugar cane they produce can pay off.
The easiest way is to pillar up 3 blocks, and the second block is a piston,the third an observer. Plant the sugarcane and collect it using a hopper system or any other means.
There are four main types of automatic sugar cane farms: Stationary, flying, sim-tick, and zero-tick. Stationary designs, while simpler for platforms without quasi-connectivity, are generally more resource and space intensive as compared to flying designs. Flying designs usually require slime blocks however which may be difficult to obtain for some players. Sim-tick designs move the player so the plant is out of simulation distance, then uses a sticky piston that is within simulation distance to remove and then replace the block beneath it, and when you move back so the plant is within simulation distance, the plant has grown. Zero-tick designs remove and replace a requirement for the plant within the same game tick, also forcing a growth update. These designs usually use pistons or sand manipulation. Zero-tick sugar cane farms are faster , with some getting at or above 2,000 sugarcane per hour per plant.
=== Stationary design ===
By using a daylight sensor or other clock circuit, the semi-automatic piston design is shown above can be made fully automatic. To make it more lossless, it is recommended to add another layer of pistons above the original one. , these designs can be an alternative to flying machines that are difficult to create and use for this purpose.
Other variations are also possible, such as this diagonal design which uses a hopper clock rather than a daylight sensor.
Rather than use a clock, some designs use observers to harvest the sugar cane as soon as it grows. Designs such as these may inefficiently use space compared to the clock method. Since simple designs cause all of the pistons to activate anytime sugar cane grows, they are often less lag efficient too. Repeaters can be used to create a simple alternating pattern to singly fire the pistons. Creating your farm with two rows of sugarcane and two rows of pistons facing each other solves the problem of the central sugarcane being pushed, while the top sugarcane drops straight down. A double row of hoppers or a hopper cart system can feed a timed dropper to load the sugarcane into a water sorting/transportation system.
When constructing, the sugar cane goes on the dirt and rails run where the minecart is shown. The hopper minecart can be replaced with a line of hoppers if the sugar cane is planted on mud.
Farms can be designed to cost less resources early game by replacing the hopper minecart and rails with a water stream and a singular hopper. These designs are also significantly quieter since they remove the minecart traveling underneath. These designs can also be more server-friendly than traditional hopper minecart designs as some servers choose to disallow minecarts to reduce lag. The downside of these designs is that occasionally items can land on the sand and not be picked up, meaning they are not lossless.
It is possible to speed up the process of sugar cane by removing the water source and replacing it in the same game tick, this process is called zero-ticking. Although this does not work in Java Edition as of 1.16 it does work in Bedrock.
=== Flying design ===
The use of flying machines and hopper minecarts can be combined to create some of the most efficient farms. Flying machine designs generally use only a few pistons and don't create lag except when harvesting. This is usually the preferred type of design when creating a large farm. The main disadvantage to farms such as these is that they can break if unloaded while running. Due to this, it can be risky to have these run without supervision.
This video has some useful information regarding flying sugar cane farming. It contains a practically lossless flying machine design similar to the one above. The lossless design works by covering the water with leaves and using the flying machine to ensure items pushed to places they can be picked up.
Some flying farms focus on just individual rows of sugar cane, instead of larger fields. Designs like these typically cost fewer slime blocks to build, and are usually the cheapest option for mass farming.
This farm uses a four directional flying machine which works out cheaper than most designs, especially for larger farms. It even can reduce the lag caused by entites as it drops less entities into the world.
Category:Modernized tutorial
de::technik:Zuckerrohrfarm
ja:チュートリアル/サトウキビの栽培
ru:Тростниковая ферма
zh:教程/甘蔗种植