Constructor and Description |
---|
OldChunk(CompoundTag tag)
Construct the chunk with a compound tag.
|
Modifier and Type | Method and Description |
---|---|
BaseBlock |
getBlock(BlockVector3 position)
Get a block.
|
public OldChunk(CompoundTag tag) throws DataException
tag
- the tagDataException
- if there is an error getting the chunk datapublic BaseBlock getBlock(BlockVector3 position) throws DataException
Chunk
getBlock
in interface Chunk
position
- the position of the blockDataException
- thrown on data error