Minecraft-style voxel world with chunk management and block manipulation
The Voxel Engine provides a complete Minecraft-style block world system with efficient chunk-based rendering, block types, and world generation.
Creates a new voxel world.
const world = createVoxelWorld(8);
Places or removes a block.
setBlock(10, 5, 10, 1); // Place grass block
Gets the block type at coordinates.
if (getBlock(x, y, z) === 0) { /* air */ }