| Constructor and Description |
|---|
AnvilChunk(LocalWorld world,
CompoundTag tag)
Construct the chunk with a compound tag.
|
| Modifier and Type | Method and Description |
|---|---|
BaseBlock |
getBlock(Vector pos)
Get a block;
|
int |
getBlockData(Vector pos)
Get the block data of a block.
|
int |
getBlockID(Vector pos)
Get the block ID of a block.
|
public AnvilChunk(LocalWorld world, CompoundTag tag) throws DataException
world - the world to construct the chunk fortag - the tag to readDataException - on a data errorpublic int getBlockID(Vector pos) throws DataException
ChunkgetBlockID in interface ChunkDataExceptionpublic int getBlockData(Vector pos) throws DataException
ChunkgetBlockData in interface ChunkDataExceptionpublic BaseBlock getBlock(Vector pos) throws DataException
ChunkgetBlock in interface ChunkDataExceptionCopyright © 2010-2014. All Rights Reserved.