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 enum
static class
static enum
static enum
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PerlinSimplexNoise
Deprecated, for removal: This API element is subject to removal in a future version.private final Biome.BiomeCategory
private final Biome.ClimateSettings
static final com.mojang.serialization.Codec<Biome>
(package private) static final PerlinSimplexNoise
private final BiomeGenerationSettings
private final MobSpawnSettings
static final com.mojang.serialization.Codec<Biome>
private final BiomeSpecialEffects
private static final int
private static final PerlinSimplexNoise
private final ThreadLocal<it.unimi.dsi.fastutil.longs.Long2FloatLinkedOpenHashMap>
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ConstructorDescriptionBiome
(Biome.ClimateSettings p_186620_, Biome.BiomeCategory p_186621_, BiomeSpecialEffects p_186622_, BiomeGenerationSettings p_186623_, MobSpawnSettings p_186624_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
coldEnoughToSnow
(BlockPos p_198905_) final float
(package private) Biome.BiomeCategory
static Biome.BiomeCategory
getBiomeCategory
(Holder<Biome> p_204184_) Deprecated.final float
int
int
private int
int
getGrassColor
(double p_47465_, double p_47466_) private int
private float
getHeightAdjustedTemperature
(BlockPos p_47529_) int
private float
getTemperature
(BlockPos p_47506_) Deprecated.final int
final int
boolean
isHumid()
boolean
shouldFreeze
(LevelReader p_47478_, BlockPos p_47479_) boolean
shouldFreeze
(LevelReader p_47481_, BlockPos p_47482_, boolean p_47483_) boolean
shouldMeltFrozenOceanIcebergSlightly
(BlockPos p_198909_) boolean
shouldSnow
(LevelReader p_47520_, BlockPos p_47521_) boolean
shouldSnowGolemBurn
(BlockPos p_198911_) boolean
warmEnoughToRain
(BlockPos p_198907_) Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
DIRECT_CODEC
-
NETWORK_CODEC
-
CODEC
-
LIST_CODEC
-
TEMPERATURE_NOISE
-
FROZEN_TEMPERATURE_NOISE
-
BIOME_INFO_NOISE
Deprecated, for removal: This API element is subject to removal in a future version. -
TEMPERATURE_CACHE_SIZE
private static final int TEMPERATURE_CACHE_SIZE- See Also:
-
climateSettings
-
generationSettings
-
mobSettings
-
biomeCategory
-
specialEffects
-
temperatureCache
-
-
Constructor Details
-
Biome
Biome(Biome.ClimateSettings p_186620_, Biome.BiomeCategory p_186621_, BiomeSpecialEffects p_186622_, BiomeGenerationSettings p_186623_, MobSpawnSettings p_186624_)
-
-
Method Details
-
getSkyColor
public int getSkyColor() -
getMobSettings
-
getPrecipitation
-
isHumid
public boolean isHumid() -
getHeightAdjustedTemperature
-
getTemperature
Deprecated. -
shouldFreeze
-
shouldFreeze
-
coldEnoughToSnow
-
warmEnoughToRain
-
shouldMeltFrozenOceanIcebergSlightly
-
shouldSnowGolemBurn
-
shouldSnow
-
getGenerationSettings
-
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() -
getDownfall
public final float getDownfall() -
getBaseTemperature
public final float getBaseTemperature() -
getSpecialEffects
-
getWaterColor
public final int getWaterColor() -
getWaterFogColor
public final int getWaterFogColor() -
getAmbientParticle
-
getAmbientLoop
-
getAmbientMood
-
getAmbientAdditions
-
getBackgroundMusic
-
getBiomeCategory
Biome.BiomeCategory getBiomeCategory() -
getBiomeCategory
Deprecated.
-