Method of Chunk
chunk:get
Chunk X coordinate (16 blocks each). Chunk Z coordinate (16 blocks each). The chunk's lowest corner, inclusive; y runs 0..255 or the game version's height. The chunk's highest corner, inclusive. Returns the block there now, by name; air outside the chunk.
chunk:get(pos: Vec3) → string
Parameters
posVec3Returns
string