Skip to content

FluttyProger/schematic

This branch is up to date with 1b8/schematic:dev.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c755230 · Jan 21, 2016

History

25 Commits
Jan 21, 2016
Jan 21, 2016
Jan 11, 2016
Jan 21, 2016
Jan 21, 2016
Nov 28, 2015
Dec 4, 2015
Jan 21, 2016
Jan 21, 2016
Nov 28, 2015
Jan 20, 2016

Repository files navigation

schematic

NPM version

Read Minecraft MCEdit/WorldEdit schematics.

var fs = require('fs');
var Schematic = require('mc-schematic')('1.8');

fs.readFile(__dirname + '/test/schems/test1.schematic', function (err, data) {
  Schematic.parse(data, function (err, schem) {
    console.log(schem.getBlock(0, 0, 0));
  });
});

If you have any problems, questions, or ideas, please file an issue.

Contributions/bugfixes are welcome in the form of pull requests.

Installation

npm install --save mc-schematic

TODO

  • entity.updateRaw()
  • more block entities
  • different entity types (mob, breedable...)
  • schem.write()

About

Read MCEdit/WorldEdit schematics in Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%