public abstract class BiomeResolverAddSingleBiome extends java.lang.Object implements BiomeResolverCustom
| Constructor and Description |
|---|
BiomeResolverAddSingleBiome(net.minecraft.world.biome.Biome biome,
long seed,
long climateSeed,
long detailSeed,
float chance)
Constructs a biome resolver which provides a single biome if it meets a certain climate threshold.
|
BiomeResolverAddSingleBiome(net.minecraft.util.ResourceLocation biome,
long seed,
long climateSeed,
long detailSeed,
float chance)
Constructs a biome resolver which provides a single biome if it meets a certain climate threshold.
|
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.world.biome.Biome |
getCustomBiome(int x,
int z)
Gets a custom biome to overwrite the original biome at given coordinates.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCustomPredicate, useCustomResolverpublic BiomeResolverAddSingleBiome(net.minecraft.util.ResourceLocation biome,
long seed,
long climateSeed,
long detailSeed,
float chance)
biome - The ResourceLocation of the biome to return if climate threshold is met.seed - The world seed.climateSeed - The climate seed multiplier. Ideally should be an odd prime number.detailSeed - The detail seed multiplier. Ideally should be an odd prime number.chance - The threshold for the climate noise to meet to return the biome. Between 0.0 and 1.0 inclusive.public BiomeResolverAddSingleBiome(net.minecraft.world.biome.Biome biome,
long seed,
long climateSeed,
long detailSeed,
float chance)
biome - The biome to return if climate threshold is met.seed - The world seed.climateSeed - The climate seed multiplier. Ideally should be an odd prime number.detailSeed - The detail seed multiplier. Ideally should be an odd prime number.chance - The threshold for the climate noise to meet to return the biome. Between 0.0 and 1.0 inclusive.public net.minecraft.world.biome.Biome getCustomBiome(int x,
int z)
BiomeResolverCustomgetCustomBiome in interface BiomeResolverCustomx - x-coordinate.z - z-coordinate.