Nomnom Pumpernickle Muffins
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

minecraft-chunk

0.3.1 • Public • Published

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

Keywords

none

install

npm i minecraft-chunk

Downloadsweekly downloads

10

version

0.3.1

license

BSD

last publish

collaborators

  • avatar