Guide 1 Docs 2 Reference 3

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

posVec3required

Returns

string

Used in