Package net.minecraft.world.biome.source
Class BiomeArray
java.lang.Object
net.minecraft.world.biome.source.BiomeArray
- All Implemented Interfaces:
BiomeAccess.Storage
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
static int
HORIZONTAL_BIT_MASK
private static int
HORIZONTAL_SECTION_COUNT
private static Logger
LOGGER
static int
VERTICAL_BIT_MASK
private static int
VERTICAL_SECTION_COUNT
-
Constructor Summary
Constructors Modifier Constructor Description private
BiomeArray(IndexedIterable<Biome> indexedIterable)
BiomeArray(IndexedIterable<Biome> indexedIterable, int[] int2)
BiomeArray(IndexedIterable<Biome> indexedIterable, ChunkPos chunkPos, BiomeSource biomeSource)
BiomeArray(IndexedIterable<Biome> indexedIterable, ChunkPos chunkPos, BiomeSource biomeSource, int[] int2)
BiomeArray(IndexedIterable<Biome> indexedIterable, Biome[] biome)
-
Method Summary
Modifier and Type Method Description Biome
getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
int[]
toIntArray()
-
Field Details
-
LOGGER
-
HORIZONTAL_SECTION_COUNT
private static final int HORIZONTAL_SECTION_COUNT -
VERTICAL_SECTION_COUNT
private static final int VERTICAL_SECTION_COUNT -
DEFAULT_LENGTH
public static final int DEFAULT_LENGTH -
HORIZONTAL_BIT_MASK
public static final int HORIZONTAL_BIT_MASK -
VERTICAL_BIT_MASK
public static final int VERTICAL_BIT_MASK -
field_25831
-
data
-
-
Constructor Details
-
BiomeArray
-
BiomeArray
-
BiomeArray
-
BiomeArray
public BiomeArray(IndexedIterable<Biome> indexedIterable, ChunkPos chunkPos, BiomeSource biomeSource) -
BiomeArray
public BiomeArray(IndexedIterable<Biome> indexedIterable, ChunkPos chunkPos, BiomeSource biomeSource, @Nullable int[] int2)
-
-
Method Details
-
toIntArray
public int[] toIntArray() -
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGen
in interfaceBiomeAccess.Storage
-