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_LENGTHstatic intHORIZONTAL_BIT_MASKprivate static intHORIZONTAL_SECTION_COUNTprivate static LoggerLOGGERstatic intVERTICAL_BIT_MASKprivate static intVERTICAL_SECTION_COUNT -
Constructor Summary
Constructors Modifier Constructor Description privateBiomeArray()BiomeArray(PacketByteBuf buf)BiomeArray(ChunkPos pos, BiomeSource source)BiomeArray(ChunkPos pos, BiomeSource source, int[] rawIds)BiomeArray(Biome[] data) -
Method Summary
Modifier and Type Method Description BiomeArraycopy()BiomegetBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)int[]toIntArray()voidtoPacket(PacketByteBuf buf)
-
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 -
data
-
-
Constructor Details
-
BiomeArray
-
BiomeArray
private BiomeArray() -
BiomeArray
-
BiomeArray
-
BiomeArray
-
-
Method Details
-
toIntArray
public int[] toIntArray() -
toPacket
-
copy
-
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGenin interfaceBiomeAccess.Storage
-