Package com.sk89q.worldedit.world.chunk
Interface Chunk
- All Known Implementing Classes:
AnvilChunk
,AnvilChunk13
,AnvilChunk15
,AnvilChunk16
,AnvilChunk17
,AnvilChunk18
,OldChunk
public interface Chunk
A 16 by 16 block chunk.
-
Method Summary
Modifier and TypeMethodDescriptiondefault BiomeType
getBiome
(BlockVector3 position) Get a biome.getBlock
(BlockVector3 position) Get a block.default List<BaseEntity>
Get the stored entities.
-
Method Details
-
getBlock
Get a block.- Parameters:
position
- the position of the block- Returns:
- block the block
- Throws:
DataException
- thrown on data error
-
getBiome
Get a biome.- Parameters:
position
- the position of the block- Returns:
- block the block
- Throws:
DataException
- thrown on data error
-
getEntities
Get the stored entities.- Returns:
- list of stored entities
- Throws:
DataException
-