UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

19 lines (13 loc) 568 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [ChunkEventPayloads](./server.chunkeventpayloads.md) &gt; ["CHUNK.SET\_BLOCK"](./server.chunkeventpayloads._chunk.set_block_.md) ## ChunkEventPayloads."CHUNK.SET\_BLOCK" property Emitted when a block is set in a chunk. **Signature:** ```typescript [ChunkEvent.SET_BLOCK]: { chunk: Chunk; globalCoordinate: Vector3Like; localCoordinate: Vector3Like; blockTypeId: number; }; ```