Guide 1 Docs 2 Reference 3

Field of BlockAt

blockAt.powered

Whether a redstone signal reaches it: what a lamp asks. A live read; nil where the chunk is not loaded.

blockAt.powered: boolean?