Class Biome

java.lang.Object
net.minecraft.world.biome.Biome

public final class Biome extends Object
Mappings:
Namespace Name
official cbr
intermediary net/minecraft/class_1959
named net/minecraft/world/biome/Biome
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<Biome> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a:Lcom/mojang/serialization/Codec;
      intermediary field_25819 Lnet/minecraft/class_1959;field_25819:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/biome/Biome;CODEC:Lcom/mojang/serialization/Codec;
    • field_26633

      public static final com.mojang.serialization.Codec<Biome> field_26633
      Mappings:
      Namespace Name Mixin selector
      official b Lcbr;b:Lcom/mojang/serialization/Codec;
      intermediary field_26633 Lnet/minecraft/class_1959;field_26633:Lcom/mojang/serialization/Codec;
      named field_26633 Lnet/minecraft/world/biome/Biome;field_26633:Lcom/mojang/serialization/Codec;
    • REGISTRY_CODEC

      public static final com.mojang.serialization.Codec<RegistryEntry<Biome>> REGISTRY_CODEC
      Mappings:
      Namespace Name Mixin selector
      official c Lcbr;c:Lcom/mojang/serialization/Codec;
      intermediary field_24677 Lnet/minecraft/class_1959;field_24677:Lcom/mojang/serialization/Codec;
      named REGISTRY_CODEC Lnet/minecraft/world/biome/Biome;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;
    • field_26750

      public static final com.mojang.serialization.Codec<RegistryEntryList<Biome>> field_26750
      Mappings:
      Namespace Name Mixin selector
      official d Lcbr;d:Lcom/mojang/serialization/Codec;
      intermediary field_26750 Lnet/minecraft/class_1959;field_26750:Lcom/mojang/serialization/Codec;
      named field_26750 Lnet/minecraft/world/biome/Biome;field_26750:Lcom/mojang/serialization/Codec;
    • TEMPERATURE_NOISE

      private static final OctaveSimplexNoiseSampler TEMPERATURE_NOISE
      Mappings:
      Namespace Name Mixin selector
      official f Lcbr;f:Ldie;
      intermediary field_9335 Lnet/minecraft/class_1959;field_9335:Lnet/minecraft/class_3543;
      named TEMPERATURE_NOISE Lnet/minecraft/world/biome/Biome;TEMPERATURE_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
    • FROZEN_OCEAN_NOISE

      static final OctaveSimplexNoiseSampler FROZEN_OCEAN_NOISE
      Mappings:
      Namespace Name Mixin selector
      official g Lcbr;g:Ldie;
      intermediary field_26392 Lnet/minecraft/class_1959;field_26392:Lnet/minecraft/class_3543;
      named FROZEN_OCEAN_NOISE Lnet/minecraft/world/biome/Biome;FROZEN_OCEAN_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
    • FOLIAGE_NOISE

      @Deprecated(forRemoval=true) public static final OctaveSimplexNoiseSampler FOLIAGE_NOISE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official e Lcbr;e:Ldie;
      intermediary field_9324 Lnet/minecraft/class_1959;field_9324:Lnet/minecraft/class_3543;
      named FOLIAGE_NOISE Lnet/minecraft/world/biome/Biome;FOLIAGE_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
    • field_30978

      private static final int field_30978
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lcbr;h:I
      intermediary field_30978 Lnet/minecraft/class_1959;field_30978:I
      named field_30978 Lnet/minecraft/world/biome/Biome;field_30978:I
    • weather

      private final Biome.Weather weather
      Mappings:
      Namespace Name Mixin selector
      official i Lcbr;i:Lcbr$c;
      intermediary field_26393 Lnet/minecraft/class_1959;field_26393:Lnet/minecraft/class_1959$class_5482;
      named weather Lnet/minecraft/world/biome/Biome;weather:Lnet/minecraft/world/biome/Biome$Weather;
    • generationSettings

      private final GenerationSettings generationSettings
      Mappings:
      Namespace Name Mixin selector
      official j Lcbr;j:Lcbs;
      intermediary field_26635 Lnet/minecraft/class_1959;field_26635:Lnet/minecraft/class_5485;
      named generationSettings Lnet/minecraft/world/biome/Biome;generationSettings:Lnet/minecraft/world/biome/GenerationSettings;
    • spawnSettings

      private final SpawnSettings spawnSettings
      Mappings:
      Namespace Name Mixin selector
      official k Lcbr;k:Lccb;
      intermediary field_26395 Lnet/minecraft/class_1959;field_26395:Lnet/minecraft/class_5483;
      named spawnSettings Lnet/minecraft/world/biome/Biome;spawnSettings:Lnet/minecraft/world/biome/SpawnSettings;
    • category

      private final Biome.Category category
      Mappings:
      Namespace Name Mixin selector
      official l Lcbr;l:Lcbr$b;
      intermediary field_9329 Lnet/minecraft/class_1959;field_9329:Lnet/minecraft/class_1959$class_1961;
      named category Lnet/minecraft/world/biome/Biome;category:Lnet/minecraft/world/biome/Biome$Category;
    • effects

      private final BiomeEffects effects
      Mappings:
      Namespace Name Mixin selector
      official m Lcbr;m:Lcbw;
      intermediary field_22039 Lnet/minecraft/class_1959;field_22039:Lnet/minecraft/class_4763;
      named effects Lnet/minecraft/world/biome/Biome;effects:Lnet/minecraft/world/biome/BiomeEffects;
    • temperatureCache

      private final ThreadLocal<Long2FloatLinkedOpenHashMap> temperatureCache
      Mappings:
      Namespace Name Mixin selector
      official n Lcbr;n:Ljava/lang/ThreadLocal;
      intermediary field_20335 Lnet/minecraft/class_1959;field_20335:Ljava/lang/ThreadLocal;
      named temperatureCache Lnet/minecraft/world/biome/Biome;temperatureCache:Ljava/lang/ThreadLocal;
  • Constructor Details

    • Biome

      Biome(Biome.Weather weather, Biome.Category category, BiomeEffects effects, GenerationSettings generationSettings, SpawnSettings spawnSettings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcbr;<init>(Lcbr$c;Lcbr$b;Lcbw;Lcbs;Lccb;)V
      intermediary <init> Lnet/minecraft/class_1959;<init>(Lnet/minecraft/class_1959$class_5482;Lnet/minecraft/class_1959$class_1961;Lnet/minecraft/class_4763;Lnet/minecraft/class_5485;Lnet/minecraft/class_5483;)V
      named <init> Lnet/minecraft/world/biome/Biome;<init>(Lnet/minecraft/world/biome/Biome$Weather;Lnet/minecraft/world/biome/Biome$Category;Lnet/minecraft/world/biome/BiomeEffects;Lnet/minecraft/world/biome/GenerationSettings;Lnet/minecraft/world/biome/SpawnSettings;)V
  • Method Details

    • getSkyColor

      public int getSkyColor()
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a()I
      intermediary method_8697 Lnet/minecraft/class_1959;method_8697()I
      named getSkyColor Lnet/minecraft/world/biome/Biome;getSkyColor()I
    • getSpawnSettings

      public SpawnSettings getSpawnSettings()
      Mappings:
      Namespace Name Mixin selector
      official b Lcbr;b()Lccb;
      intermediary method_30966 Lnet/minecraft/class_1959;method_30966()Lnet/minecraft/class_5483;
      named getSpawnSettings Lnet/minecraft/world/biome/Biome;getSpawnSettings()Lnet/minecraft/world/biome/SpawnSettings;
    • getPrecipitation

      public Biome.Precipitation getPrecipitation()
      Mappings:
      Namespace Name Mixin selector
      official c Lcbr;c()Lcbr$d;
      intermediary method_8694 Lnet/minecraft/class_1959;method_8694()Lnet/minecraft/class_1959$class_1963;
      named getPrecipitation Lnet/minecraft/world/biome/Biome;getPrecipitation()Lnet/minecraft/world/biome/Biome$Precipitation;
    • hasHighHumidity

      public boolean hasHighHumidity()
      Mappings:
      Namespace Name Mixin selector
      official d Lcbr;d()Z
      intermediary method_8724 Lnet/minecraft/class_1959;method_8724()Z
      named hasHighHumidity Lnet/minecraft/world/biome/Biome;hasHighHumidity()Z
    • computeTemperature

      private float computeTemperature(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official e Lcbr;e(Lgj;)F
      intermediary method_8707 Lnet/minecraft/class_1959;method_8707(Lnet/minecraft/class_2338;)F
      named computeTemperature Lnet/minecraft/world/biome/Biome;computeTemperature(Lnet/minecraft/util/math/BlockPos;)F
    • getTemperature

      @Deprecated private float getTemperature(BlockPos blockPos)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official f Lcbr;f(Lgj;)F
      intermediary method_21740 Lnet/minecraft/class_1959;method_21740(Lnet/minecraft/class_2338;)F
      named getTemperature Lnet/minecraft/world/biome/Biome;getTemperature(Lnet/minecraft/util/math/BlockPos;)F
    • canSetIce

      public boolean canSetIce(WorldView world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a(Lcay;Lgj;)Z
      intermediary method_8705 Lnet/minecraft/class_1959;method_8705(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      named canSetIce Lnet/minecraft/world/biome/Biome;canSetIce(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
    • canSetIce

      public boolean canSetIce(WorldView world, BlockPos pos, boolean doWaterCheck)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a(Lcay;Lgj;Z)Z
      intermediary method_8685 Lnet/minecraft/class_1959;method_8685(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Z)Z
      named canSetIce Lnet/minecraft/world/biome/Biome;canSetIce(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Z)Z
    • isCold

      public boolean isCold(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a(Lgj;)Z
      intermediary method_33599 Lnet/minecraft/class_1959;method_33599(Lnet/minecraft/class_2338;)Z
      named isCold Lnet/minecraft/world/biome/Biome;isCold(Lnet/minecraft/util/math/BlockPos;)Z
    • doesNotSnow

      public boolean doesNotSnow(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lcbr;b(Lgj;)Z
      intermediary method_39927 Lnet/minecraft/class_1959;method_39927(Lnet/minecraft/class_2338;)Z
      named doesNotSnow Lnet/minecraft/world/biome/Biome;doesNotSnow(Lnet/minecraft/util/math/BlockPos;)Z
    • shouldGenerateLowerFrozenOceanSurface

      public boolean shouldGenerateLowerFrozenOceanSurface(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Lcbr;c(Lgj;)Z
      intermediary method_39928 Lnet/minecraft/class_1959;method_39928(Lnet/minecraft/class_2338;)Z
      named shouldGenerateLowerFrozenOceanSurface Lnet/minecraft/world/biome/Biome;shouldGenerateLowerFrozenOceanSurface(Lnet/minecraft/util/math/BlockPos;)Z
    • isHot

      public boolean isHot(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lcbr;d(Lgj;)Z
      intermediary method_39929 Lnet/minecraft/class_1959;method_39929(Lnet/minecraft/class_2338;)Z
      named isHot Lnet/minecraft/world/biome/Biome;isHot(Lnet/minecraft/util/math/BlockPos;)Z
    • canSetSnow

      public boolean canSetSnow(WorldView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lcbr;b(Lcay;Lgj;)Z
      intermediary method_8696 Lnet/minecraft/class_1959;method_8696(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      named canSetSnow Lnet/minecraft/world/biome/Biome;canSetSnow(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
    • getGenerationSettings

      public GenerationSettings getGenerationSettings()
      Mappings:
      Namespace Name Mixin selector
      official e Lcbr;e()Lcbs;
      intermediary method_30970 Lnet/minecraft/class_1959;method_30970()Lnet/minecraft/class_5485;
      named getGenerationSettings Lnet/minecraft/world/biome/Biome;getGenerationSettings()Lnet/minecraft/world/biome/GenerationSettings;
    • getFogColor

      public int getFogColor()
      Mappings:
      Namespace Name Mixin selector
      official f Lcbr;f()I
      intermediary method_24376 Lnet/minecraft/class_1959;method_24376()I
      named getFogColor Lnet/minecraft/world/biome/Biome;getFogColor()I
    • getGrassColorAt

      public int getGrassColorAt(double x, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a(DD)I
      intermediary method_8711 Lnet/minecraft/class_1959;method_8711(DD)I
      named getGrassColorAt Lnet/minecraft/world/biome/Biome;getGrassColorAt(DD)I
    • getDefaultGrassColor

      private int getDefaultGrassColor()
      Mappings:
      Namespace Name Mixin selector
      official r Lcbr;r()I
      intermediary method_30773 Lnet/minecraft/class_1959;method_30773()I
      named getDefaultGrassColor Lnet/minecraft/world/biome/Biome;getDefaultGrassColor()I
    • getFoliageColor

      public int getFoliageColor()
      Mappings:
      Namespace Name Mixin selector
      official g Lcbr;g()I
      intermediary method_8698 Lnet/minecraft/class_1959;method_8698()I
      named getFoliageColor Lnet/minecraft/world/biome/Biome;getFoliageColor()I
    • getDefaultFoliageColor

      private int getDefaultFoliageColor()
      Mappings:
      Namespace Name Mixin selector
      official s Lcbr;s()I
      intermediary method_30774 Lnet/minecraft/class_1959;method_30774()I
      named getDefaultFoliageColor Lnet/minecraft/world/biome/Biome;getDefaultFoliageColor()I
    • getDownfall

      public final float getDownfall()
      Mappings:
      Namespace Name Mixin selector
      official h Lcbr;h()F
      intermediary method_8715 Lnet/minecraft/class_1959;method_8715()F
      named getDownfall Lnet/minecraft/world/biome/Biome;getDownfall()F
    • getTemperature

      public final float getTemperature()
      Mappings:
      Namespace Name Mixin selector
      official i Lcbr;i()F
      intermediary method_8712 Lnet/minecraft/class_1959;method_8712()F
      named getTemperature Lnet/minecraft/world/biome/Biome;getTemperature()F
    • getEffects

      public BiomeEffects getEffects()
      Mappings:
      Namespace Name Mixin selector
      official j Lcbr;j()Lcbw;
      intermediary method_24377 Lnet/minecraft/class_1959;method_24377()Lnet/minecraft/class_4763;
      named getEffects Lnet/minecraft/world/biome/Biome;getEffects()Lnet/minecraft/world/biome/BiomeEffects;
    • getWaterColor

      public final int getWaterColor()
      Mappings:
      Namespace Name Mixin selector
      official k Lcbr;k()I
      intermediary method_8687 Lnet/minecraft/class_1959;method_8687()I
      named getWaterColor Lnet/minecraft/world/biome/Biome;getWaterColor()I
    • getWaterFogColor

      public final int getWaterFogColor()
      Mappings:
      Namespace Name Mixin selector
      official l Lcbr;l()I
      intermediary method_8713 Lnet/minecraft/class_1959;method_8713()I
      named getWaterFogColor Lnet/minecraft/world/biome/Biome;getWaterFogColor()I
    • getParticleConfig

      public Optional<BiomeParticleConfig> getParticleConfig()
      Mappings:
      Namespace Name Mixin selector
      official m Lcbr;m()Ljava/util/Optional;
      intermediary method_24378 Lnet/minecraft/class_1959;method_24378()Ljava/util/Optional;
      named getParticleConfig Lnet/minecraft/world/biome/Biome;getParticleConfig()Ljava/util/Optional;
    • getLoopSound

      public Optional<SoundEvent> getLoopSound()
      Mappings:
      Namespace Name Mixin selector
      official n Lcbr;n()Ljava/util/Optional;
      intermediary method_24935 Lnet/minecraft/class_1959;method_24935()Ljava/util/Optional;
      named getLoopSound Lnet/minecraft/world/biome/Biome;getLoopSound()Ljava/util/Optional;
    • getMoodSound

      public Optional<BiomeMoodSound> getMoodSound()
      Mappings:
      Namespace Name Mixin selector
      official o Lcbr;o()Ljava/util/Optional;
      intermediary method_24936 Lnet/minecraft/class_1959;method_24936()Ljava/util/Optional;
      named getMoodSound Lnet/minecraft/world/biome/Biome;getMoodSound()Ljava/util/Optional;
    • getAdditionsSound

      public Optional<BiomeAdditionsSound> getAdditionsSound()
      Mappings:
      Namespace Name Mixin selector
      official p Lcbr;p()Ljava/util/Optional;
      intermediary method_24937 Lnet/minecraft/class_1959;method_24937()Ljava/util/Optional;
      named getAdditionsSound Lnet/minecraft/world/biome/Biome;getAdditionsSound()Ljava/util/Optional;
    • getMusic

      public Optional<MusicSound> getMusic()
      Mappings:
      Namespace Name Mixin selector
      official q Lcbr;q()Ljava/util/Optional;
      intermediary method_27343 Lnet/minecraft/class_1959;method_27343()Ljava/util/Optional;
      named getMusic Lnet/minecraft/world/biome/Biome;getMusic()Ljava/util/Optional;
    • getCategory

      Biome.Category getCategory()
      Mappings:
      Namespace Name Mixin selector
      official t Lcbr;t()Lcbr$b;
      intermediary method_8688 Lnet/minecraft/class_1959;method_8688()Lnet/minecraft/class_1959$class_1961;
      named getCategory Lnet/minecraft/world/biome/Biome;getCategory()Lnet/minecraft/world/biome/Biome$Category;
    • getCategory

      @Deprecated public static Biome.Category getCategory(RegistryEntry<Biome> biomeEntry)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a(Lgs;)Lcbr$b;
      intermediary method_40136 Lnet/minecraft/class_1959;method_40136(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1959$class_1961;
      named getCategory Lnet/minecraft/world/biome/Biome;getCategory(Lnet/minecraft/util/registry/RegistryEntry;)Lnet/minecraft/world/biome/Biome$Category;