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[]datastatic intDEFAULT_LENGTHprivate IndexedIterable<Biome>field_25831static intHORIZONTAL_BIT_MASKprivate static intHORIZONTAL_SECTION_COUNTprivate static LoggerLOGGERstatic intVERTICAL_BIT_MASKprivate static intVERTICAL_SECTION_COUNT -
Constructor Summary
Constructors Modifier Constructor Description privateBiomeArray(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 BiomegetBiomeForNoiseGen(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:
getBiomeForNoiseGenin interfaceBiomeAccess.Storage
-