Minecraft wiki entry for Huge_fungus_generation, associated text: 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