addShoreBiome

static void addShoreBiome(RegistryKey<Biome> parent, RegistryKey<Biome> shore, double weight)

Adds the biome as a shore/beach biome for the parent biome, with the specified weight.

Parameters

parent

the base biome to where the shore biome is added

shore

the biome to be added as a shore 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