minecraft-chunk
read voxel data from minecraft chunks
Last updated 12 years ago by maxogden .
BSD · Original npm · Tarball · package.json
$ npm install minecraft-chunk 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.3.1                                ...           latest (12 years ago)

6 Versions

  • 0.3.1                                ...           12 years ago
  • 0.3.0                                ...           14 years ago
  • 0.1.1                                ...           14 years ago
  • 0.1.0                                ...           14 years ago
  • 0.0.1                                ...           14 years ago
  • 0.0.0                                ...           14 years ago
Maintainers (1)
Downloads
Total 30
Today 0
This Week 0
This Month 11
Last Day 0
Last Week 2
Last Month 6
Dependencies (1)
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE