Package net.minecraft.world.biome
Class Biome
java.lang.Object
net.minecraft.world.biome.Biome
- Mappings:
Namespace Name official bwwintermediary net/minecraft/class_1959named net/minecraft/world/biome/Biome
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classRepresents a point in a multi-dimensional cartesian plane.static classstatic class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Biome.Categorystatic com.mojang.serialization.Codec<Biome>private floatprivate BiomeEffectsstatic com.mojang.serialization.Codec<Biome>private static intstatic OctaveSimplexNoiseSamplerprivate static OctaveSimplexNoiseSamplerprivate GenerationSettingsstatic Loggerprivate floatprivate SpawnSettingsprivate Map<Integer,List<StructureFeature<?>>>private static OctaveSimplexNoiseSamplerprivate ThreadLocal<Long2FloatLinkedOpenHashMap>private Biome.Weather -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBiome(Biome.Weather weather, Biome.Category category, float depth, float scale, 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 long2)booleanbooleanbooleancanSetSnow(WorldView world, BlockPos blockPos)private floatcomputeTemperature(BlockPos pos)voidgenerateFeatureStep(StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, ChunkRegion region, long populationSeed, ChunkRandom random, BlockPos origin)private intprivate intfloatgetDepth()floatintintintgetGrassColorAt(double x, double z)getMusic()floatgetScale()intfloatfloatgetTemperature(BlockPos blockPos)intintbooleanbooleantoString()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLbww;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 bLbww;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 cLbww;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 dLbww;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 eLbww;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 hLbww;h:Ldcy;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 iLbww;i:Ldcy;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 fLbww;f:Ldcy;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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official jLbww;j:Iintermediary field_30978Lnet/minecraft/class_1959;field_30978:Inamed field_30978Lnet/minecraft/world/biome/Biome;field_30978:I
-
structures
- Mappings:
Namespace Name Mixin selector official gLbww;g:Ljava/util/Map;intermediary field_26634Lnet/minecraft/class_1959;field_26634:Ljava/util/Map;named structuresLnet/minecraft/world/biome/Biome;structures:Ljava/util/Map;
-
weather
- Mappings:
Namespace Name Mixin selector official kLbww;k:Lbww$d;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 lLbww;l:Lbwx;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 mLbww;m:Lbxh;intermediary field_26395Lnet/minecraft/class_1959;field_26395:Lnet/minecraft/class_5483;named spawnSettingsLnet/minecraft/world/biome/Biome;spawnSettings:Lnet/minecraft/world/biome/SpawnSettings;
-
depth
private final float depth- Mappings:
Namespace Name Mixin selector official nLbww;n:Fintermediary field_9343Lnet/minecraft/class_1959;field_9343:Fnamed depthLnet/minecraft/world/biome/Biome;depth:F
-
scale
private final float scale- Mappings:
Namespace Name Mixin selector official oLbww;o:Fintermediary field_9341Lnet/minecraft/class_1959;field_9341:Fnamed scaleLnet/minecraft/world/biome/Biome;scale:F
-
category
- Mappings:
Namespace Name Mixin selector official pLbww;p:Lbww$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 qLbww;q:Lbxa;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 rLbww;r: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
private Biome(Biome.Weather weather, Biome.Category category, float depth, float scale, BiomeEffects effects, GenerationSettings generationSettings, SpawnSettings spawnSettings)- Mappings:
Namespace Name Mixin selector official <init>Lbww;<init>(Lbww$d;Lbww$b;FFLbxa;Lbwx;Lbxh;)Vintermediary <init>Lnet/minecraft/class_1959;<init>(Lnet/minecraft/class_1959$class_5482;Lnet/minecraft/class_1959$class_1961;FFLnet/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;FFLnet/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 aLbww;a()Iintermediary method_8697Lnet/minecraft/class_1959;method_8697()Inamed getSkyColorLnet/minecraft/world/biome/Biome;getSkyColor()I
-
getSpawnSettings
- Mappings:
Namespace Name Mixin selector official bLbww;b()Lbxh;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 cLbww;c()Lbww$e;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 dLbww;d()Zintermediary method_8724Lnet/minecraft/class_1959;method_8724()Znamed hasHighHumidityLnet/minecraft/world/biome/Biome;hasHighHumidity()Z
-
computeTemperature
- Mappings:
Namespace Name Mixin selector official cLbww;c(Lgb;)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 aLbww;a(Lgb;)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 aLbww;a(Lbwa;Lgb;)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 aLbww;a(Lbwa;Lgb;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 bLbww;b(Lgb;)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 bLbww;b(Lbwa;Lgb;)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 eLbww;e()Lbwx;intermediary method_30970Lnet/minecraft/class_1959;method_30970()Lnet/minecraft/class_5485;named getGenerationSettingsLnet/minecraft/world/biome/Biome;getGenerationSettings()Lnet/minecraft/world/biome/GenerationSettings;
-
generateFeatureStep
public void generateFeatureStep(StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, ChunkRegion region, long populationSeed, ChunkRandom random, BlockPos origin)- Mappings:
Namespace Name Mixin selector official aLbww;a(Lbwo;Lcls;Labp;JLcpo;Lgb;)Vintermediary method_8702Lnet/minecraft/class_1959;method_8702(Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_3233;JLnet/minecraft/class_2919;Lnet/minecraft/class_2338;)Vnamed generateFeatureStepLnet/minecraft/world/biome/Biome;generateFeatureStep(Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/world/ChunkRegion;JLnet/minecraft/world/gen/ChunkRandom;Lnet/minecraft/util/math/BlockPos;)V
-
getFogColor
public int getFogColor()- Mappings:
Namespace Name Mixin selector official fLbww;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 aLbww;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 vLbww;v()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 gLbww;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 wLbww;w()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 long2)- Mappings:
Namespace Name Mixin selector official aLbww;a(Ljava/util/Random;Lclq;IIIDLcjx;Lcjx;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
-
getDepth
public final float getDepth()- Mappings:
Namespace Name Mixin selector official hLbww;h()Fintermediary method_8695Lnet/minecraft/class_1959;method_8695()Fnamed getDepthLnet/minecraft/world/biome/Biome;getDepth()F
-
getDownfall
public final float getDownfall()- Mappings:
Namespace Name Mixin selector official iLbww;i()Fintermediary method_8715Lnet/minecraft/class_1959;method_8715()Fnamed getDownfallLnet/minecraft/world/biome/Biome;getDownfall()F
-
getScale
public final float getScale()- Mappings:
Namespace Name Mixin selector official jLbww;j()Fintermediary method_8686Lnet/minecraft/class_1959;method_8686()Fnamed getScaleLnet/minecraft/world/biome/Biome;getScale()F
-
getTemperature
public final float getTemperature()- Mappings:
Namespace Name Mixin selector official kLbww;k()Fintermediary method_8712Lnet/minecraft/class_1959;method_8712()Fnamed getTemperatureLnet/minecraft/world/biome/Biome;getTemperature()F
-
getEffects
- Mappings:
Namespace Name Mixin selector official lLbww;l()Lbxa;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 mLbww;m()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 nLbww;n()Iintermediary method_8713Lnet/minecraft/class_1959;method_8713()Inamed getWaterFogColorLnet/minecraft/world/biome/Biome;getWaterFogColor()I
-
getParticleConfig
- Mappings:
Namespace Name Mixin selector official oLbww;o()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 pLbww;p()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 qLbww;q()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 rLbww;r()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 sLbww;s()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 tLbww;t()Lbww$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
-