Package net.minecraft.world.biome
Class Biome
java.lang.Object
net.minecraft.world.biome.Biome
- Mappings:
Namespace Name official cbrintermediary net/minecraft/class_1959named net/minecraft/world/biome/Biome
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enumstatic enumprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Biome.Categorystatic final com.mojang.serialization.Codec<Biome>private final BiomeEffectsstatic final com.mojang.serialization.Codec<Biome>static final com.mojang.serialization.Codec<RegistryEntryList<Biome>>private static final intstatic final OctaveSimplexNoiseSamplerDeprecated, for removal: This API element is subject to removal in a future version.(package private) static final OctaveSimplexNoiseSamplerprivate final GenerationSettingsstatic final com.mojang.serialization.Codec<RegistryEntry<Biome>>private final SpawnSettingsprivate static final OctaveSimplexNoiseSamplerprivate final ThreadLocal<Long2FloatLinkedOpenHashMap>private final Biome.Weather -
Constructor Summary
ConstructorsConstructorDescriptionBiome(Biome.Weather weather, Biome.Category category, BiomeEffects effects, GenerationSettings generationSettings, SpawnSettings spawnSettings) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleancanSetSnow(WorldView world, BlockPos pos) private floatbooleandoesNotSnow(BlockPos pos) (package private) Biome.Categorystatic Biome.CategorygetCategory(RegistryEntry<Biome> biomeEntry) Deprecated.private intprivate intfinal floatintintintgetGrassColorAt(double x, double z) getMusic()intfinal floatprivate floatgetTemperature(BlockPos blockPos) Deprecated.final intfinal intbooleanbooleanbooleanboolean
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLcbr;a:Lcom/mojang/serialization/Codec;intermediary field_25819Lnet/minecraft/class_1959;field_25819:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/biome/Biome;CODEC:Lcom/mojang/serialization/Codec;
-
field_26633
- Mappings:
Namespace Name Mixin selector official bLcbr;b:Lcom/mojang/serialization/Codec;intermediary field_26633Lnet/minecraft/class_1959;field_26633:Lcom/mojang/serialization/Codec;named field_26633Lnet/minecraft/world/biome/Biome;field_26633:Lcom/mojang/serialization/Codec;
-
REGISTRY_CODEC
- Mappings:
Namespace Name Mixin selector official cLcbr;c:Lcom/mojang/serialization/Codec;intermediary field_24677Lnet/minecraft/class_1959;field_24677:Lcom/mojang/serialization/Codec;named REGISTRY_CODECLnet/minecraft/world/biome/Biome;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;
-
field_26750
- Mappings:
Namespace Name Mixin selector official dLcbr;d:Lcom/mojang/serialization/Codec;intermediary field_26750Lnet/minecraft/class_1959;field_26750:Lcom/mojang/serialization/Codec;named field_26750Lnet/minecraft/world/biome/Biome;field_26750:Lcom/mojang/serialization/Codec;
-
TEMPERATURE_NOISE
- Mappings:
Namespace Name Mixin selector official fLcbr;f:Ldie;intermediary field_9335Lnet/minecraft/class_1959;field_9335:Lnet/minecraft/class_3543;named TEMPERATURE_NOISELnet/minecraft/world/biome/Biome;TEMPERATURE_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
-
FROZEN_OCEAN_NOISE
- Mappings:
Namespace Name Mixin selector official gLcbr;g:Ldie;intermediary field_26392Lnet/minecraft/class_1959;field_26392:Lnet/minecraft/class_3543;named FROZEN_OCEAN_NOISELnet/minecraft/world/biome/Biome;FROZEN_OCEAN_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
-
FOLIAGE_NOISE
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector official eLcbr;e:Ldie;intermediary field_9324Lnet/minecraft/class_1959;field_9324:Lnet/minecraft/class_3543;named FOLIAGE_NOISELnet/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 hLcbr;h:Iintermediary field_30978Lnet/minecraft/class_1959;field_30978:Inamed field_30978Lnet/minecraft/world/biome/Biome;field_30978:I
-
weather
- Mappings:
Namespace Name Mixin selector official iLcbr;i:Lcbr$c;intermediary field_26393Lnet/minecraft/class_1959;field_26393:Lnet/minecraft/class_1959$class_5482;named weatherLnet/minecraft/world/biome/Biome;weather:Lnet/minecraft/world/biome/Biome$Weather;
-
generationSettings
- Mappings:
Namespace Name Mixin selector official jLcbr;j:Lcbs;intermediary field_26635Lnet/minecraft/class_1959;field_26635:Lnet/minecraft/class_5485;named generationSettingsLnet/minecraft/world/biome/Biome;generationSettings:Lnet/minecraft/world/biome/GenerationSettings;
-
spawnSettings
- Mappings:
Namespace Name Mixin selector official kLcbr;k:Lccb;intermediary field_26395Lnet/minecraft/class_1959;field_26395:Lnet/minecraft/class_5483;named spawnSettingsLnet/minecraft/world/biome/Biome;spawnSettings:Lnet/minecraft/world/biome/SpawnSettings;
-
category
- Mappings:
Namespace Name Mixin selector official lLcbr;l:Lcbr$b;intermediary field_9329Lnet/minecraft/class_1959;field_9329:Lnet/minecraft/class_1959$class_1961;named categoryLnet/minecraft/world/biome/Biome;category:Lnet/minecraft/world/biome/Biome$Category;
-
effects
- Mappings:
Namespace Name Mixin selector official mLcbr;m:Lcbw;intermediary field_22039Lnet/minecraft/class_1959;field_22039:Lnet/minecraft/class_4763;named effectsLnet/minecraft/world/biome/Biome;effects:Lnet/minecraft/world/biome/BiomeEffects;
-
temperatureCache
- Mappings:
Namespace Name Mixin selector official nLcbr;n:Ljava/lang/ThreadLocal;intermediary field_20335Lnet/minecraft/class_1959;field_20335:Ljava/lang/ThreadLocal;named temperatureCacheLnet/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;)Vintermediary <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;)Vnamed <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 aLcbr;a()Iintermediary method_8697Lnet/minecraft/class_1959;method_8697()Inamed getSkyColorLnet/minecraft/world/biome/Biome;getSkyColor()I
-
getSpawnSettings
- Mappings:
Namespace Name Mixin selector official bLcbr;b()Lccb;intermediary method_30966Lnet/minecraft/class_1959;method_30966()Lnet/minecraft/class_5483;named getSpawnSettingsLnet/minecraft/world/biome/Biome;getSpawnSettings()Lnet/minecraft/world/biome/SpawnSettings;
-
getPrecipitation
- Mappings:
Namespace Name Mixin selector official cLcbr;c()Lcbr$d;intermediary method_8694Lnet/minecraft/class_1959;method_8694()Lnet/minecraft/class_1959$class_1963;named getPrecipitationLnet/minecraft/world/biome/Biome;getPrecipitation()Lnet/minecraft/world/biome/Biome$Precipitation;
-
hasHighHumidity
public boolean hasHighHumidity()- Mappings:
Namespace Name Mixin selector official dLcbr;d()Zintermediary method_8724Lnet/minecraft/class_1959;method_8724()Znamed hasHighHumidityLnet/minecraft/world/biome/Biome;hasHighHumidity()Z
-
computeTemperature
- Mappings:
Namespace Name Mixin selector official eLcbr;e(Lgj;)Fintermediary method_8707Lnet/minecraft/class_1959;method_8707(Lnet/minecraft/class_2338;)Fnamed computeTemperatureLnet/minecraft/world/biome/Biome;computeTemperature(Lnet/minecraft/util/math/BlockPos;)F
-
getTemperature
Deprecated.- Mappings:
Namespace Name Mixin selector official fLcbr;f(Lgj;)Fintermediary method_21740Lnet/minecraft/class_1959;method_21740(Lnet/minecraft/class_2338;)Fnamed getTemperatureLnet/minecraft/world/biome/Biome;getTemperature(Lnet/minecraft/util/math/BlockPos;)F
-
canSetIce
- Mappings:
Namespace Name Mixin selector official aLcbr;a(Lcay;Lgj;)Zintermediary method_8705Lnet/minecraft/class_1959;method_8705(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed canSetIceLnet/minecraft/world/biome/Biome;canSetIce(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
canSetIce
- Mappings:
Namespace Name Mixin selector official aLcbr;a(Lcay;Lgj;Z)Zintermediary method_8685Lnet/minecraft/class_1959;method_8685(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Z)Znamed canSetIceLnet/minecraft/world/biome/Biome;canSetIce(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Z)Z
-
isCold
- Mappings:
Namespace Name Mixin selector official aLcbr;a(Lgj;)Zintermediary method_33599Lnet/minecraft/class_1959;method_33599(Lnet/minecraft/class_2338;)Znamed isColdLnet/minecraft/world/biome/Biome;isCold(Lnet/minecraft/util/math/BlockPos;)Z
-
doesNotSnow
- Mappings:
Namespace Name Mixin selector official bLcbr;b(Lgj;)Zintermediary method_39927Lnet/minecraft/class_1959;method_39927(Lnet/minecraft/class_2338;)Znamed doesNotSnowLnet/minecraft/world/biome/Biome;doesNotSnow(Lnet/minecraft/util/math/BlockPos;)Z
-
shouldGenerateLowerFrozenOceanSurface
- Mappings:
Namespace Name Mixin selector official cLcbr;c(Lgj;)Zintermediary method_39928Lnet/minecraft/class_1959;method_39928(Lnet/minecraft/class_2338;)Znamed shouldGenerateLowerFrozenOceanSurfaceLnet/minecraft/world/biome/Biome;shouldGenerateLowerFrozenOceanSurface(Lnet/minecraft/util/math/BlockPos;)Z
-
isHot
- Mappings:
Namespace Name Mixin selector official dLcbr;d(Lgj;)Zintermediary method_39929Lnet/minecraft/class_1959;method_39929(Lnet/minecraft/class_2338;)Znamed isHotLnet/minecraft/world/biome/Biome;isHot(Lnet/minecraft/util/math/BlockPos;)Z
-
canSetSnow
- Mappings:
Namespace Name Mixin selector official bLcbr;b(Lcay;Lgj;)Zintermediary method_8696Lnet/minecraft/class_1959;method_8696(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed canSetSnowLnet/minecraft/world/biome/Biome;canSetSnow(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
getGenerationSettings
- Mappings:
Namespace Name Mixin selector official eLcbr;e()Lcbs;intermediary method_30970Lnet/minecraft/class_1959;method_30970()Lnet/minecraft/class_5485;named getGenerationSettingsLnet/minecraft/world/biome/Biome;getGenerationSettings()Lnet/minecraft/world/biome/GenerationSettings;
-
getFogColor
public int getFogColor()- Mappings:
Namespace Name Mixin selector official fLcbr;f()Iintermediary method_24376Lnet/minecraft/class_1959;method_24376()Inamed getFogColorLnet/minecraft/world/biome/Biome;getFogColor()I
-
getGrassColorAt
public int getGrassColorAt(double x, double z) - Mappings:
Namespace Name Mixin selector official aLcbr;a(DD)Iintermediary method_8711Lnet/minecraft/class_1959;method_8711(DD)Inamed getGrassColorAtLnet/minecraft/world/biome/Biome;getGrassColorAt(DD)I
-
getDefaultGrassColor
private int getDefaultGrassColor()- Mappings:
Namespace Name Mixin selector official rLcbr;r()Iintermediary method_30773Lnet/minecraft/class_1959;method_30773()Inamed getDefaultGrassColorLnet/minecraft/world/biome/Biome;getDefaultGrassColor()I
-
getFoliageColor
public int getFoliageColor()- Mappings:
Namespace Name Mixin selector official gLcbr;g()Iintermediary method_8698Lnet/minecraft/class_1959;method_8698()Inamed getFoliageColorLnet/minecraft/world/biome/Biome;getFoliageColor()I
-
getDefaultFoliageColor
private int getDefaultFoliageColor()- Mappings:
Namespace Name Mixin selector official sLcbr;s()Iintermediary method_30774Lnet/minecraft/class_1959;method_30774()Inamed getDefaultFoliageColorLnet/minecraft/world/biome/Biome;getDefaultFoliageColor()I
-
getDownfall
public final float getDownfall()- Mappings:
Namespace Name Mixin selector official hLcbr;h()Fintermediary method_8715Lnet/minecraft/class_1959;method_8715()Fnamed getDownfallLnet/minecraft/world/biome/Biome;getDownfall()F
-
getTemperature
public final float getTemperature()- Mappings:
Namespace Name Mixin selector official iLcbr;i()Fintermediary method_8712Lnet/minecraft/class_1959;method_8712()Fnamed getTemperatureLnet/minecraft/world/biome/Biome;getTemperature()F
-
getEffects
- Mappings:
Namespace Name Mixin selector official jLcbr;j()Lcbw;intermediary method_24377Lnet/minecraft/class_1959;method_24377()Lnet/minecraft/class_4763;named getEffectsLnet/minecraft/world/biome/Biome;getEffects()Lnet/minecraft/world/biome/BiomeEffects;
-
getWaterColor
public final int getWaterColor()- Mappings:
Namespace Name Mixin selector official kLcbr;k()Iintermediary method_8687Lnet/minecraft/class_1959;method_8687()Inamed getWaterColorLnet/minecraft/world/biome/Biome;getWaterColor()I
-
getWaterFogColor
public final int getWaterFogColor()- Mappings:
Namespace Name Mixin selector official lLcbr;l()Iintermediary method_8713Lnet/minecraft/class_1959;method_8713()Inamed getWaterFogColorLnet/minecraft/world/biome/Biome;getWaterFogColor()I
-
getParticleConfig
- Mappings:
Namespace Name Mixin selector official mLcbr;m()Ljava/util/Optional;intermediary method_24378Lnet/minecraft/class_1959;method_24378()Ljava/util/Optional;named getParticleConfigLnet/minecraft/world/biome/Biome;getParticleConfig()Ljava/util/Optional;
-
getLoopSound
- Mappings:
Namespace Name Mixin selector official nLcbr;n()Ljava/util/Optional;intermediary method_24935Lnet/minecraft/class_1959;method_24935()Ljava/util/Optional;named getLoopSoundLnet/minecraft/world/biome/Biome;getLoopSound()Ljava/util/Optional;
-
getMoodSound
- Mappings:
Namespace Name Mixin selector official oLcbr;o()Ljava/util/Optional;intermediary method_24936Lnet/minecraft/class_1959;method_24936()Ljava/util/Optional;named getMoodSoundLnet/minecraft/world/biome/Biome;getMoodSound()Ljava/util/Optional;
-
getAdditionsSound
- Mappings:
Namespace Name Mixin selector official pLcbr;p()Ljava/util/Optional;intermediary method_24937Lnet/minecraft/class_1959;method_24937()Ljava/util/Optional;named getAdditionsSoundLnet/minecraft/world/biome/Biome;getAdditionsSound()Ljava/util/Optional;
-
getMusic
- Mappings:
Namespace Name Mixin selector official qLcbr;q()Ljava/util/Optional;intermediary method_27343Lnet/minecraft/class_1959;method_27343()Ljava/util/Optional;named getMusicLnet/minecraft/world/biome/Biome;getMusic()Ljava/util/Optional;
-
getCategory
Biome.Category getCategory()- Mappings:
Namespace Name Mixin selector official tLcbr;t()Lcbr$b;intermediary method_8688Lnet/minecraft/class_1959;method_8688()Lnet/minecraft/class_1959$class_1961;named getCategoryLnet/minecraft/world/biome/Biome;getCategory()Lnet/minecraft/world/biome/Biome$Category;
-
getCategory
Deprecated.- Mappings:
Namespace Name Mixin selector official aLcbr;a(Lgs;)Lcbr$b;intermediary method_40136Lnet/minecraft/class_1959;method_40136(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1959$class_1961;named getCategoryLnet/minecraft/world/biome/Biome;getCategory(Lnet/minecraft/util/registry/RegistryEntry;)Lnet/minecraft/world/biome/Biome$Category;
-