addHillsBiome

static void addHillsBiome(RegistryKey<Biome> parent, RegistryKey<Biome> hills, double weight)

Adds the biome as a hills variant of the parent biome, with the specified weight.

Parameters

parent

the biome to where the hills variant is added

hills

the biome to be set as a hills variant

weight

the weight of the entry. The weight in this method corresponds to its selection likelihood, withheavier biomes being more likely to be selected and lighter biomes being selected with less likelihood.Mods should use 1.0 as the default/normal weight.

Sources

jvm source
Link copied to clipboard