Class: VoxelChunk
This page documents the methods and fields available in the VoxelChunk class.
Members
| Signature | Description |
|---|---|
apply() | Performs the apply operation. |
containsBlock(int, int, int) | Performs the containsBlock operation using the provided parameters (x, y, z). |
containsLocalBlock(int, int, int) | Performs the containsLocalBlock operation using the provided parameters (x, y, z). |
getBlock(int, int, int) | Returns the current block. |
getBlockLocal(int, int, int) | Returns the current block local. |
getBlocksMatrixCritical() | Returns the current blocks matrix critical. |
getHeight() | Returns the current height. |
getMaxVerticesCount() | Returns the current max vertices count. |
getOffset() | Returns the current offset. |
getWidth() | Returns the current width. |
invalidateBlocks() | Performs the invalidateBlocks operation. |
isReady() | Returns whether ready is true. |
isUsePositionAsCoordinatesOffset() | Returns whether use position as coordinates offset is true. |
setBlock(int, int, int, int) | Sets or updates the block. |
setBlocksMatrix(OH3LevelIntArray) | Sets or updates the blocks matrix. |
setHeight(int) | Sets or updates the height. |
setLocalBlock(int, int, int, int) | Sets or updates the local block. |
setOffset(Vector2) | Sets or updates the offset. |
setUsePositionAsCoordinatesOffset(boolean) | Sets or updates the use position as coordinates offset. |
setWidth(int) | Sets or updates the width. |