Package net.minecraft.world.biome
Class Biome
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<V>
net.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<Biome>
net.minecraft.world.biome.Biome
- All Implemented Interfaces:
IForgeRegistryEntry<Biome>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static 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 PerlinNoiseGenerator
private final Biome.Category
private final Biome.Climate
private final float
static final com.mojang.serialization.Codec<Biome>
private static final PerlinNoiseGenerator
private final BiomeGenerationSettings
static final org.apache.logging.log4j.Logger
private final MobSpawnInfo
static final com.mojang.serialization.Codec<Biome>
private final float
private final BiomeAmbience
private static final PerlinNoiseGenerator
private final ThreadLocal<it.unimi.dsi.fastutil.longs.Long2FloatLinkedOpenHashMap>
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ModifierConstructorDescriptionprivate
Biome
(Biome.Climate p_i241927_1_, Biome.Category p_i241927_2_, float p_i241927_3_, float p_i241927_4_, BiomeAmbience p_i241927_5_, BiomeGenerationSettings p_i241927_6_, MobSpawnInfo p_i241927_7_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildSurfaceAt
(Random p_206854_1_, IChunk p_206854_2_, int p_206854_3_, int p_206854_4_, int p_206854_5_, double p_206854_6_, BlockState p_206854_8_, BlockState p_206854_9_, int p_206854_10_, long p_206854_11_) void
generate
(StructureManager p_242427_1_, ChunkGenerator p_242427_2_, WorldGenRegion p_242427_3_, long p_242427_4_, SharedSeedRandom p_242427_6_, BlockPos p_242427_7_) final float
final Biome.Category
final float
getDepth()
final float
int
int
private int
int
getGrassColor
(double p_225528_1_, double p_225528_3_) private int
private float
getHeightAdjustedTemperature
(BlockPos p_242437_1_) final float
getScale()
int
final float
getTemperature
(BlockPos p_225486_1_) final int
final int
boolean
isHumid()
boolean
shouldFreeze
(IWorldReader p_201848_1_, BlockPos p_201848_2_) boolean
shouldFreeze
(IWorldReader p_201854_1_, BlockPos p_201854_2_, boolean p_201854_3_) boolean
shouldSnow
(IWorldReader p_201850_1_, BlockPos p_201850_2_) 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
-
climateSettings
-
generationSettings
-
mobSettings
-
depth
private final float depth -
scale
private final float scale -
biomeCategory
-
specialEffects
-
temperatureCache
-
-
Constructor Details
-
Biome
private Biome(Biome.Climate p_i241927_1_, Biome.Category p_i241927_2_, float p_i241927_3_, float p_i241927_4_, BiomeAmbience p_i241927_5_, BiomeGenerationSettings p_i241927_6_, MobSpawnInfo p_i241927_7_)
-
-
Method Details
-
getSkyColor
public int getSkyColor() -
getMobSettings
-
getPrecipitation
-
isHumid
public boolean isHumid() -
getHeightAdjustedTemperature
-
getTemperature
-
shouldFreeze
-
shouldFreeze
-
shouldSnow
-
getGenerationSettings
-
getFogColor
public int getFogColor() -
getGrassColor
public int getGrassColor(double p_225528_1_, double p_225528_3_) -
getGrassColorFromTexture
private int getGrassColorFromTexture() -
getFoliageColor
public int getFoliageColor() -
getFoliageColorFromTexture
private int getFoliageColorFromTexture() -
buildSurfaceAt
public void buildSurfaceAt(Random p_206854_1_, IChunk p_206854_2_, int p_206854_3_, int p_206854_4_, int p_206854_5_, double p_206854_6_, BlockState p_206854_8_, BlockState p_206854_9_, int p_206854_10_, long p_206854_11_) -
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
-