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[]
data
static int
DEFAULT_LENGTH
private IndexedIterable<Biome>
field_25831
private int
field_28126
private int
field_28127
private static int
HORIZONTAL_BIT_MASK
private static int
HORIZONTAL_SECTION_COUNT
private static Logger
LOGGER
-
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)
protected
BiomeArray(IndexedIterable<Biome> indexedIterable, HeightLimitView heightLimitView, Biome[] biome)
-
Method Summary
Modifier and Type Method Description Biome
getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
private static int
method_32915(int int2, int int3)
private static Biome
method_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, wait
Methods 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:
getBiomeForNoiseGen
in interfaceBiomeAccess.Storage
-