Guide 1 Docs 2 Reference 3

Function of World

world.block

The block there as the handle a hook gets: reads are live, and what it does lands on the next tick. state and data are for this pack's own blocks. nil where that chunk is not in memory.

world.block(pos: Vec3) → BlockAt?

Parameters

posVec3required

Returns

BlockAt?

Used in