Constructor and Description |
---|
AnvilChunk(com.sk89q.worldedit.util.nbt.CompoundBinaryTag tag)
Construct the chunk with a compound tag.
|
AnvilChunk(CompoundTag tag)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BaseBlock |
getBlock(BlockVector3 position)
Get a block.
|
public AnvilChunk(CompoundTag tag) throws DataException
AnvilChunk(CompoundBinaryTag)
tag
- the tag to readDataException
- on a data errorpublic AnvilChunk(com.sk89q.worldedit.util.nbt.CompoundBinaryTag 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