Constructor and Description |
---|
AnvilChunk(World world,
CompoundTag tag)
Construct the chunk with a compound tag.
|
Modifier and Type | Method and Description |
---|---|
BlockStateHolder |
getBlock(Vector position)
Get a block;
|
public AnvilChunk(World world, CompoundTag tag) throws DataException
world
- the world to construct the chunk fortag
- the tag to readDataException
- on a data errorpublic BlockStateHolder getBlock(Vector position) throws DataException
Chunk
getBlock
in interface Chunk
position
- the position of the blockDataException
- thrown on data error