Package net.minecraft.world.biome
Class Biome
java.lang.Object
net.minecraft.world.biome.Biome
- Mappings:
Namespace Name named net/minecraft/world/biome/Biome
intermediary net/minecraft/class_1959
official dij
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static enum
private static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Biome> private final BiomeEffects
static final OctaveSimplexNoiseSampler
Deprecated, for removal: This API element is subject to removal in a future version.(package private) static final OctaveSimplexNoiseSampler
private final GenerationSettings
private static final int
static final com.mojang.serialization.Codec
<Biome> static final com.mojang.serialization.Codec
<RegistryEntry<Biome>> static final com.mojang.serialization.Codec
<RegistryEntryList<Biome>> private final SpawnSettings
private static final OctaveSimplexNoiseSampler
private final ThreadLocal
<Long2FloatLinkedOpenHashMap> private final Biome.Weather
-
Constructor Summary
ConstructorDescriptionBiome
(Biome.Weather weather, BiomeEffects effects, GenerationSettings generationSettings, SpawnSettings spawnSettings) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
canSetSnow
(WorldView world, BlockPos pos) private float
computeTemperature
(BlockPos pos, int seaLevel) boolean
doesNotSnow
(BlockPos pos, int seaLevel) private int
private int
int
int
int
getGrassColorAt
(double x, double z) getMusic()
getPrecipitation
(BlockPos pos, int seaLevel) int
float
private float
getTemperature
(BlockPos blockPos, int seaLevel) Deprecated.int
int
boolean
boolean
boolean
shouldGenerateLowerFrozenOceanSurface
(BlockPos pos, int seaLevel)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/biome/Biome;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_25819
Lnet/minecraft/class_1959;field_25819:Lcom/mojang/serialization/Codec;
official a
Ldij;a:Lcom/mojang/serialization/Codec;
-
NETWORK_CODEC
- Mappings:
Namespace Name Mixin selector named NETWORK_CODEC
Lnet/minecraft/world/biome/Biome;NETWORK_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_26633
Lnet/minecraft/class_1959;field_26633:Lcom/mojang/serialization/Codec;
official b
Ldij;b:Lcom/mojang/serialization/Codec;
-
REGISTRY_CODEC
- Mappings:
Namespace Name Mixin selector named REGISTRY_CODEC
Lnet/minecraft/world/biome/Biome;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_24677
Lnet/minecraft/class_1959;field_24677:Lcom/mojang/serialization/Codec;
official c
Ldij;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_CODEC
Lnet/minecraft/world/biome/Biome;REGISTRY_ENTRY_LIST_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_26750
Lnet/minecraft/class_1959;field_26750:Lcom/mojang/serialization/Codec;
official d
Ldij;d:Lcom/mojang/serialization/Codec;
-
TEMPERATURE_NOISE
- Mappings:
Namespace Name Mixin selector named TEMPERATURE_NOISE
Lnet/minecraft/world/biome/Biome;TEMPERATURE_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
intermediary field_9335
Lnet/minecraft/class_1959;field_9335:Lnet/minecraft/class_3543;
official f
Ldij;f:Letb;
-
FROZEN_OCEAN_NOISE
- Mappings:
Namespace Name Mixin selector named FROZEN_OCEAN_NOISE
Lnet/minecraft/world/biome/Biome;FROZEN_OCEAN_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
intermediary field_26392
Lnet/minecraft/class_1959;field_26392:Lnet/minecraft/class_3543;
official g
Ldij;g:Letb;
-
FOLIAGE_NOISE
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector named FOLIAGE_NOISE
Lnet/minecraft/world/biome/Biome;FOLIAGE_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
intermediary field_9324
Lnet/minecraft/class_1959;field_9324:Lnet/minecraft/class_3543;
official e
Ldij;e:Letb;
-
MAX_TEMPERATURE_CACHE_SIZE
private static final int MAX_TEMPERATURE_CACHE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_TEMPERATURE_CACHE_SIZE
Lnet/minecraft/world/biome/Biome;MAX_TEMPERATURE_CACHE_SIZE:I
intermediary field_30978
Lnet/minecraft/class_1959;field_30978:I
official h
Ldij;h:I
-
weather
- Mappings:
Namespace Name Mixin selector named weather
Lnet/minecraft/world/biome/Biome;weather:Lnet/minecraft/world/biome/Biome$Weather;
intermediary field_26393
Lnet/minecraft/class_1959;field_26393:Lnet/minecraft/class_1959$class_5482;
official i
Ldij;i:Ldij$b;
-
generationSettings
- Mappings:
Namespace Name Mixin selector named generationSettings
Lnet/minecraft/world/biome/Biome;generationSettings:Lnet/minecraft/world/biome/GenerationSettings;
intermediary field_26635
Lnet/minecraft/class_1959;field_26635:Lnet/minecraft/class_5485;
official j
Ldij;j:Ldik;
-
spawnSettings
- Mappings:
Namespace Name Mixin selector named spawnSettings
Lnet/minecraft/world/biome/Biome;spawnSettings:Lnet/minecraft/world/biome/SpawnSettings;
intermediary field_26395
Lnet/minecraft/class_1959;field_26395:Lnet/minecraft/class_5483;
official k
Ldij;k:Ldiv;
-
effects
- Mappings:
Namespace Name Mixin selector named effects
Lnet/minecraft/world/biome/Biome;effects:Lnet/minecraft/world/biome/BiomeEffects;
intermediary field_22039
Lnet/minecraft/class_1959;field_22039:Lnet/minecraft/class_4763;
official l
Ldij;l:Ldip;
-
temperatureCache
- Mappings:
Namespace Name Mixin selector named temperatureCache
Lnet/minecraft/world/biome/Biome;temperatureCache:Ljava/lang/ThreadLocal;
intermediary field_20335
Lnet/minecraft/class_1959;field_20335:Ljava/lang/ThreadLocal;
official m
Ldij;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;)V
intermediary <init>
Lnet/minecraft/class_1959;<init>(Lnet/minecraft/class_1959$class_5482;Lnet/minecraft/class_4763;Lnet/minecraft/class_5485;Lnet/minecraft/class_5483;)V
official <init>
Ldij;<init>(Ldij$b;Ldip;Ldik;Ldiv;)V
-
-
Method Details
-
getSkyColor
public int getSkyColor()- Mappings:
Namespace Name Mixin selector named getSkyColor
Lnet/minecraft/world/biome/Biome;getSkyColor()I
intermediary method_8697
Lnet/minecraft/class_1959;method_8697()I
official a
Ldij;a()I
-
getSpawnSettings
- Mappings:
Namespace Name Mixin selector named getSpawnSettings
Lnet/minecraft/world/biome/Biome;getSpawnSettings()Lnet/minecraft/world/biome/SpawnSettings;
intermediary method_30966
Lnet/minecraft/class_1959;method_30966()Lnet/minecraft/class_5483;
official b
Ldij;b()Ldiv;
-
hasPrecipitation
public boolean hasPrecipitation()- Mappings:
Namespace Name Mixin selector named hasPrecipitation
Lnet/minecraft/world/biome/Biome;hasPrecipitation()Z
intermediary method_48163
Lnet/minecraft/class_1959;method_48163()Z
official c
Ldij;c()Z
-
getPrecipitation
- Mappings:
Namespace Name Mixin selector named getPrecipitation
Lnet/minecraft/world/biome/Biome;getPrecipitation(Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/world/biome/Biome$Precipitation;
intermediary method_48162
Lnet/minecraft/class_1959;method_48162(Lnet/minecraft/class_2338;I)Lnet/minecraft/class_1959$class_1963;
official a
Ldij;a(Ljh;I)Ldij$c;
-
computeTemperature
- Mappings:
Namespace Name Mixin selector named computeTemperature
Lnet/minecraft/world/biome/Biome;computeTemperature(Lnet/minecraft/util/math/BlockPos;I)F
intermediary method_8707
Lnet/minecraft/class_1959;method_8707(Lnet/minecraft/class_2338;I)F
official e
Ldij;e(Ljh;I)F
-
getTemperature
Deprecated.- Mappings:
Namespace Name Mixin selector named getTemperature
Lnet/minecraft/world/biome/Biome;getTemperature(Lnet/minecraft/util/math/BlockPos;I)F
intermediary method_21740
Lnet/minecraft/class_1959;method_21740(Lnet/minecraft/class_2338;I)F
official f
Ldij;f(Ljh;I)F
-
canSetIce
- Mappings:
Namespace Name Mixin selector named canSetIce
Lnet/minecraft/world/biome/Biome;canSetIce(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_8705
Lnet/minecraft/class_1959;method_8705(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
official a
Ldij;a(Ldhk;Ljh;)Z
-
canSetIce
- Mappings:
Namespace Name Mixin selector named canSetIce
Lnet/minecraft/world/biome/Biome;canSetIce(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Z)Z
intermediary method_8685
Lnet/minecraft/class_1959;method_8685(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Z)Z
official a
Ldij;a(Ldhk;Ljh;Z)Z
-
isCold
- Mappings:
Namespace Name Mixin selector named isCold
Lnet/minecraft/world/biome/Biome;isCold(Lnet/minecraft/util/math/BlockPos;I)Z
intermediary method_33599
Lnet/minecraft/class_1959;method_33599(Lnet/minecraft/class_2338;I)Z
official b
Ldij;b(Ljh;I)Z
-
doesNotSnow
- Mappings:
Namespace Name Mixin selector named doesNotSnow
Lnet/minecraft/world/biome/Biome;doesNotSnow(Lnet/minecraft/util/math/BlockPos;I)Z
intermediary method_39927
Lnet/minecraft/class_1959;method_39927(Lnet/minecraft/class_2338;I)Z
official c
Ldij;c(Ljh;I)Z
-
shouldGenerateLowerFrozenOceanSurface
- Mappings:
Namespace Name Mixin selector named shouldGenerateLowerFrozenOceanSurface
Lnet/minecraft/world/biome/Biome;shouldGenerateLowerFrozenOceanSurface(Lnet/minecraft/util/math/BlockPos;I)Z
intermediary method_39928
Lnet/minecraft/class_1959;method_39928(Lnet/minecraft/class_2338;I)Z
official d
Ldij;d(Ljh;I)Z
-
canSetSnow
- Mappings:
Namespace Name Mixin selector named canSetSnow
Lnet/minecraft/world/biome/Biome;canSetSnow(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_8696
Lnet/minecraft/class_1959;method_8696(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
official b
Ldij;b(Ldhk;Ljh;)Z
-
getGenerationSettings
- Mappings:
Namespace Name Mixin selector named getGenerationSettings
Lnet/minecraft/world/biome/Biome;getGenerationSettings()Lnet/minecraft/world/biome/GenerationSettings;
intermediary method_30970
Lnet/minecraft/class_1959;method_30970()Lnet/minecraft/class_5485;
official d
Ldij;d()Ldik;
-
getFogColor
public int getFogColor()- Mappings:
Namespace Name Mixin selector named getFogColor
Lnet/minecraft/world/biome/Biome;getFogColor()I
intermediary method_24376
Lnet/minecraft/class_1959;method_24376()I
official e
Ldij;e()I
-
getGrassColorAt
public int getGrassColorAt(double x, double z) - Mappings:
Namespace Name Mixin selector named getGrassColorAt
Lnet/minecraft/world/biome/Biome;getGrassColorAt(DD)I
intermediary method_8711
Lnet/minecraft/class_1959;method_8711(DD)I
official a
Ldij;a(DD)I
-
getDefaultGrassColor
private int getDefaultGrassColor()- Mappings:
Namespace Name Mixin selector named getDefaultGrassColor
Lnet/minecraft/world/biome/Biome;getDefaultGrassColor()I
intermediary method_30773
Lnet/minecraft/class_1959;method_30773()I
official p
Ldij;p()I
-
getFoliageColor
public int getFoliageColor()- Mappings:
Namespace Name Mixin selector named getFoliageColor
Lnet/minecraft/world/biome/Biome;getFoliageColor()I
intermediary method_8698
Lnet/minecraft/class_1959;method_8698()I
official f
Ldij;f()I
-
getDefaultFoliageColor
private int getDefaultFoliageColor()- Mappings:
Namespace Name Mixin selector named getDefaultFoliageColor
Lnet/minecraft/world/biome/Biome;getDefaultFoliageColor()I
intermediary method_30774
Lnet/minecraft/class_1959;method_30774()I
official q
Ldij;q()I
-
getTemperature
public float getTemperature()- Mappings:
Namespace Name Mixin selector named getTemperature
Lnet/minecraft/world/biome/Biome;getTemperature()F
intermediary method_8712
Lnet/minecraft/class_1959;method_8712()F
official g
Ldij;g()F
-
getEffects
- Mappings:
Namespace Name Mixin selector named getEffects
Lnet/minecraft/world/biome/Biome;getEffects()Lnet/minecraft/world/biome/BiomeEffects;
intermediary method_24377
Lnet/minecraft/class_1959;method_24377()Lnet/minecraft/class_4763;
official h
Ldij;h()Ldip;
-
getWaterColor
public int getWaterColor()- Mappings:
Namespace Name Mixin selector named getWaterColor
Lnet/minecraft/world/biome/Biome;getWaterColor()I
intermediary method_8687
Lnet/minecraft/class_1959;method_8687()I
official i
Ldij;i()I
-
getWaterFogColor
public int getWaterFogColor()- Mappings:
Namespace Name Mixin selector named getWaterFogColor
Lnet/minecraft/world/biome/Biome;getWaterFogColor()I
intermediary method_8713
Lnet/minecraft/class_1959;method_8713()I
official j
Ldij;j()I
-
getParticleConfig
- Mappings:
Namespace Name Mixin selector named getParticleConfig
Lnet/minecraft/world/biome/Biome;getParticleConfig()Ljava/util/Optional;
intermediary method_24378
Lnet/minecraft/class_1959;method_24378()Ljava/util/Optional;
official k
Ldij;k()Ljava/util/Optional;
-
getLoopSound
- Mappings:
Namespace Name Mixin selector named getLoopSound
Lnet/minecraft/world/biome/Biome;getLoopSound()Ljava/util/Optional;
intermediary method_24935
Lnet/minecraft/class_1959;method_24935()Ljava/util/Optional;
official l
Ldij;l()Ljava/util/Optional;
-
getMoodSound
- Mappings:
Namespace Name Mixin selector named getMoodSound
Lnet/minecraft/world/biome/Biome;getMoodSound()Ljava/util/Optional;
intermediary method_24936
Lnet/minecraft/class_1959;method_24936()Ljava/util/Optional;
official m
Ldij;m()Ljava/util/Optional;
-
getAdditionsSound
- Mappings:
Namespace Name Mixin selector named getAdditionsSound
Lnet/minecraft/world/biome/Biome;getAdditionsSound()Ljava/util/Optional;
intermediary method_24937
Lnet/minecraft/class_1959;method_24937()Ljava/util/Optional;
official n
Ldij;n()Ljava/util/Optional;
-
getMusic
- Mappings:
Namespace Name Mixin selector named getMusic
Lnet/minecraft/world/biome/Biome;getMusic()Ljava/util/Optional;
intermediary method_27343
Lnet/minecraft/class_1959;method_27343()Ljava/util/Optional;
official o
Ldij;o()Ljava/util/Optional;
-