- canPass
bool canPass(Vector3d pos)
Undocumented in source. Be warned that the author may not have intended to support it.
- canPass
bool canPass(Vector3d pos, Vector3d size)
Undocumented in source. Be warned that the author may not have intended to support it.
- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- getCell
cell_t getCell(int x, int y, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
- getCellChunk
SmallChunk* getCellChunk(int x, int y, int z)
get chunk for cell by world cell coordinates x, y, z
- getCellChunkStack
ChunkStack* getCellChunkStack(int x, int z)
get chunk stack for cell by world cell coordinates x, z
- getChunk
SmallChunk* getChunk(int chunkx, int chunky, int chunkz)
get chunk by chunkx = x / 8 + CHUNKS_X, chunky = y / 8, chunkz = z / 8 + CHUNKS_Z
- isOpaque
bool isOpaque(int x, int y, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
- regionHeight
int regionHeight(int x, int z, int size)
get max Y position of non-empty cell in region (x +- size, z +- size)
- setCell
void setCell(int x, int y, int z, cell_t value)
Undocumented in source. Be warned that the author may not have intended to support it.
- setCellRange
void setCellRange(Vector3d pos, Vector3d sz, cell_t value)
Undocumented in source. Be warned that the author may not have intended to support it.
- visitVisibleChunks
void visitVisibleChunks(ChunkVisitor visitor, Vector3d pos, int maxDistance)
visit visible chunks, starting from specified position