OverworldBiomes

public final class OverworldBiomes

API that exposes some internals of the minecraft default biome source for the overworld.

Experimental feature, may be removed or changed without further notice.

Functions

addBiomeVariant
Link copied to clipboard
static void addBiomeVariant(RegistryKey<Biome> replaced, RegistryKey<Biome> variant, double chance, Array<OverworldClimate> climates)
Adds a 'variant' biome which replaces another biome on occasion.
addContinentalBiome
Link copied to clipboard
static void addContinentalBiome(RegistryKey<Biome> biome, OverworldClimate climate, double weight)
Adds the biome to the specified climate group, with the specified weight.
addEdgeBiome
Link copied to clipboard
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.
addHillsBiome
Link copied to clipboard
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.
addShoreBiome
Link copied to clipboard
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.
setRiverBiome
Link copied to clipboard
static void setRiverBiome(RegistryKey<Biome> parent, RegistryKey<Biome> river)
Sets the river type that will generate in the biome.

Sources

jvm source
Link copied to clipboard