Chunk Reader
Extracts chunk data from a NBTCompound. Does not cache nor convert the raw data. Use when you want to read parts of a chunk without having the memory overhead of ChunkColumn.
Only two piece of information are cached with this object: the data version of the chunk, which is used to know how to extract the chunk data, and the input NBT.
Can throw AnvilException if the NBT data is not recognized or incomplete.
For information on what the different fields extracted from the NBT are, see Chunk Format on the Minecraft wiki
Constructors
ChunkReader
Link copied to clipboard
Functions
getAirCarvingMask
Link copied to clipboard
getBlockEntities
Link copied to clipboard
getCarvingMasks
Link copied to clipboard
getDataVersion
Link copied to clipboard
getGenerationStatus
Link copied to clipboard
getHeightmaps
Link copied to clipboard
getInhabitedTime
Link copied to clipboard
getLastUpdate
Link copied to clipboard
getLiquidCarvingMask
Link copied to clipboard
getLiquidTicks
Link copied to clipboard
getMinecraftVersion
Link copied to clipboard
getMotionBlockingHeightmap
Link copied to clipboard
getMotionBlockingNoLeavesHeightmap
Link copied to clipboard
getOceanFloorHeightmap
Link copied to clipboard
getOceanFloorWorldGenHeightmap
Link copied to clipboard
getOldBiomes
Link copied to clipboard
getOldEntities
Link copied to clipboard
getOldLiquidsToBeTicked
Link copied to clipboard
getOldToBeTicked
Link copied to clipboard
getPostProcessing
Link copied to clipboard
getSections
Link copied to clipboard
getStructures
Link copied to clipboard
getTileEntities
Link copied to clipboard
getTileTicks
Link copied to clipboard
getWorldSurfaceHeightmap
Link copied to clipboard
getWorldSurfaceWorldGenHeightmap
Link copied to clipboard
hasHeightmaps
Link copied to clipboard
readSectionBiomes
Link copied to clipboard
fun readSectionBiomes(chunkSectionReader: ChunkSectionReader): SectionBiomeInformation?
Content copied to clipboard
Properties
chunkData
Link copied to clipboard