Package com.sk89q.worldedit.world.chunk
Class AnvilChunk15
java.lang.Object
com.sk89q.worldedit.world.chunk.AnvilChunk13
com.sk89q.worldedit.world.chunk.AnvilChunk15
- All Implemented Interfaces:
Chunk
- Direct Known Subclasses:
AnvilChunk16
The chunk format for Minecraft 1.15 and newer
-
Field Summary
Fields inherited from class com.sk89q.worldedit.world.chunk.AnvilChunk13
biomes, rootTag
-
Constructor Summary
ConstructorDescriptionAnvilChunk15
(CompoundTag tag) Deprecated.AnvilChunk15
(com.sk89q.worldedit.util.nbt.CompoundBinaryTag tag) Construct the chunk with a compound tag. -
Method Summary
Methods inherited from class com.sk89q.worldedit.world.chunk.AnvilChunk13
getBlock, getEntities, readBlockStates
-
Constructor Details
-
AnvilChunk15
Deprecated.Construct the chunk with a compound tag.- Parameters:
tag
- the tag to read- Throws:
DataException
- on a data error
-
AnvilChunk15
Construct the chunk with a compound tag.- Parameters:
tag
- the tag to read- Throws:
DataException
- on a data error
-
-
Method Details
-
getBiome
Description copied from interface:Chunk
Get a biome.- Specified by:
getBiome
in interfaceChunk
- Overrides:
getBiome
in classAnvilChunk13
- Parameters:
position
- the position of the block- Returns:
- block the block
- Throws:
DataException
- thrown on data error
-
AnvilChunk15(CompoundBinaryTag)