Package net.minecraft.world.biome
Class Biome
java.lang.Object
net.minecraft.world.biome.Biome
public final class Biome extends Object
- Mappings:
Namespace Name official buu
intermediary net/minecraft/class_1959
named net/minecraft/world/biome/Biome
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Biome.Builder
static class
Biome.Category
static class
Biome.MixedNoisePoint
Represents a point in a multi-dimensional cartesian plane.static class
Biome.Precipitation
static class
Biome.TemperatureModifier
(package private) static class
Biome.Weather
-
Field Summary
Fields Modifier and Type Field Description private Biome.Category
category
static com.mojang.serialization.Codec<Biome>
CODEC
private float
depth
private BiomeEffects
effects
static com.mojang.serialization.Codec<Biome>
field_26633
static com.mojang.serialization.Codec<List<Supplier<Biome>>>
field_26750
static OctaveSimplexNoiseSampler
FOLIAGE_NOISE
private static OctaveSimplexNoiseSampler
FROZEN_OCEAN_NOISE
private GenerationSettings
generationSettings
static Logger
LOGGER
static com.mojang.serialization.Codec<Supplier<Biome>>
REGISTRY_CODEC
private float
scale
private SpawnSettings
spawnSettings
private Map<Integer,List<StructureFeature<?>>>
structures
private static OctaveSimplexNoiseSampler
TEMPERATURE_NOISE
private ThreadLocal<Long2FloatLinkedOpenHashMap>
temperatureCache
private Biome.Weather
weather
-
Constructor Summary
Constructors Modifier Constructor Description private
Biome(Biome.Weather weather, Biome.Category category, float depth, float scale, BiomeEffects effects, GenerationSettings generationSettings, SpawnSettings spawnSettings)
-
Method Summary
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lbuu;a:Lorg/apache/logging/log4j/Logger;
intermediary field_9330
Lnet/minecraft/class_1959;field_9330:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/world/biome/Biome;LOGGER:Lorg/apache/logging/log4j/Logger;
-
CODEC
- Mappings:
Namespace Name Mixin selector official b
Lbuu;b:Lcom/mojang/serialization/Codec;
intermediary field_25819
Lnet/minecraft/class_1959;field_25819:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/biome/Biome;CODEC:Lcom/mojang/serialization/Codec;
-
field_26633
- Mappings:
Namespace Name Mixin selector official c
Lbuu;c:Lcom/mojang/serialization/Codec;
intermediary field_26633
Lnet/minecraft/class_1959;field_26633:Lcom/mojang/serialization/Codec;
named field_26633
Lnet/minecraft/world/biome/Biome;field_26633:Lcom/mojang/serialization/Codec;
-
REGISTRY_CODEC
- Mappings:
Namespace Name Mixin selector official d
Lbuu;d:Lcom/mojang/serialization/Codec;
intermediary field_24677
Lnet/minecraft/class_1959;field_24677:Lcom/mojang/serialization/Codec;
named REGISTRY_CODEC
Lnet/minecraft/world/biome/Biome;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;
-
field_26750
- Mappings:
Namespace Name Mixin selector official e
Lbuu;e:Lcom/mojang/serialization/Codec;
intermediary field_26750
Lnet/minecraft/class_1959;field_26750:Lcom/mojang/serialization/Codec;
named field_26750
Lnet/minecraft/world/biome/Biome;field_26750:Lcom/mojang/serialization/Codec;
-
TEMPERATURE_NOISE
- Mappings:
Namespace Name Mixin selector official h
Lbuu;h:Lczq;
intermediary field_9335
Lnet/minecraft/class_1959;field_9335:Lnet/minecraft/class_3543;
named TEMPERATURE_NOISE
Lnet/minecraft/world/biome/Biome;TEMPERATURE_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
-
FROZEN_OCEAN_NOISE
- Mappings:
Namespace Name Mixin selector official i
Lbuu;i:Lczq;
intermediary field_26392
Lnet/minecraft/class_1959;field_26392:Lnet/minecraft/class_3543;
named FROZEN_OCEAN_NOISE
Lnet/minecraft/world/biome/Biome;FROZEN_OCEAN_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
-
FOLIAGE_NOISE
- Mappings:
Namespace Name Mixin selector official f
Lbuu;f:Lczq;
intermediary field_9324
Lnet/minecraft/class_1959;field_9324:Lnet/minecraft/class_3543;
named FOLIAGE_NOISE
Lnet/minecraft/world/biome/Biome;FOLIAGE_NOISE:Lnet/minecraft/util/math/noise/OctaveSimplexNoiseSampler;
-
structures
- Mappings:
Namespace Name Mixin selector official g
Lbuu;g:Ljava/util/Map;
intermediary field_26634
Lnet/minecraft/class_1959;field_26634:Ljava/util/Map;
named structures
Lnet/minecraft/world/biome/Biome;structures:Ljava/util/Map;
-
weather
- Mappings:
Namespace Name Mixin selector official j
Lbuu;j:Lbuu$d;
intermediary field_26393
Lnet/minecraft/class_1959;field_26393:Lnet/minecraft/class_1959$class_5482;
named weather
Lnet/minecraft/world/biome/Biome;weather:Lnet/minecraft/world/biome/Biome$Weather;
-
generationSettings
- Mappings:
Namespace Name Mixin selector official k
Lbuu;k:Lbuv;
intermediary field_26635
Lnet/minecraft/class_1959;field_26635:Lnet/minecraft/class_5485;
named generationSettings
Lnet/minecraft/world/biome/Biome;generationSettings:Lnet/minecraft/world/biome/GenerationSettings;
-
spawnSettings
- Mappings:
Namespace Name Mixin selector official l
Lbuu;l:Lbvf;
intermediary field_26395
Lnet/minecraft/class_1959;field_26395:Lnet/minecraft/class_5483;
named spawnSettings
Lnet/minecraft/world/biome/Biome;spawnSettings:Lnet/minecraft/world/biome/SpawnSettings;
-
depth
private final float depth- Mappings:
Namespace Name Mixin selector official m
Lbuu;m:F
intermediary field_9343
Lnet/minecraft/class_1959;field_9343:F
named depth
Lnet/minecraft/world/biome/Biome;depth:F
-
scale
private final float scale- Mappings:
Namespace Name Mixin selector official n
Lbuu;n:F
intermediary field_9341
Lnet/minecraft/class_1959;field_9341:F
named scale
Lnet/minecraft/world/biome/Biome;scale:F
-
category
- Mappings:
Namespace Name Mixin selector official o
Lbuu;o:Lbuu$b;
intermediary field_9329
Lnet/minecraft/class_1959;field_9329:Lnet/minecraft/class_1959$class_1961;
named category
Lnet/minecraft/world/biome/Biome;category:Lnet/minecraft/world/biome/Biome$Category;
-
effects
- Mappings:
Namespace Name Mixin selector official p
Lbuu;p:Lbuy;
intermediary field_22039
Lnet/minecraft/class_1959;field_22039:Lnet/minecraft/class_4763;
named effects
Lnet/minecraft/world/biome/Biome;effects:Lnet/minecraft/world/biome/BiomeEffects;
-
temperatureCache
- Mappings:
Namespace Name Mixin selector official q
Lbuu;q:Ljava/lang/ThreadLocal;
intermediary field_20335
Lnet/minecraft/class_1959;field_20335:Ljava/lang/ThreadLocal;
named temperatureCache
Lnet/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>
Lbuu;<init>(Lbuu$d;Lbuu$b;FFLbuy;Lbuv;Lbvf;)V
intermediary <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;)V
named <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
- Mappings:
Namespace Name Mixin selector official a
Lbuu;a()I
intermediary method_8697
Lnet/minecraft/class_1959;method_8697()I
named getSkyColor
Lnet/minecraft/world/biome/Biome;getSkyColor()I
-
getSpawnSettings
- Mappings:
Namespace Name Mixin selector official b
Lbuu;b()Lbvf;
intermediary method_30966
Lnet/minecraft/class_1959;method_30966()Lnet/minecraft/class_5483;
named getSpawnSettings
Lnet/minecraft/world/biome/Biome;getSpawnSettings()Lnet/minecraft/world/biome/SpawnSettings;
-
getPrecipitation
- Mappings:
Namespace Name Mixin selector official c
Lbuu;c()Lbuu$e;
intermediary method_8694
Lnet/minecraft/class_1959;method_8694()Lnet/minecraft/class_1959$class_1963;
named getPrecipitation
Lnet/minecraft/world/biome/Biome;getPrecipitation()Lnet/minecraft/world/biome/Biome$Precipitation;
-
hasHighHumidity
public boolean hasHighHumidity()- Mappings:
Namespace Name Mixin selector official d
Lbuu;d()Z
intermediary method_8724
Lnet/minecraft/class_1959;method_8724()Z
named hasHighHumidity
Lnet/minecraft/world/biome/Biome;hasHighHumidity()Z
-
computeTemperature
- Mappings:
Namespace Name Mixin selector official c
Lbuu;c(Lfx;)F
intermediary method_8707
Lnet/minecraft/class_1959;method_8707(Lnet/minecraft/class_2338;)F
named computeTemperature
Lnet/minecraft/world/biome/Biome;computeTemperature(Lnet/minecraft/util/math/BlockPos;)F
-
getTemperature
- Mappings:
Namespace Name Mixin selector official a
Lbuu;a(Lfx;)F
intermediary method_21740
Lnet/minecraft/class_1959;method_21740(Lnet/minecraft/class_2338;)F
named getTemperature
Lnet/minecraft/world/biome/Biome;getTemperature(Lnet/minecraft/util/math/BlockPos;)F
-
canSetIce
- Mappings:
Namespace Name Mixin selector official a
Lbuu;a(Lbty;Lfx;)Z
intermediary method_8705
Lnet/minecraft/class_1959;method_8705(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named canSetIce
Lnet/minecraft/world/biome/Biome;canSetIce(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
canSetIce
- Mappings:
Namespace Name Mixin selector official a
Lbuu;a(Lbty;Lfx;Z)Z
intermediary method_8685
Lnet/minecraft/class_1959;method_8685(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Z)Z
named canSetIce
Lnet/minecraft/world/biome/Biome;canSetIce(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Z)Z
-
method_33599
- Mappings:
Namespace Name Mixin selector official b
Lbuu;b(Lfx;)Z
intermediary method_33599
Lnet/minecraft/class_1959;method_33599(Lnet/minecraft/class_2338;)Z
named method_33599
Lnet/minecraft/world/biome/Biome;method_33599(Lnet/minecraft/util/math/BlockPos;)Z
-
canSetSnow
- Mappings:
Namespace Name Mixin selector official b
Lbuu;b(Lbty;Lfx;)Z
intermediary method_8696
Lnet/minecraft/class_1959;method_8696(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named canSetSnow
Lnet/minecraft/world/biome/Biome;canSetSnow(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
getGenerationSettings
- Mappings:
Namespace Name Mixin selector official e
Lbuu;e()Lbuv;
intermediary method_30970
Lnet/minecraft/class_1959;method_30970()Lnet/minecraft/class_5485;
named getGenerationSettings
Lnet/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 pos)- Mappings:
Namespace Name Mixin selector official a
Lbuu;a(Lbum;Lcjn;Labb;JLcmz;Lfx;)V
intermediary method_8702
Lnet/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;)V
named generateFeatureStep
Lnet/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
- Mappings:
Namespace Name Mixin selector official f
Lbuu;f()I
intermediary method_24376
Lnet/minecraft/class_1959;method_24376()I
named getFogColor
Lnet/minecraft/world/biome/Biome;getFogColor()I
-
getGrassColorAt
- Mappings:
Namespace Name Mixin selector official a
Lbuu;a(DD)I
intermediary method_8711
Lnet/minecraft/class_1959;method_8711(DD)I
named getGrassColorAt
Lnet/minecraft/world/biome/Biome;getGrassColorAt(DD)I
-
getDefaultGrassColor
- Mappings:
Namespace Name Mixin selector official v
Lbuu;v()I
intermediary method_30773
Lnet/minecraft/class_1959;method_30773()I
named getDefaultGrassColor
Lnet/minecraft/world/biome/Biome;getDefaultGrassColor()I
-
getFoliageColor
- Mappings:
Namespace Name Mixin selector official g
Lbuu;g()I
intermediary method_8698
Lnet/minecraft/class_1959;method_8698()I
named getFoliageColor
Lnet/minecraft/world/biome/Biome;getFoliageColor()I
-
getDefaultFoliageColor
- Mappings:
Namespace Name Mixin selector official w
Lbuu;w()I
intermediary method_30774
Lnet/minecraft/class_1959;method_30774()I
named getDefaultFoliageColor
Lnet/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, long seed)- Mappings:
Namespace Name Mixin selector official a
Lbuu;a(Ljava/util/Random;Lcjl;IIIDLcht;Lcht;IJ)V
intermediary method_8703
Lnet/minecraft/class_1959;method_8703(Ljava/util/Random;Lnet/minecraft/class_2791;IIIDLnet/minecraft/class_2680;Lnet/minecraft/class_2680;IJ)V
named buildSurface
Lnet/minecraft/world/biome/Biome;buildSurface(Ljava/util/Random;Lnet/minecraft/world/chunk/Chunk;IIIDLnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;IJ)V
-
getDepth
public final float getDepth()- Mappings:
Namespace Name Mixin selector official h
Lbuu;h()F
intermediary method_8695
Lnet/minecraft/class_1959;method_8695()F
named getDepth
Lnet/minecraft/world/biome/Biome;getDepth()F
-
getDownfall
public final float getDownfall()- Mappings:
Namespace Name Mixin selector official i
Lbuu;i()F
intermediary method_8715
Lnet/minecraft/class_1959;method_8715()F
named getDownfall
Lnet/minecraft/world/biome/Biome;getDownfall()F
-
getScale
public final float getScale()- Mappings:
Namespace Name Mixin selector official j
Lbuu;j()F
intermediary method_8686
Lnet/minecraft/class_1959;method_8686()F
named getScale
Lnet/minecraft/world/biome/Biome;getScale()F
-
getTemperature
public final float getTemperature()- Mappings:
Namespace Name Mixin selector official k
Lbuu;k()F
intermediary method_8712
Lnet/minecraft/class_1959;method_8712()F
named getTemperature
Lnet/minecraft/world/biome/Biome;getTemperature()F
-
getEffects
- Mappings:
Namespace Name Mixin selector official l
Lbuu;l()Lbuy;
intermediary method_24377
Lnet/minecraft/class_1959;method_24377()Lnet/minecraft/class_4763;
named getEffects
Lnet/minecraft/world/biome/Biome;getEffects()Lnet/minecraft/world/biome/BiomeEffects;
-
getWaterColor
- Mappings:
Namespace Name Mixin selector official m
Lbuu;m()I
intermediary method_8687
Lnet/minecraft/class_1959;method_8687()I
named getWaterColor
Lnet/minecraft/world/biome/Biome;getWaterColor()I
-
getWaterFogColor
- Mappings:
Namespace Name Mixin selector official n
Lbuu;n()I
intermediary method_8713
Lnet/minecraft/class_1959;method_8713()I
named getWaterFogColor
Lnet/minecraft/world/biome/Biome;getWaterFogColor()I
-
getParticleConfig
- Mappings:
Namespace Name Mixin selector official o
Lbuu;o()Ljava/util/Optional;
intermediary method_24378
Lnet/minecraft/class_1959;method_24378()Ljava/util/Optional;
named getParticleConfig
Lnet/minecraft/world/biome/Biome;getParticleConfig()Ljava/util/Optional;
-
getLoopSound
- Mappings:
Namespace Name Mixin selector official p
Lbuu;p()Ljava/util/Optional;
intermediary method_24935
Lnet/minecraft/class_1959;method_24935()Ljava/util/Optional;
named getLoopSound
Lnet/minecraft/world/biome/Biome;getLoopSound()Ljava/util/Optional;
-
getMoodSound
- Mappings:
Namespace Name Mixin selector official q
Lbuu;q()Ljava/util/Optional;
intermediary method_24936
Lnet/minecraft/class_1959;method_24936()Ljava/util/Optional;
named getMoodSound
Lnet/minecraft/world/biome/Biome;getMoodSound()Ljava/util/Optional;
-
getAdditionsSound
- Mappings:
Namespace Name Mixin selector official r
Lbuu;r()Ljava/util/Optional;
intermediary method_24937
Lnet/minecraft/class_1959;method_24937()Ljava/util/Optional;
named getAdditionsSound
Lnet/minecraft/world/biome/Biome;getAdditionsSound()Ljava/util/Optional;
-
getMusic
- Mappings:
Namespace Name Mixin selector official s
Lbuu;s()Ljava/util/Optional;
intermediary method_27343
Lnet/minecraft/class_1959;method_27343()Ljava/util/Optional;
named getMusic
Lnet/minecraft/world/biome/Biome;getMusic()Ljava/util/Optional;
-
getCategory
- Mappings:
Namespace Name Mixin selector official t
Lbuu;t()Lbuu$b;
intermediary method_8688
Lnet/minecraft/class_1959;method_8688()Lnet/minecraft/class_1959$class_1961;
named getCategory
Lnet/minecraft/world/biome/Biome;getCategory()Lnet/minecraft/world/biome/Biome$Category;
-
toString
-