public class BiomeContainer extends java.lang.Object implements BiomeManager.IBiomeReader
Modifier and Type | Field and Description |
---|---|
private Biome[] |
biomes |
static int |
BIOMES_SIZE |
private static int |
HEIGHT_BITS |
static int |
HORIZONTAL_MASK |
private static org.apache.logging.log4j.Logger |
LOGGER |
static int |
VERTICAL_MASK |
private static int |
WIDTH_BITS |
Modifier | Constructor and Description |
---|---|
private |
BiomeContainer() |
|
BiomeContainer(Biome[] biomesIn) |
|
BiomeContainer(ChunkPos chunkPosIn,
BiomeProvider biomeProviderIn) |
|
BiomeContainer(ChunkPos chunkPosIn,
BiomeProvider biomeProviderIn,
int[] biomeIds) |
|
BiomeContainer(PacketBuffer packetBufferIn) |
Modifier and Type | Method and Description |
---|---|
BiomeContainer |
clone() |
int[] |
getBiomeIds() |
Biome |
getNoiseBiome(int x,
int y,
int z) |
void |
writeToBuf(PacketBuffer buf) |
private static final org.apache.logging.log4j.Logger LOGGER
private static final int WIDTH_BITS
private static final int HEIGHT_BITS
public static final int BIOMES_SIZE
public static final int HORIZONTAL_MASK
public static final int VERTICAL_MASK
private final Biome[] biomes
public BiomeContainer(Biome[] biomesIn)
private BiomeContainer()
public BiomeContainer(PacketBuffer packetBufferIn)
public BiomeContainer(ChunkPos chunkPosIn, BiomeProvider biomeProviderIn)
public BiomeContainer(ChunkPos chunkPosIn, BiomeProvider biomeProviderIn, @Nullable int[] biomeIds)
public int[] getBiomeIds()
public void writeToBuf(PacketBuffer buf)
public BiomeContainer clone()
clone
in class java.lang.Object
public Biome getNoiseBiome(int x, int y, int z)
getNoiseBiome
in interface BiomeManager.IBiomeReader