read voxel data from minecraft chunks
CoffeeScript JavaScript
Latest commit 55dbe44 Oct 11, 2014 @maxogden 0.3.1
Permalink
Failed to load latest commit information.
.gitignore 0.0.1 Apr 4, 2013
chunkview.coffee 0.0.1 Apr 4, 2013
index.js 0.3.0 - add getSectionInfo and getPosition Apr 22, 2013
package.json 0.3.1 Oct 11, 2014
readme.md readme Apr 9, 2013

readme.md

minecraft-chunk

read voxel data from minecraft chunks

extracted from code originally written by @ithkuil for mcchunkloader, turned into a module and now maintained by @maxogden

minecraft is property of Mojang AB

var mcChunk = require('minecraft-chunk')

var options = {
  nbt: nbt, // from the minecraft-nbt module
  ymin: 0,
  showstuff: false,
  superflat: false,
  chunkX: 0,
  chunkZ: 0
}

mcChunk(options).extractChunk(function onVoxel(x, y, z, type) {

})

this module is used by minecraft-mca

designed for use with browserify

license

BSD