public interface Chunk
Modifier and Type | Method and Description |
---|---|
BaseBlock |
getBlock(Vector position)
Get a block;
|
int |
getBlockData(Vector position)
Get the block data of a block.
|
int |
getBlockID(Vector position)
Get the block ID of a block.
|
int getBlockID(Vector position) throws DataException
position
- the position of the blockDataException
- thrown on data errorint getBlockData(Vector position) throws DataException
position
- the position of the blockDataException
- thrown on data errorBaseBlock getBlock(Vector position) throws DataException
position
- the position of the blockDataException
- thrown on data error