project-mirror-registry
v1.3.0
Published
A NodeJS package produces template data of MCBE NBT.
Downloads
192
Readme
Project Mirror Registry
A NodeJS package produces template data of MCBE NBT. It can produce initial NBT data of blocks, block entitie and entities.
This package based on MCBE 1.20.
Install
npm i project-mirror-registry
Usage
const PMR = require("project-mirror-registry")
, NBT = require("parsenbt-js");
// Returns a ParseNBT.js object with proxy
var a = PMR.createBlockEntity("command_block");
a["str>Command"] = "say Hello Minecraft!";
// Then you can put the NBT data into anywhere supports ParseNBT.js object
API
See api.md.