Struct fastanvil::JavaChunk[][src]

pub struct JavaChunk {
    pub data_version: i32,
    pub level: Level,
}
Expand description

A Minecraft chunk.

Fields

data_version: i32level: Level

Implementations

Trait Implementations

Get the height of the first air-like block above something not air-like. Will panic if given x/z coordinates outside of 0..16. Read more

Get the biome of the given coordinate. A biome may not exist if the section of the chunk accessed is not present. For example, trying to access the block at height 1234 would return None. Read more

Get the block at the given coordinates. A block may not exist if the section of the chunk accessed is not present. For example, trying to access the block at height 1234 would return None. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.