mc-schematic

2.0.0 • Public • Published

schematic

NPM version

Read Minecraft MCEdit/WorldEdit schematics.

var fs = require('fs');
var Schematic = require('schematic')('1.8');
 
fs.readFile('test/test1.schematic', function (err, data) {
  Schematic.parse(data, function (err, schem) {
    console.log(schem.getBlock(0, 0, 0));
  });
});

Documentation

Example

Readme

Keywords

Package Sidebar

Install

npm i mc-schematic

Weekly Downloads

4

Version

2.0.0

License

MIT

Last publish

Collaborators

  • 1b8