[][src]Module fastnbt::anvil

For handling Minecraft's region format, Anvil.

anvil::Region can be given a Read and Seek type eg a file in order to extract chunk data.

Modules

biome

functionality relating to Minecraft biomes.

bits

functionality around bit manipulations specific to the Anvil file format.

draw

functionality for drawing maps.

Structs

Block

A block within the world.

Chunk

A Minecraft chunk.

ChunkLocation

The location of chunk data within a Region file.

ChunkMeta

Encodes how the NBT-Data is compressed

Level

A level describes the contents of the chunk in the world.

Region

A Minecraft Region.

Section

A vertical section of a chunk (ie a 16x16x16 block cube)

Enums

CompressionScheme

Various compression schemes that NBT data is typically compressed with.

Error

Constants

HEADER_SIZE

the size of the region file header.

SECTOR_SIZE

the size in bytes of a 'sector' in a region file. Sectors are Minecraft's size unit for chunks. For example, a chunk might be 3 * SECTOR_SIZE bytes.

Type Definitions

Result