addEdgeBiome

static void addEdgeBiome(RegistryKey<Biome> parent, RegistryKey<Biome> edge, double weight)

Adds the biome as an an edge biome (excluding as a beach) of the parent biome, with the specified weight.

Parameters

parent

the base biome to where the edge biome is added

edge

the biome to be added as an edge biome

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