Package net.minecraft.world.biome
Class Biome
java.lang.Object
net.minecraft.world.biome.Biome
public final class Biome extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class 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
-
Field Summary
Fields Modifier and Type Field Description private Biome.Category
category
static com.mojang.serialization.Codec<Biome>
CODEC
private float
depth
private BiomeEffects
effects
static com.mojang.serialization.Codec<Biome>
field_26633
static com.mojang.serialization.Codec<List<Supplier<Biome>>>
field_26750
static OctaveSimplexNoiseSampler
FOLIAGE_NOISE
private static OctaveSimplexNoiseSampler
FROZEN_OCEAN_NOISE
private GenerationSettings
generationSettings
static Logger
LOGGER
static com.mojang.serialization.Codec<Supplier<Biome>>
REGISTRY_CODEC
private float
scale
private SpawnSettings
spawnSettings
private Map<Integer,List<StructureFeature<?>>>
structures
private static OctaveSimplexNoiseSampler
TEMPERATURE_NOISE
private ThreadLocal<Long2FloatLinkedOpenHashMap>
temperatureCache
private Biome.Weather
weather
-
Constructor Summary
Constructors Modifier Constructor Description private
Biome(Biome.Weather weather, Biome.Category category, float depth, float scale, BiomeEffects effects, GenerationSettings generationSettings, SpawnSettings spawnSettings)
-
Method Summary
-
Field Details
-
LOGGER
-
CODEC
-
field_26633
-
REGISTRY_CODEC
-
field_26750
-
TEMPERATURE_NOISE
-
FROZEN_OCEAN_NOISE
-
FOLIAGE_NOISE
-
structures
-
weather
-
generationSettings
-
spawnSettings
-
depth
private final float depth -
scale
private final float scale -
category
-
effects
-
temperatureCache
-
-
Constructor Details
-
Biome
private Biome(Biome.Weather weather, Biome.Category category, float depth, float scale, BiomeEffects effects, GenerationSettings generationSettings, SpawnSettings spawnSettings)
-
-
Method Details
-
getSkyColor
@Environment(CLIENT) public int getSkyColor() -
getSpawnSettings
-
getPrecipitation
-
hasHighHumidity
public boolean hasHighHumidity() -
computeTemperature
-
getTemperature
-
canSetIce
-
canSetIce
-
canSetSnow
-
getGenerationSettings
-
generateFeatureStep
public void generateFeatureStep(StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, ChunkRegion region, long populationSeed, ChunkRandom random, BlockPos pos) -
getFogColor
@Environment(CLIENT) public int getFogColor() -
getGrassColorAt
@Environment(CLIENT) public int getGrassColorAt(double x, double z) -
getDefaultGrassColor
@Environment(CLIENT) private int getDefaultGrassColor() -
getFoliageColor
@Environment(CLIENT) public int getFoliageColor() -
getDefaultFoliageColor
@Environment(CLIENT) private int getDefaultFoliageColor() -
buildSurface
public void buildSurface(Random random, Chunk chunk, int x, int z, int worldHeight, double noise, BlockState defaultBlock, BlockState defaultFluid, int seaLevel, long seed) -
getDepth
public final float getDepth() -
getDownfall
public final float getDownfall() -
getScale
public final float getScale() -
getTemperature
public final float getTemperature() -
getEffects
-
getWaterColor
@Environment(CLIENT) public final int getWaterColor() -
getWaterFogColor
@Environment(CLIENT) public final int getWaterFogColor() -
getParticleConfig
-
getLoopSound
-
getMoodSound
-
getAdditionsSound
-
getMusic
-
getCategory
-
toString
-