Freeze top layer

A freeze top layer is a feature found throughout the Overworld.

Generation
Freeze top layer is a feature that is used to add snow and ice to mountains and cold biomes

Freeze top layer tries to generate in all chunks in Overworld. In each chunk, it tries at each block column to generate snow or ice on the terrain surface if the height adjusted temprature there is cold enough and the block light level is less than 10. If the surface is water, an ice block replaces the water. And a snow tries to generate on the surface if it can attach on the surface's block.

ID




$$, it is not a feature technically. The game simply iterates through each horizonal coordinate after the chuck generation is complete to generate ice and snow.