Class Biome

All Implemented Interfaces:
IForgeRegistryEntry<Biome>

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

    • 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<Holder<Biome>> CODEC
    • LIST_CODEC

      public static final com.mojang.serialization.Codec<HolderSet<Biome>> LIST_CODEC
    • TEMPERATURE_NOISE

      private static final PerlinSimplexNoise TEMPERATURE_NOISE
    • FROZEN_TEMPERATURE_NOISE

      static final PerlinSimplexNoise FROZEN_TEMPERATURE_NOISE
    • BIOME_INFO_NOISE

      @Deprecated(forRemoval=true) public static final PerlinSimplexNoise 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

      private final Biome.ClimateSettings climateSettings
    • generationSettings

      private final BiomeGenerationSettings generationSettings
    • mobSettings

      private final MobSpawnSettings mobSettings
    • biomeCategory

      private final Biome.BiomeCategory biomeCategory
    • specialEffects

      private final BiomeSpecialEffects specialEffects
    • temperatureCache

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

  • Method Details

    • getSkyColor

      public int getSkyColor()
    • getMobSettings

      public MobSpawnSettings getMobSettings()
    • getPrecipitation

      public Biome.Precipitation getPrecipitation()
    • isHumid

      public boolean isHumid()
    • getHeightAdjustedTemperature

      private float getHeightAdjustedTemperature(BlockPos p_47529_)
    • getTemperature

      @Deprecated private float getTemperature(BlockPos p_47506_)
      Deprecated.
    • shouldFreeze

      public boolean shouldFreeze(LevelReader p_47478_, BlockPos p_47479_)
    • shouldFreeze

      public boolean shouldFreeze(LevelReader p_47481_, BlockPos p_47482_, boolean p_47483_)
    • coldEnoughToSnow

      public boolean coldEnoughToSnow(BlockPos p_198905_)
    • warmEnoughToRain

      public boolean warmEnoughToRain(BlockPos p_198907_)
    • shouldMeltFrozenOceanIcebergSlightly

      public boolean shouldMeltFrozenOceanIcebergSlightly(BlockPos p_198909_)
    • shouldSnowGolemBurn

      public boolean shouldSnowGolemBurn(BlockPos p_198911_)
    • shouldSnow

      public boolean shouldSnow(LevelReader p_47520_, BlockPos p_47521_)
    • getGenerationSettings

      public BiomeGenerationSettings 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

      public BiomeSpecialEffects getSpecialEffects()
    • getWaterColor

      public final int getWaterColor()
    • getWaterFogColor

      public final int getWaterFogColor()
    • getAmbientParticle

      public Optional<AmbientParticleSettings> getAmbientParticle()
    • getAmbientLoop

      public Optional<SoundEvent> getAmbientLoop()
    • getAmbientMood

      public Optional<AmbientMoodSettings> getAmbientMood()
    • getAmbientAdditions

      public Optional<AmbientAdditionsSettings> getAmbientAdditions()
    • getBackgroundMusic

      public Optional<Music> getBackgroundMusic()
    • getBiomeCategory

      Biome.BiomeCategory getBiomeCategory()
    • getBiomeCategory

      @Deprecated public static Biome.BiomeCategory getBiomeCategory(Holder<Biome> p_204184_)
      Deprecated.