Modifier and Type | Field and Description |
---|---|
protected int[] |
biomeData |
protected int |
bitmask |
protected List<com.github.steveice10.opennbt.tag.builtin.CompoundTag> |
blockEntities |
protected boolean |
fullChunk |
protected com.github.steveice10.opennbt.tag.builtin.CompoundTag |
heightMap |
protected boolean |
ignoreOldLightData |
protected ChunkSection[] |
sections |
protected int |
x |
protected int |
z |
Constructor and Description |
---|
BaseChunk(int x,
int z,
boolean fullChunk,
boolean ignoreOldLightData,
int bitmask,
ChunkSection[] sections,
int[] biomeData,
com.github.steveice10.opennbt.tag.builtin.CompoundTag heightMap,
List<com.github.steveice10.opennbt.tag.builtin.CompoundTag> blockEntities) |
BaseChunk(int x,
int z,
boolean fullChunk,
boolean ignoreOldLightData,
int bitmask,
ChunkSection[] sections,
int[] biomeData,
List<com.github.steveice10.opennbt.tag.builtin.CompoundTag> blockEntities) |
Modifier and Type | Method and Description |
---|---|
int[] |
getBiomeData() |
int |
getBitmask() |
List<com.github.steveice10.opennbt.tag.builtin.CompoundTag> |
getBlockEntities() |
com.github.steveice10.opennbt.tag.builtin.CompoundTag |
getHeightMap() |
ChunkSection[] |
getSections() |
int |
getX() |
int |
getZ() |
boolean |
isBiomeData() |
boolean |
isFullChunk() |
boolean |
isIgnoreOldLightData() |
void |
setBiomeData(int[] biomeData) |
void |
setHeightMap(com.github.steveice10.opennbt.tag.builtin.CompoundTag heightMap) |
void |
setIgnoreOldLightData(boolean ignoreOldLightData) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isGroundUp
protected final int x
protected final int z
protected final boolean fullChunk
protected boolean ignoreOldLightData
protected final int bitmask
protected final ChunkSection[] sections
protected int[] biomeData
protected com.github.steveice10.opennbt.tag.builtin.CompoundTag heightMap
protected final List<com.github.steveice10.opennbt.tag.builtin.CompoundTag> blockEntities
public BaseChunk(int x, int z, boolean fullChunk, boolean ignoreOldLightData, int bitmask, ChunkSection[] sections, int[] biomeData, com.github.steveice10.opennbt.tag.builtin.CompoundTag heightMap, List<com.github.steveice10.opennbt.tag.builtin.CompoundTag> blockEntities)
public BaseChunk(int x, int z, boolean fullChunk, boolean ignoreOldLightData, int bitmask, ChunkSection[] sections, int[] biomeData, List<com.github.steveice10.opennbt.tag.builtin.CompoundTag> blockEntities)
public boolean isBiomeData()
isBiomeData
in interface Chunk
public boolean isFullChunk()
isFullChunk
in interface Chunk
public boolean isIgnoreOldLightData()
isIgnoreOldLightData
in interface Chunk
public void setIgnoreOldLightData(boolean ignoreOldLightData)
setIgnoreOldLightData
in interface Chunk
public int getBitmask()
getBitmask
in interface Chunk
public ChunkSection[] getSections()
getSections
in interface Chunk
public int[] getBiomeData()
getBiomeData
in interface Chunk
public void setBiomeData(int[] biomeData)
setBiomeData
in interface Chunk
public com.github.steveice10.opennbt.tag.builtin.CompoundTag getHeightMap()
getHeightMap
in interface Chunk
public void setHeightMap(com.github.steveice10.opennbt.tag.builtin.CompoundTag heightMap)
setHeightMap
in interface Chunk
public List<com.github.steveice10.opennbt.tag.builtin.CompoundTag> getBlockEntities()
getBlockEntities
in interface Chunk
Copyright © 2016–2021. All rights reserved.