QtCraft API C++ classes QML types Handbook

QcColdEdgeSettings Struct

Soft edges of cold biomes (decision E-858): the top water layer freezes by the temperature of its column with a noise instead of by biome, rivers only further into the cold, and the ground blocks of a column come from the biome a few blocks away in a jittered direction, so they mix over the border. More...

Header: #include <common/content/worldgen/QcWorldgenDefinitions.h>

Public Variables

int groundBlend
QString iceBlock
double ragged
double riverTemperature
double temperature

Static Public Members

const int maxGroundBlend

Detailed Description

Without freezing in terrain.json the biomes' frozenWater freezes all their water.

Member Variable Documentation

int QcColdEdgeSettings::groundBlend

Columns take their ground blocks from the biome up to this many blocks away; 0: their own.

QString QcColdEdgeSettings::iceBlock

The block still water freezes to where its biome names none; empty: freezing by biome.

const int QcColdEdgeSettings::maxGroundBlend

Largest accepted groundBlend.

double QcColdEdgeSettings::ragged

Amplitude of the noise added to the temperature: the ice's edge frays by about this much.