Package net.minecraft.world.biome
Class Biome
java.lang.Object
net.minecraft.world.biome.Biome
- Mappings:
Namespace Name named net/minecraft/world/biome/Biomeintermediary net/minecraft/class_1959official dnw
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enumprivate static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Biome> private final BiomeEffectsstatic final OctaveSimplexNoiseSamplerDeprecated, for removal: This API element is subject to removal in a future version.(package private) static final OctaveSimplexNoiseSamplerprivate final GenerationSettingsprivate static final intstatic final com.mojang.serialization.Codec<Biome> static final com.mojang.serialization.Codec<RegistryEntry<Biome>> static final com.mojang.serialization.Codec<RegistryEntryList<Biome>> private final SpawnSettingsprivate static final OctaveSimplexNoiseSamplerprivate final ThreadLocal<Long2FloatLinkedOpenHashMap> private final Biome.Weather -
Constructor Summary
ConstructorsConstructorDescriptionBiome(Biome.Weather weather, BiomeEffects effects, GenerationSettings generationSettings, SpawnSettings spawnSettings) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleancanSetSnow(WorldView world, BlockPos pos) private floatcomputeTemperature(BlockPos pos, int seaLevel) booleandoesNotSnow(BlockPos pos, int seaLevel) private intprivate intprivate intintintintprivate intintgetGrassColorAt(double x, double z) getMusic()floatgetPrecipitation(BlockPos pos, int seaLevel) intfloatprivate floatgetTemperature(BlockPos blockPos, int seaLevel) Deprecated.intintbooleanbooleanbooleanshouldGenerateLowerFrozenOceanSurface(BlockPos pos, int seaLevel)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/biome/Biome;CODEC:Lcom/mojang/serialization/Codec;intermediary field_25819Lnet/minecraft/class_1959;field_25819:Lcom/mojang/serialization/Codec;official aLdnw;a:Lcom/mojang/serialization/Codec;
-
NETWORK_CODEC
- Mappings:
Namespace Name Mixin selector named NETWORK_CODECLnet/minecraft/world/biome/Biome;NETWORK_CODEC:Lcom/mojang/serialization/Codec;intermediary field_26633Lnet/minecraft/class_1959;field_26633:Lcom/mojang/serialization/Codec;official bLdnw;b:Lcom/mojang/serialization/Codec;
-
REGISTRY_CODEC
- Mappings:
Namespace Name Mixin selector named REGISTRY_CODECLnet/minecraft/world/biome/Biome;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;intermediary field_24677Lnet/minecraft/class_1959;field_24677:Lcom/mojang/serialization/Codec;official cLdnw;c:Lcom/mojang/serialization/Codec;
-
REGISTRY_ENTRY_LIST_CODEC
public static final com.mojang.serialization.Codec<RegistryEntryList<Biome>> REGISTRY_ENTRY_LIST_CODEC- Mappings:
Namespace Name Mixin selector named REGISTRY_ENTRY_LIST_CODECLnet/minecraft/world/biome/Biome;REGISTRY_ENTRY_LIST_CODEC:Lcom/mojang/serialization/Codec;intermediary field_26750Lnet/minecraft/class_1959;field_26750:Lcom/mojang/serialization/Codec;official dLdnw;d:Lcom/mojang/serialization/Codec;
-
TEMPERATURE_NOISE
- Mappings:
Namespace Name Mixin selector named TEMPERATURE_NOISELnet/minecraft/world/biome/Biome;TEMPERATURE_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;intermediary field_9335Lnet/minecraft/class_1959;field_9335:Lnet/minecraft/class_3543;official fLdnw;f:Lezp;
-
FROZEN_OCEAN_NOISE
- Mappings:
Namespace Name Mixin selector named FROZEN_OCEAN_NOISELnet/minecraft/world/biome/Biome;FROZEN_OCEAN_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;intermediary field_26392Lnet/minecraft/class_1959;field_26392:Lnet/minecraft/class_3543;official gLdnw;g:Lezp;
-
FOLIAGE_NOISE
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector named FOLIAGE_NOISELnet/minecraft/world/biome/Biome;FOLIAGE_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;intermediary field_9324Lnet/minecraft/class_1959;field_9324:Lnet/minecraft/class_3543;official eLdnw;e:Lezp;
-
MAX_TEMPERATURE_CACHE_SIZE
private static final int MAX_TEMPERATURE_CACHE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_TEMPERATURE_CACHE_SIZELnet/minecraft/world/biome/Biome;MAX_TEMPERATURE_CACHE_SIZE:Iintermediary field_30978Lnet/minecraft/class_1959;field_30978:Iofficial hLdnw;h:I
-
weather
- Mappings:
Namespace Name Mixin selector named weatherLnet/minecraft/world/biome/Biome;weather:Lnet/minecraft/world/biome/Biome$Weather;intermediary field_26393Lnet/minecraft/class_1959;field_26393:Lnet/minecraft/class_1959$class_5482;official iLdnw;i:Ldnw$b;
-
generationSettings
- Mappings:
Namespace Name Mixin selector named generationSettingsLnet/minecraft/world/biome/Biome;generationSettings:Lnet/minecraft/world/biome/GenerationSettings;intermediary field_26635Lnet/minecraft/class_1959;field_26635:Lnet/minecraft/class_5485;official jLdnw;j:Ldnx;
-
spawnSettings
- Mappings:
Namespace Name Mixin selector named spawnSettingsLnet/minecraft/world/biome/Biome;spawnSettings:Lnet/minecraft/world/biome/SpawnSettings;intermediary field_26395Lnet/minecraft/class_1959;field_26395:Lnet/minecraft/class_5483;official kLdnw;k:Ldoi;
-
effects
- Mappings:
Namespace Name Mixin selector named effectsLnet/minecraft/world/biome/Biome;effects:Lnet/minecraft/world/biome/BiomeEffects;intermediary field_22039Lnet/minecraft/class_1959;field_22039:Lnet/minecraft/class_4763;official lLdnw;l:Ldoc;
-
temperatureCache
- Mappings:
Namespace Name Mixin selector named temperatureCacheLnet/minecraft/world/biome/Biome;temperatureCache:Ljava/lang/ThreadLocal;intermediary field_20335Lnet/minecraft/class_1959;field_20335:Ljava/lang/ThreadLocal;official mLdnw;m:Ljava/lang/ThreadLocal;
-
-
Constructor Details
-
Biome
Biome(Biome.Weather weather, BiomeEffects effects, GenerationSettings generationSettings, SpawnSettings spawnSettings) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/biome/Biome;<init>(Lnet/minecraft/world/biome/Biome$Weather;Lnet/minecraft/world/biome/BiomeEffects;Lnet/minecraft/world/biome/GenerationSettings;Lnet/minecraft/world/biome/SpawnSettings;)Vintermediary <init>Lnet/minecraft/class_1959;<init>(Lnet/minecraft/class_1959$class_5482;Lnet/minecraft/class_4763;Lnet/minecraft/class_5485;Lnet/minecraft/class_5483;)Vofficial <init>Ldnw;<init>(Ldnw$b;Ldoc;Ldnx;Ldoi;)V
-
-
Method Details
-
getSkyColor
public int getSkyColor()- Mappings:
Namespace Name Mixin selector named getSkyColorLnet/minecraft/world/biome/Biome;getSkyColor()Iintermediary method_8697Lnet/minecraft/class_1959;method_8697()Iofficial aLdnw;a()I
-
getSpawnSettings
- Mappings:
Namespace Name Mixin selector named getSpawnSettingsLnet/minecraft/world/biome/Biome;getSpawnSettings()Lnet/minecraft/world/biome/SpawnSettings;intermediary method_30966Lnet/minecraft/class_1959;method_30966()Lnet/minecraft/class_5483;official bLdnw;b()Ldoi;
-
hasPrecipitation
public boolean hasPrecipitation()- Mappings:
Namespace Name Mixin selector named hasPrecipitationLnet/minecraft/world/biome/Biome;hasPrecipitation()Zintermediary method_48163Lnet/minecraft/class_1959;method_48163()Zofficial cLdnw;c()Z
-
getPrecipitation
- Mappings:
Namespace Name Mixin selector named getPrecipitationLnet/minecraft/world/biome/Biome;getPrecipitation(Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/world/biome/Biome$Precipitation;intermediary method_48162Lnet/minecraft/class_1959;method_48162(Lnet/minecraft/class_2338;I)Lnet/minecraft/class_1959$class_1963;official aLdnw;a(Ljb;I)Ldnw$c;
-
computeTemperature
- Mappings:
Namespace Name Mixin selector named computeTemperatureLnet/minecraft/world/biome/Biome;computeTemperature(Lnet/minecraft/util/math/BlockPos;I)Fintermediary method_8707Lnet/minecraft/class_1959;method_8707(Lnet/minecraft/class_2338;I)Fofficial eLdnw;e(Ljb;I)F
-
getTemperature
Deprecated.- Mappings:
Namespace Name Mixin selector named getTemperatureLnet/minecraft/world/biome/Biome;getTemperature(Lnet/minecraft/util/math/BlockPos;I)Fintermediary method_21740Lnet/minecraft/class_1959;method_21740(Lnet/minecraft/class_2338;I)Fofficial fLdnw;f(Ljb;I)F
-
canSetIce
- Mappings:
Namespace Name Mixin selector named canSetIceLnet/minecraft/world/biome/Biome;canSetIce(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_8705Lnet/minecraft/class_1959;method_8705(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Zofficial aLdnw;a(Ldmw;Ljb;)Z
-
canSetIce
- Mappings:
Namespace Name Mixin selector named canSetIceLnet/minecraft/world/biome/Biome;canSetIce(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Z)Zintermediary method_8685Lnet/minecraft/class_1959;method_8685(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Z)Zofficial aLdnw;a(Ldmw;Ljb;Z)Z
-
isCold
- Mappings:
Namespace Name Mixin selector named isColdLnet/minecraft/world/biome/Biome;isCold(Lnet/minecraft/util/math/BlockPos;I)Zintermediary method_33599Lnet/minecraft/class_1959;method_33599(Lnet/minecraft/class_2338;I)Zofficial bLdnw;b(Ljb;I)Z
-
doesNotSnow
- Mappings:
Namespace Name Mixin selector named doesNotSnowLnet/minecraft/world/biome/Biome;doesNotSnow(Lnet/minecraft/util/math/BlockPos;I)Zintermediary method_39927Lnet/minecraft/class_1959;method_39927(Lnet/minecraft/class_2338;I)Zofficial cLdnw;c(Ljb;I)Z
-
shouldGenerateLowerFrozenOceanSurface
- Mappings:
Namespace Name Mixin selector named shouldGenerateLowerFrozenOceanSurfaceLnet/minecraft/world/biome/Biome;shouldGenerateLowerFrozenOceanSurface(Lnet/minecraft/util/math/BlockPos;I)Zintermediary method_39928Lnet/minecraft/class_1959;method_39928(Lnet/minecraft/class_2338;I)Zofficial dLdnw;d(Ljb;I)Z
-
canSetSnow
- Mappings:
Namespace Name Mixin selector named canSetSnowLnet/minecraft/world/biome/Biome;canSetSnow(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_8696Lnet/minecraft/class_1959;method_8696(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Zofficial bLdnw;b(Ldmw;Ljb;)Z
-
getGenerationSettings
- Mappings:
Namespace Name Mixin selector named getGenerationSettingsLnet/minecraft/world/biome/Biome;getGenerationSettings()Lnet/minecraft/world/biome/GenerationSettings;intermediary method_30970Lnet/minecraft/class_1959;method_30970()Lnet/minecraft/class_5485;official dLdnw;d()Ldnx;
-
getFogColor
public int getFogColor()- Mappings:
Namespace Name Mixin selector named getFogColorLnet/minecraft/world/biome/Biome;getFogColor()Iintermediary method_24376Lnet/minecraft/class_1959;method_24376()Iofficial eLdnw;e()I
-
getGrassColorAt
public int getGrassColorAt(double x, double z) - Mappings:
Namespace Name Mixin selector named getGrassColorAtLnet/minecraft/world/biome/Biome;getGrassColorAt(DD)Iintermediary method_8711Lnet/minecraft/class_1959;method_8711(DD)Iofficial aLdnw;a(DD)I
-
getGrassColor
private int getGrassColor()- Mappings:
Namespace Name Mixin selector named getGrassColorLnet/minecraft/world/biome/Biome;getGrassColor()Iintermediary method_66386Lnet/minecraft/class_1959;method_66386()Iofficial rLdnw;r()I
-
getDefaultGrassColor
private int getDefaultGrassColor()- Mappings:
Namespace Name Mixin selector named getDefaultGrassColorLnet/minecraft/world/biome/Biome;getDefaultGrassColor()Iintermediary method_30773Lnet/minecraft/class_1959;method_30773()Iofficial sLdnw;s()I
-
getFoliageColor
public int getFoliageColor()- Mappings:
Namespace Name Mixin selector named getFoliageColorLnet/minecraft/world/biome/Biome;getFoliageColor()Iintermediary method_8698Lnet/minecraft/class_1959;method_8698()Iofficial fLdnw;f()I
-
getDefaultFoliageColor
private int getDefaultFoliageColor()- Mappings:
Namespace Name Mixin selector named getDefaultFoliageColorLnet/minecraft/world/biome/Biome;getDefaultFoliageColor()Iintermediary method_30774Lnet/minecraft/class_1959;method_30774()Iofficial tLdnw;t()I
-
getDryFoliageColor
public int getDryFoliageColor()- Mappings:
Namespace Name Mixin selector named getDryFoliageColorLnet/minecraft/world/biome/Biome;getDryFoliageColor()Iintermediary method_68145Lnet/minecraft/class_1959;method_68145()Iofficial gLdnw;g()I
-
getDefaultDryFoliageColor
private int getDefaultDryFoliageColor()- Mappings:
Namespace Name Mixin selector named getDefaultDryFoliageColorLnet/minecraft/world/biome/Biome;getDefaultDryFoliageColor()Iintermediary method_68146Lnet/minecraft/class_1959;method_68146()Iofficial uLdnw;u()I
-
getTemperature
public float getTemperature()- Mappings:
Namespace Name Mixin selector named getTemperatureLnet/minecraft/world/biome/Biome;getTemperature()Fintermediary method_8712Lnet/minecraft/class_1959;method_8712()Fofficial hLdnw;h()F
-
getEffects
- Mappings:
Namespace Name Mixin selector named getEffectsLnet/minecraft/world/biome/Biome;getEffects()Lnet/minecraft/world/biome/BiomeEffects;intermediary method_24377Lnet/minecraft/class_1959;method_24377()Lnet/minecraft/class_4763;official iLdnw;i()Ldoc;
-
getWaterColor
public int getWaterColor()- Mappings:
Namespace Name Mixin selector named getWaterColorLnet/minecraft/world/biome/Biome;getWaterColor()Iintermediary method_8687Lnet/minecraft/class_1959;method_8687()Iofficial jLdnw;j()I
-
getWaterFogColor
public int getWaterFogColor()- Mappings:
Namespace Name Mixin selector named getWaterFogColorLnet/minecraft/world/biome/Biome;getWaterFogColor()Iintermediary method_8713Lnet/minecraft/class_1959;method_8713()Iofficial kLdnw;k()I
-
getParticleConfig
- Mappings:
Namespace Name Mixin selector named getParticleConfigLnet/minecraft/world/biome/Biome;getParticleConfig()Ljava/util/Optional;intermediary method_24378Lnet/minecraft/class_1959;method_24378()Ljava/util/Optional;official lLdnw;l()Ljava/util/Optional;
-
getLoopSound
- Mappings:
Namespace Name Mixin selector named getLoopSoundLnet/minecraft/world/biome/Biome;getLoopSound()Ljava/util/Optional;intermediary method_24935Lnet/minecraft/class_1959;method_24935()Ljava/util/Optional;official mLdnw;m()Ljava/util/Optional;
-
getMoodSound
- Mappings:
Namespace Name Mixin selector named getMoodSoundLnet/minecraft/world/biome/Biome;getMoodSound()Ljava/util/Optional;intermediary method_24936Lnet/minecraft/class_1959;method_24936()Ljava/util/Optional;official nLdnw;n()Ljava/util/Optional;
-
getAdditionsSound
- Mappings:
Namespace Name Mixin selector named getAdditionsSoundLnet/minecraft/world/biome/Biome;getAdditionsSound()Ljava/util/Optional;intermediary method_24937Lnet/minecraft/class_1959;method_24937()Ljava/util/Optional;official oLdnw;o()Ljava/util/Optional;
-
getMusic
- Mappings:
Namespace Name Mixin selector named getMusicLnet/minecraft/world/biome/Biome;getMusic()Ljava/util/Optional;intermediary method_27343Lnet/minecraft/class_1959;method_27343()Ljava/util/Optional;official pLdnw;p()Ljava/util/Optional;
-
getMusicVolume
public float getMusicVolume()- Mappings:
Namespace Name Mixin selector named getMusicVolumeLnet/minecraft/world/biome/Biome;getMusicVolume()Fintermediary method_65133Lnet/minecraft/class_1959;method_65133()Fofficial qLdnw;q()F
-