Class Biome

All Implemented Interfaces:
IForgeRegistryEntry<Biome>

public final class Biome extends ForgeRegistryEntry.UncheckedRegistryEntry<Biome>
  • Field Details

    • LOGGER

      public static final org.apache.logging.log4j.Logger LOGGER
    • DIRECT_CODEC

      public static final com.mojang.serialization.Codec<Biome> DIRECT_CODEC
    • NETWORK_CODEC

      public static final com.mojang.serialization.Codec<Biome> NETWORK_CODEC
    • CODEC

      public static final com.mojang.serialization.Codec<Supplier<Biome>> CODEC
    • LIST_CODEC

      public static final com.mojang.serialization.Codec<List<Supplier<Biome>>> LIST_CODEC
    • structuresByStep

      private final Map<Integer,List<Structure<?>>> structuresByStep
    • TEMPERATURE_NOISE

      private static final PerlinNoiseGenerator TEMPERATURE_NOISE
    • FROZEN_TEMPERATURE_NOISE

      private static final PerlinNoiseGenerator FROZEN_TEMPERATURE_NOISE
    • BIOME_INFO_NOISE

      public static final PerlinNoiseGenerator BIOME_INFO_NOISE
    • climateSettings

      private final Biome.Climate climateSettings
    • generationSettings

      private final BiomeGenerationSettings generationSettings
    • mobSettings

      private final MobSpawnInfo mobSettings
    • depth

      private final float depth
    • scale

      private final float scale
    • biomeCategory

      private final Biome.Category biomeCategory
    • specialEffects

      private final BiomeAmbience specialEffects
    • temperatureCache

      private final ThreadLocal<it.unimi.dsi.fastutil.longs.Long2FloatLinkedOpenHashMap> temperatureCache
  • Constructor Details

  • Method Details

    • getSkyColor

      public int getSkyColor()
    • getMobSettings

      public MobSpawnInfo getMobSettings()
    • getPrecipitation

      public Biome.RainType getPrecipitation()
    • isHumid

      public boolean isHumid()
    • getHeightAdjustedTemperature

      private float getHeightAdjustedTemperature(BlockPos p_242437_1_)
    • getTemperature

      public final float getTemperature(BlockPos p_225486_1_)
    • shouldFreeze

      public boolean shouldFreeze(IWorldReader p_201848_1_, BlockPos p_201848_2_)
    • shouldFreeze

      public boolean shouldFreeze(IWorldReader p_201854_1_, BlockPos p_201854_2_, boolean p_201854_3_)
    • shouldSnow

      public boolean shouldSnow(IWorldReader p_201850_1_, BlockPos p_201850_2_)
    • getGenerationSettings

      public BiomeGenerationSettings getGenerationSettings()
    • generate

      public 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_)
    • 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

      public BiomeAmbience getSpecialEffects()
    • getWaterColor

      public final int getWaterColor()
    • getWaterFogColor

      public final int getWaterFogColor()
    • getAmbientParticle

      public Optional<ParticleEffectAmbience> getAmbientParticle()
    • getAmbientLoop

      public Optional<SoundEvent> getAmbientLoop()
    • getAmbientMood

      public Optional<MoodSoundAmbience> getAmbientMood()
    • getAmbientAdditions

      public Optional<SoundAdditionsAmbience> getAmbientAdditions()
    • getBackgroundMusic

      public Optional<BackgroundMusicSelector> getBackgroundMusic()
    • getBiomeCategory

      public final Biome.Category getBiomeCategory()
    • toString

      public String toString()
      Overrides:
      toString in class Object