UNPKG

hytopia

Version:

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

20 lines (14 loc) 670 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md) &gt; ["CHUNK\_LATTICE.SET\_BLOCK"](./server.chunklatticeeventpayloads._chunk_lattice.set_block_.md) ## ChunkLatticeEventPayloads."CHUNK\_LATTICE.SET\_BLOCK" property Emitted when a block is set in the lattice. **Signature:** ```typescript [ChunkLatticeEvent.SET_BLOCK]: { chunkLattice: ChunkLattice; chunk: Chunk; globalCoordinate: Vector3Like; localCoordinate: Vector3Like; blockTypeId: number; }; ```