Package net.minecraft.world.gen.layer
Class BiomeLayer
- java.lang.Object
-
- net.minecraft.world.gen.layer.BiomeLayer
-
- All Implemented Interfaces:
IAreaTransformer1
,IC0Transformer
,IDimOffset0Transformer
,IDimTransformer
public class BiomeLayer extends java.lang.Object implements IC0Transformer
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<BiomeManager.BiomeEntry>[]
biomes
private static int[]
COLD_BIOMES
private static int[]
ICE_BIOMES
private static int[]
LEGACY_WARM_BIOMES
private boolean
legacyDesert
private static int[]
MEDIUM_BIOMES
private static int[]
WARM_BIOMES
private int[]
warmBiomes
-
Constructor Summary
Constructors Constructor Description BiomeLayer(boolean p_i232147_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
apply(INoiseRandom p_202726_1_, int p_202726_2_)
protected RegistryKey<Biome>
getBiome(BiomeManager.BiomeType type, INoiseRandom context)
private int
getBiomeId(BiomeManager.BiomeType type, INoiseRandom context)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.world.gen.layer.traits.IAreaTransformer1
run
-
Methods inherited from interface net.minecraft.world.gen.layer.traits.IC0Transformer
applyPixel
-
Methods inherited from interface net.minecraft.world.gen.layer.traits.IDimOffset0Transformer
getParentX, getParentY
-
-
-
-
Field Detail
-
LEGACY_WARM_BIOMES
private static final int[] LEGACY_WARM_BIOMES
-
WARM_BIOMES
private static final int[] WARM_BIOMES
-
MEDIUM_BIOMES
private static final int[] MEDIUM_BIOMES
-
COLD_BIOMES
private static final int[] COLD_BIOMES
-
ICE_BIOMES
private static final int[] ICE_BIOMES
-
warmBiomes
private int[] warmBiomes
-
legacyDesert
private final boolean legacyDesert
-
biomes
private java.util.List<BiomeManager.BiomeEntry>[] biomes
-
-
Method Detail
-
apply
public int apply(INoiseRandom p_202726_1_, int p_202726_2_)
- Specified by:
apply
in interfaceIC0Transformer
-
getBiomeId
private int getBiomeId(BiomeManager.BiomeType type, INoiseRandom context)
-
getBiome
protected RegistryKey<Biome> getBiome(BiomeManager.BiomeType type, INoiseRandom context)
-
-