public class PEBiomeSource extends BiomeSource implements ClimateSampler, SkyClimateSampler, BiomeResolverOcean, BiomeResolverBeach
seed, settings| Constructor and Description |
|---|
PEBiomeSource(long seed,
ModernBetaGeneratorSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.world.biome.Biome |
getBeachBiome(int x,
int z)
Gets a beach biome to overwrite the original biome at given coordinates and sufficient depth.
|
net.minecraft.world.biome.Biome |
getBiome(int x,
int z)
Gets a biome for biome source at given coordinates.
|
net.minecraft.world.biome.Biome |
getOceanBiome(int x,
int z)
Gets an ocean biome to overwrite the original biome at given coordinates and sufficient depth.
|
Clime |
sample(int x,
int z)
Sample temperature/rainfall values in range [0.0, 1.0] given block coordinates.
|
boolean |
sampleBiomeColor()
Indicate to block colors whether to sample climate values for biome tinting.
|
boolean |
sampleForFeatureGeneration()
Indicate whether to sample climate values for features, e.g.
|
boolean |
sampleSkyColor()
Indicate whether to sample climate values for sky color.
|
double |
sampleSkyTemp(int x,
int z)
Sample temperature value from given coordinates,
to use to provide sky color.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeepOceanBiomepublic PEBiomeSource(long seed,
ModernBetaGeneratorSettings settings)
public net.minecraft.world.biome.Biome getBiome(int x,
int z)
BiomeSourcegetBiome in class BiomeSourcex - x-coordinate.z - z-coordinate.public net.minecraft.world.biome.Biome getOceanBiome(int x,
int z)
BiomeResolverOceangetOceanBiome in interface BiomeResolverOceanx - x-coordinate.z - z-coordinate.public net.minecraft.world.biome.Biome getBeachBiome(int x,
int z)
BiomeResolverBeachgetBeachBiome in interface BiomeResolverBeachx - x-coordinate.z - z-coordinate.public double sampleSkyTemp(int x,
int z)
SkyClimateSamplersampleSkyTemp in interface SkyClimateSamplerx - x-coordinate in block coordinates.z - z-coordinate in block coordinates.public Clime sample(int x, int z)
ClimateSamplersample in interface ClimateSamplerx - x-coordinate in block coordinates.z - z-coordinate in block coordinates.public boolean sampleSkyColor()
SkyClimateSamplersampleSkyColor in interface SkyClimateSamplerpublic boolean sampleBiomeColor()
ClimateSamplersampleBiomeColor in interface ClimateSamplerpublic boolean sampleForFeatureGeneration()
ClimateSamplersampleForFeatureGeneration in interface ClimateSampler