Package net.minecraft.world.level.biome
Class Biome
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<V>
net.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<Biome>
net.minecraft.world.level.biome.Biome
- All Implemented Interfaces:
IForgeRegistryEntry<Biome>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic PerlinSimplexNoise
private Biome.BiomeCategory
private Biome.ClimateSettings
private float
static com.mojang.serialization.Codec<Biome>
(package private) static PerlinSimplexNoise
private BiomeGenerationSettings
static org.apache.logging.log4j.Logger
private MobSpawnSettings
static com.mojang.serialization.Codec<Biome>
private float
private BiomeSpecialEffects
private Map<Integer,List<StructureFeature<?>>>
private static int
private static PerlinSimplexNoise
private ThreadLocal<it.unimi.dsi.fastutil.longs.Long2FloatLinkedOpenHashMap>
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ConstructorDescriptionBiome(Biome.ClimateSettings p_47447_, Biome.BiomeCategory p_47448_, float p_47449_, float p_47450_, BiomeSpecialEffects p_47451_, BiomeGenerationSettings p_47452_, MobSpawnSettings p_47453_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildSurfaceAt(Random p_151683_, ChunkAccess p_151684_, int p_151685_, int p_151686_, int p_151687_, double p_151688_, BlockState p_151689_, BlockState p_151690_, int p_151691_, int p_151692_, long p_151693_)
void
generate(StructureFeatureManager p_47485_, ChunkGenerator p_47486_, WorldGenRegion p_47487_, long p_47488_, WorldgenRandom p_47489_, BlockPos p_47490_)
float
float
getDepth()
float
int
int
private int
int
getGrassColor(double p_47465_, double p_47466_)
private int
private float
getHeightAdjustedTemperature(BlockPos p_47529_)
float
getScale()
int
float
getTemperature(BlockPos p_47506_)
int
int
boolean
isColdEnoughToSnow(BlockPos p_151697_)
boolean
isHumid()
boolean
shouldFreeze(LevelReader p_47478_, BlockPos p_47479_)
boolean
shouldFreeze(LevelReader p_47481_, BlockPos p_47482_, boolean p_47483_)
boolean
shouldSnow(LevelReader p_47520_, BlockPos p_47521_)
toString()
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
LOGGER
public static final org.apache.logging.log4j.Logger LOGGER -
DIRECT_CODEC
-
NETWORK_CODEC
-
CODEC
-
LIST_CODEC
-
structuresByStep
-
TEMPERATURE_NOISE
-
FROZEN_TEMPERATURE_NOISE
-
BIOME_INFO_NOISE
-
TEMPERATURE_CACHE_SIZE
private static final int TEMPERATURE_CACHE_SIZE- See Also:
- Constant Field Values
-
climateSettings
-
generationSettings
-
mobSettings
-
depth
private final float depth -
scale
private final float scale -
biomeCategory
-
specialEffects
-
temperatureCache
-
-
Constructor Details
-
Biome
Biome(Biome.ClimateSettings p_47447_, Biome.BiomeCategory p_47448_, float p_47449_, float p_47450_, BiomeSpecialEffects p_47451_, BiomeGenerationSettings p_47452_, MobSpawnSettings p_47453_)
-
-
Method Details
-
getSkyColor
public int getSkyColor() -
getMobSettings
-
getPrecipitation
-
isHumid
public boolean isHumid() -
getHeightAdjustedTemperature
-
getTemperature
-
shouldFreeze
-
shouldFreeze
-
isColdEnoughToSnow
-
shouldSnow
-
getGenerationSettings
-
generate
public void generate(StructureFeatureManager p_47485_, ChunkGenerator p_47486_, WorldGenRegion p_47487_, long p_47488_, WorldgenRandom p_47489_, BlockPos p_47490_) -
getFogColor
public int getFogColor() -
getGrassColor
public int getGrassColor(double p_47465_, double p_47466_) -
getGrassColorFromTexture
private int getGrassColorFromTexture() -
getFoliageColor
public int getFoliageColor() -
getFoliageColorFromTexture
private int getFoliageColorFromTexture() -
buildSurfaceAt
public void buildSurfaceAt(Random p_151683_, ChunkAccess p_151684_, int p_151685_, int p_151686_, int p_151687_, double p_151688_, BlockState p_151689_, BlockState p_151690_, int p_151691_, int p_151692_, long p_151693_) -
getDepth
public final float getDepth() -
getDownfall
public final float getDownfall() -
getScale
public final float getScale() -
getBaseTemperature
public final float getBaseTemperature() -
getSpecialEffects
-
getWaterColor
public final int getWaterColor() -
getWaterFogColor
public final int getWaterFogColor() -
getAmbientParticle
-
getAmbientLoop
-
getAmbientMood
-
getAmbientAdditions
-
getBackgroundMusic
-
getBiomeCategory
-
toString
-