Skip to content

HTMonkeyG/Project-Mirror-Registry

Repository files navigation

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.

About

A NodeJS package produces template data of MCBE NBT.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published