Constructor and Description |
---|
OldChunk(World world,
CompoundTag tag)
Construct the chunk with a compound tag.
|
Modifier and Type | Method and Description |
---|---|
BaseBlock |
getBlock(BlockVector3 position)
Get a block;
|
public OldChunk(World world, CompoundTag tag) throws DataException
world
- the worldtag
- the tagDataException
public BaseBlock getBlock(BlockVector3 position) throws DataException
Chunk
getBlock
in interface Chunk
position
- the position of the blockDataException
- thrown on data error