Package net.minecraft.world.biome
Class Biome
java.lang.Object
net.minecraft.world.biome.Biome
- Mappings:
Namespace Name official bytintermediary 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>private static final intstatic final OctaveSimplexNoiseSampler(package private) static final OctaveSimplexNoiseSamplerprivate final GenerationSettingsstatic final Loggerprivate 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 TypeMethodDescriptionvoidbuildSurface(Random random, Chunk chunk, int x, int z, int worldHeight, double noise, BlockState defaultBlock, BlockState defaultFluid, int seaLevel, int int2, long seed) booleanbooleanbooleancanSetSnow(WorldView world, BlockPos blockPos) private floatfinal Biome.Categoryprivate intprivate intfinal floatintintintgetGrassColorAt(double x, double z) getMusic()intfinal floatfinal floatgetTemperature(BlockPos blockPos) final intfinal intbooleanbooleantoString()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLbyt;a:Lorg/apache/logging/log4j/Logger;intermediary field_9330Lnet/minecraft/class_1959;field_9330:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/biome/Biome;LOGGER:Lorg/apache/logging/log4j/Logger;
-
CODEC
- Mappings:
Namespace Name Mixin selector official bLbyt;b: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 cLbyt;c: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 dLbyt;d: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 eLbyt;e: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 gLbyt;g:Ldfp;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 hLbyt;h:Ldfp;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
- Mappings:
Namespace Name Mixin selector official fLbyt;f:Ldfp;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 iLbyt;i: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 jLbyt;j:Lbyt$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 kLbyt;k:Lbyu;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 lLbyt;l:Lbzf;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 mLbyt;m:Lbyt$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 nLbyt;n:Lbyx;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 oLbyt;o: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>Lbyt;<init>(Lbyt$c;Lbyt$b;Lbyx;Lbyu;Lbzf;)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 aLbyt;a()Iintermediary method_8697Lnet/minecraft/class_1959;method_8697()Inamed getSkyColorLnet/minecraft/world/biome/Biome;getSkyColor()I
-
getSpawnSettings
- Mappings:
Namespace Name Mixin selector official bLbyt;b()Lbzf;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 cLbyt;c()Lbyt$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 dLbyt;d()Zintermediary method_8724Lnet/minecraft/class_1959;method_8724()Znamed hasHighHumidityLnet/minecraft/world/biome/Biome;hasHighHumidity()Z
-
computeTemperature
- Mappings:
Namespace Name Mixin selector official cLbyt;c(Lgh;)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
- Mappings:
Namespace Name Mixin selector official aLbyt;a(Lgh;)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 aLbyt;a(Lbxw;Lgh;)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 aLbyt;a(Lbxw;Lgh;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 bLbyt;b(Lgh;)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
-
canSetSnow
- Mappings:
Namespace Name Mixin selector official bLbyt;b(Lbxw;Lgh;)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 eLbyt;e()Lbyu;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 fLbyt;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 aLbyt;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 sLbyt;s()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 gLbyt;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 tLbyt;t()Iintermediary method_30774Lnet/minecraft/class_1959;method_30774()Inamed getDefaultFoliageColorLnet/minecraft/world/biome/Biome;getDefaultFoliageColor()I
-
buildSurface
public void buildSurface(Random random, Chunk chunk, int x, int z, int worldHeight, double noise, BlockState defaultBlock, BlockState defaultFluid, int seaLevel, int int2, long seed) - Mappings:
Namespace Name Mixin selector official aLbyt;a(Ljava/util/Random;Lcnu;IIIDLcmb;Lcmb;IIJ)Vintermediary method_8703Lnet/minecraft/class_1959;method_8703(Ljava/util/Random;Lnet/minecraft/class_2791;IIIDLnet/minecraft/class_2680;Lnet/minecraft/class_2680;IIJ)Vnamed buildSurfaceLnet/minecraft/world/biome/Biome;buildSurface(Ljava/util/Random;Lnet/minecraft/world/chunk/Chunk;IIIDLnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;IIJ)V
-
getDownfall
public final float getDownfall()- Mappings:
Namespace Name Mixin selector official hLbyt;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 iLbyt;i()Fintermediary method_8712Lnet/minecraft/class_1959;method_8712()Fnamed getTemperatureLnet/minecraft/world/biome/Biome;getTemperature()F
-
getEffects
- Mappings:
Namespace Name Mixin selector official jLbyt;j()Lbyx;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 kLbyt;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 lLbyt;l()Iintermediary method_8713Lnet/minecraft/class_1959;method_8713()Inamed getWaterFogColorLnet/minecraft/world/biome/Biome;getWaterFogColor()I
-
getParticleConfig
- Mappings:
Namespace Name Mixin selector official mLbyt;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 nLbyt;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 oLbyt;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 pLbyt;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 qLbyt;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
- Mappings:
Namespace Name Mixin selector official rLbyt;r()Lbyt$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;
-
toString
-