public final class Biome extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Biome.Builder |
static class |
Biome.Category |
static class |
Biome.MixedNoisePoint
Represents a point in a multi-dimensional cartesian plane.
|
static class |
Biome.Precipitation |
static class |
Biome.TemperatureModifier |
(package private) static class |
Biome.Weather |
Modifier and Type | Field and Description |
---|---|
private Biome.Category |
category |
static com.mojang.serialization.Codec<Biome> |
CODEC |
private float |
depth |
private BiomeEffects |
effects |
private static OctaveSimplexNoiseSampler |
field_26392 |
static com.mojang.serialization.Codec<Biome> |
field_26633 |
private Map<Integer,List<StructureFeature<?>>> |
field_26634 |
static com.mojang.serialization.Codec<List<Supplier<Biome>>> |
field_26750 |
static OctaveSimplexNoiseSampler |
FOLIAGE_NOISE |
private GenerationSettings |
generationSettings |
static Logger |
LOGGER |
static com.mojang.serialization.Codec<Supplier<Biome>> |
REGISTRY_CODEC |
private float |
scale |
private SpawnSettings |
spawnSettings |
private static OctaveSimplexNoiseSampler |
TEMPERATURE_NOISE |
private ThreadLocal<it.unimi.dsi.fastutil.longs.Long2FloatLinkedOpenHashMap> |
temperatureCache |
private Biome.Weather |
weather |
Modifier | Constructor and Description |
---|---|
private |
Biome(Biome.Weather weather,
Biome.Category category,
float depth,
float scale,
BiomeEffects effects,
GenerationSettings generationSettings,
SpawnSettings spawnSettings) |
public static final Logger LOGGER
public static final com.mojang.serialization.Codec<Biome> CODEC
public static final com.mojang.serialization.Codec<Biome> field_26633
private static final OctaveSimplexNoiseSampler TEMPERATURE_NOISE
private static final OctaveSimplexNoiseSampler field_26392
public static final OctaveSimplexNoiseSampler FOLIAGE_NOISE
private final Map<Integer,List<StructureFeature<?>>> field_26634
private final Biome.Weather weather
private final GenerationSettings generationSettings
private final SpawnSettings spawnSettings
private final float depth
private final float scale
private final Biome.Category category
private final BiomeEffects effects
private final ThreadLocal<it.unimi.dsi.fastutil.longs.Long2FloatLinkedOpenHashMap> temperatureCache
private Biome(Biome.Weather weather, Biome.Category category, float depth, float scale, BiomeEffects effects, GenerationSettings generationSettings, SpawnSettings spawnSettings)
@Environment(value=CLIENT) public int getSkyColor()
public SpawnSettings getSpawnSettings()
public Biome.Precipitation getPrecipitation()
public boolean hasHighHumidity()
private float computeTemperature(BlockPos pos)
public final float getTemperature(BlockPos blockPos)
public GenerationSettings getGenerationSettings()
public void generateFeatureStep(StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, ChunkRegion region, long populationSeed, ChunkRandom random, BlockPos pos)
@Environment(value=CLIENT) public int getFogColor()
@Environment(value=CLIENT) public int getGrassColorAt(double x, double z)
@Environment(value=CLIENT) private int getDefaultGrassColor()
@Environment(value=CLIENT) public int getFoliageColor()
@Environment(value=CLIENT) private int getDefaultFoliageColor()
public void buildSurface(Random random, Chunk chunk, int x, int z, int worldHeight, double noise, BlockState defaultBlock, BlockState defaultFluid, int seaLevel, long seed)
public final float getDepth()
public final float getDownfall()
public final float getScale()
public final float getTemperature()
public BiomeEffects getEffects()
@Environment(value=CLIENT) public final int getWaterColor()
@Environment(value=CLIENT) public final int getWaterFogColor()
@Environment(value=CLIENT) public Optional<BiomeParticleConfig> getParticleConfig()
@Environment(value=CLIENT) public Optional<SoundEvent> getLoopSound()
@Environment(value=CLIENT) public Optional<BiomeMoodSound> getMoodSound()
@Environment(value=CLIENT) public Optional<BiomeAdditionsSound> getAdditionsSound()
@Environment(value=CLIENT) public Optional<MusicSound> getMusic()
public final Biome.Category getCategory()