Package net.minecraft.world.biome.source
Class BiomeArray
java.lang.Object
net.minecraft.world.biome.source.BiomeArray
- All Implemented Interfaces:
BiomeAccess.Storage
- Direct Known Subclasses:
EmptyChunk.class_5706
public class BiomeArray extends Object implements BiomeAccess.Storage
-
Field Summary
Fields Modifier and Type Field Description private Biome[]datastatic intDEFAULT_LENGTHprivate IndexedIterable<Biome>field_25831private intfield_28126private intfield_28127private static intHORIZONTAL_BIT_MASKprivate static intHORIZONTAL_SECTION_COUNTprivate static LoggerLOGGER -
Constructor Summary
Constructors Modifier Constructor Description BiomeArray(IndexedIterable<Biome> indexedIterable, HeightLimitView heightLimitView, int[] int2)BiomeArray(IndexedIterable<Biome> indexedIterable, HeightLimitView heightLimitView, ChunkPos chunkPos, BiomeSource biomeSource)BiomeArray(IndexedIterable<Biome> indexedIterable, HeightLimitView heightLimitView, ChunkPos chunkPos, BiomeSource biomeSource, int[] int2)protectedBiomeArray(IndexedIterable<Biome> indexedIterable, HeightLimitView heightLimitView, Biome[] biome) -
Method Summary
Modifier and Type Method Description BiomegetBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)private static intmethod_32915(int int2, int int3)private static Biomemethod_32916(BiomeSource biomeSource, int int2, int int3, int int4, int int5)int[]toIntArray()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
method_31609
-
Field Details
-
LOGGER
-
HORIZONTAL_SECTION_COUNT
private static final int HORIZONTAL_SECTION_COUNT -
HORIZONTAL_BIT_MASK
private static final int HORIZONTAL_BIT_MASK -
DEFAULT_LENGTH
public static final int DEFAULT_LENGTH -
field_25831
-
data
-
field_28126
private final int field_28126 -
field_28127
private final int field_28127
-
-
Constructor Details
-
BiomeArray
protected BiomeArray(IndexedIterable<Biome> indexedIterable, HeightLimitView heightLimitView, Biome[] biome) -
BiomeArray
@Environment(CLIENT) public BiomeArray(IndexedIterable<Biome> indexedIterable, HeightLimitView heightLimitView, int[] int2) -
BiomeArray
public BiomeArray(IndexedIterable<Biome> indexedIterable, HeightLimitView heightLimitView, ChunkPos chunkPos, BiomeSource biomeSource) -
BiomeArray
public BiomeArray(IndexedIterable<Biome> indexedIterable, HeightLimitView heightLimitView, ChunkPos chunkPos, BiomeSource biomeSource, @Nullable int[] int2)
-
-
Method Details
-
method_32915
private static int method_32915(int int2, int int3) -
method_32916
-
toIntArray
public int[] toIntArray() -
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGenin interfaceBiomeAccess.Storage
-