Constructor and Description |
---|
AnvilChunk(CompoundTag tag)
Construct the chunk with a compound tag.
|
Modifier and Type | Method and Description |
---|---|
BaseBlock |
getBlock(BlockVector3 position)
Get a block.
|
public AnvilChunk(CompoundTag tag) throws DataException
tag
- the tag to readDataException
- on a data errorpublic BaseBlock getBlock(BlockVector3 position) throws DataException
Chunk
getBlock
in interface Chunk
position
- the position of the blockDataException
- thrown on data error