Tutorials/Huge fungus generation

Overview
This page aims to discuss the generation and harvesting of huge fungus

- Some theorised methods will also be discussed, such as RNG manipulation, and self-sustaining N-Core designs.

Glossary:
Rates: The farm's collectable item output, normally measured in items per hour

Efficiency: The output compared to the maximum possible output, in this case, the number of blocks of a huge fungi that are harvested, compared to the number that can possibly generate.

gt: Game ticks, 1/20th of a second

RNG: Random Number Generator, can be manipulated using the seed.

hat: The 'leaves' of a huge fungus that generate around the trunk. This does not include vines.

vines: The wart blocks/weeping vines generated on the bottom of a hat.

ring value: Equidistant (square radii) layers from the centre of the trunk.

decoration: Shroomlights.

peak: A region of the hat that is equidistant from the trunk, i.e. all have the same ring value.

Natural Generation
Huge fungi generate naturally in only 2 biomes situated in the Nether (DIM-1); the warped forest, where you can find warped huge fungi, and the crimson forest, where you can find crimson huge fungi. Huge fungi only generate naturally in their respective biome.

Unlike player grown huge fungi, naturally generated huge fungi have a 1/10 chance of growing with a 3x3 plus shape of stem blocks with a distribution of air and stem blocks in the corner of the plus shape, rather than the 1x1 column of stem blocks that will always generate with player grown variants. This increased trunk width does not increase the thickness of the surrounding wart block layers, but it does allow for a ring value of 4 which means that the bounding box of the leaves is 'filled in' more but not expanded. Think of it like a 1x1 trunked huge fungus is a ballon in a glass cube with it's edges touching each side of the container, a 3x3 trunked huge fungus will be that same balloon with the same restrictions, but will expand a bit to fill the corners of the box slightly more.

If a player bonemeals a fungus, and if that fungus is directly above its respective nylium block (e.g. warped fungus on warped nylium), there will be a 40% chance that it will grow. So if a player bonemeals a fungus 4 times, there will be an 87.04% chance it will grow, (99.998% chance if 20 attempts are made).

A fungus plant (the 'sapling' of huge fungi), will not grow by itself through random ticks, unlike traditional saplings.

When a fungus grows, it doesn't check for blocks above or around it, or which dimension it’s in, this allows for pistons to be situated adjacent to the trunk, allowing for extremely fast cycle speeds.

A fungus will not grow if it is obscured by the height limit or if it is placed outside of the world.

To determine the height of a huge fungus, a random integer is picked between 4 and 13 [inclusive], then there is a 1/12 chance for that integer to be doubled. This integer is the height of the trunk in stem blocks, meaning that the tallest tree can be 27 blocks tall (as the top is covered in hat blocks) with a 1/120 chance of generating.

Now the process of generating the hat of the farm is quite complex in comparison

First of all a hat height (h) value is found using the same equation for the height of the tree. This value is later used to determine multiple other variables that we’ll touch onto shortly

The first of which is the hat’s height off the ground (i) which is found from taking the minimum value of either a random integer up to (1 + h/3) + 5, or h.

The height of the hat from bottom to top (j) is found by h - i

The ring value (l) at a specific height (k) is equal to 2 if k < h – a random integer up to 3, otherwise it is equal to 1, also if i > 8 and k < j + 4 then l = 3. This statement allows for 1 3-wide layer of a huge fungus to form, this can only ever occur in tree’s that are at least 8 blocks off the ground. While it may look like some huge fungi have more than 1 layer of 3 wide growth, these additional layers are actually vines which are generated separately from the ‘brim’ (3 wide layer).

The height of each peak of a huge fungus is found by analysing the value of a random integer up to 3, which was housed in the earlier equation used for calculating ‘l’.

To further our discussion on huge fungus generation we will need to split it up into 4 distinct zones:

Internal: redstone blocks

External: white stained glass

Corners: yellow stained glass

Vines: lime stained glass

Each zone has its own chance of generating a block per coordinate in 3D space, as well as a chance of the block being decorative.

We will be ignoring vines for the time being, they are here just to illustrate where the bottom of the hat begins.

This truth table demonstrates the possible outcomes for a particular block

Dispenser Grown
Similarly, if bonemeal is placed inside of a dispenser, and then that dispenser is pointing into a fungus plant on its respective nylium block, then there will also be a 40% chance of it growing per attempt. Dispensers can be used to automatically grow the fungus plant, and up to 5 can surround a fungus plant, allowing for fungi to grow at 5hz on average.

Note: There is no diminish in return with bonemeal efficiency, and dispensers used.

Harvesting Methods
There are a multitude of ways in which huge fungi can be farmed, here are some of the more common and technical methods.

Manual Harvesting
During the early game where redstone resources are limited, certain manual harvesting methods are utilised. While it is recommended that a player gathers resources to make a farm, rather than spending that time manually farming, certain manual harvesting methods have arisen.

Nether Exploration
Collecting huge fungi blocks in their own biomes is a great way to collect a sufficient amount of wood and decorative blocks early game.

The fastest way to use this method is to make an efficiency 5 netherite axe and hoe, then travel to the nether and fly around using an elytra until you come across a warped or crimson forest. If it's a crimson forest, be sure to bring warped fungus to repel hoglins (must be planted, with an area of effect of 15 blocks).

After planting a fungus, build a 3x3 platform of gold blocks with a beacon on top for the haste 1 effect. Fly up from the beacon base and destroy the netherrack obstructing the beacon beam. The haste 1 effect, will reduce the mining time per stem block by 2gt [check]. This will also help when mining wart blocks and shroomlights, as when combined with an efficiency 3 netherite or diamond hoe, you will be able to mine each block in 1gt [check]. Setting up and removing a 1 layer beacon in the nether takes on average 600gt, so this beacon method will only be effective if you are mining more than 300 stem blocks, or if it is necessary for instant mining more than 38 blocks. Once the beacon is set up, you can begin harvesting trees. Huge Fungi normally generate together in clumps, so it's best to climb to the top using twisting vines, and then mine from the top down. Be sure to use a hoe to mine the leaf blocks (wart blocks and shroomlights), and your axe to harvest the stems.

To marginally increase speed, carry with you a few shulker boxes of unbreaking 3, efficiency 5, gold axes to reduce the mining speed by 1gt per stem block.

Greenhouse
Place 2 nylium in a 3x3 grid pattern with 6 blocks in between each one. Then construct a water stream platform beneath it. Have the water stream funnel the items into a chest storage, connected by a hopper. To use the manual farm, place down a fungus on each nylium block, then grow the fungi using bonemeal. Now climb to the top using ladders, a bubble column, scaffolding or vines, and mine out the huge fungi from the top down. After harvesting the huge fungi, collect any items that didn't drop into the water stream below.

Block Chamber/Storage
Build a traditional semi-automatic huge fungi farm, and connect the block stream to a block chamber. When you would like to harvest the blocks, climb to the top of the storage and mine them out using haste 2 and an efficiency 5 netherite axe and hoe.

Semi-Automatic
Semi-Automatic harvesting is when everything in a farm is self-sufficient except for the input.

In the case of semi-automatic huge fungi farms, this would be the placement of fungi plants and often, but not always, supplying it with bonemeal.

Positives
Very fast rates, inexpensive, lag friendly on small scales, produces every block from the tree (wart blocks, shroomlights and weeping vines included)

Negatives
Usually quite block inefficient, consumes high amounts of bonemeal, high-frequency designs can be locational and directional

Single Core
1 nylium, slow rates, average efficiency.

Dual Core
2 nylium, average rates, low efficiency

Quad-Core
4 nylium, fast rates, low efficiency.

(No publicly available designs)

Self-Sustaining
Once built, a Self-Sustaining Huge Fungi Farm can run without player interaction as long as it is kept loaded.

Positives
Can run in loaded chunks without the need for a player to plant any fungus, can generate a surplus of bonemeal

Negatives
Slow, more expensive to build, laggy, and limited (if any) wart blocks and shroomlights are produced, often unreliable.

Growing Area
Max 5x5 area of nylium to grow fungus plants using bonemeal.

Flying Machine
Flying Machine pushing into a TNT dropping zone.

Blast Chamber
Directly Above, Piston column pushes away trunk, while tnt dupers blow up the huge fungus from above

N-Core
Theoretically, the fastest way to harvest huge fungi

RNG Huge Fungus Farming
Manipulate RNG to generate a 5x5 platform of fungus, which all grow on the first bonemeal attempt to produce the largest huge fungi possible (7x7x27)

Fungus Farming
The collection of fungus plants to grow in a huge fungi farm

Dissection of nether foliage distribution: