Readonly
blocksThe blocks in the chunk relative to the chunk.
Readonly
chunkReadonly
chunkReadonly
hashfor (let x = 0; x < 16; x++)
for (let z = 0; z < 16; z++)
for (let y = 0; y < 100; y++)
chunk.setBlock('grass_block', { x, y, z }, { snowy: false });
The location relative to the chunk. Must be between 0 and 15.
Optional
state: blockStateSet a block without sending a packet to the client.
The location relative to the chunk. Must be between 0 and 15.
Optional
state: blockState
See
https://oscarnow.github.io/minecraft-server/1.4.0/classes/Chunk *