Enum fastanvil::JavaChunk [−][src]
pub enum JavaChunk {
Post18(CurrentJavaChunk),
Pre18(JavaChunk),
}
Expand description
A Minecraft chunk.
Variants
Post18(CurrentJavaChunk)
Tuple Fields
Pre18(JavaChunk)
Tuple Fields
0: JavaChunk
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more