bc-minecraft-bedrock-project

The typescript library responsible for reading/parsing minecraft bedrock data

Usage no npm install needed!

<script type="module">
  import bcMinecraftBedrockProject from 'https://cdn.skypack.dev/bc-minecraft-bedrock-project';
</script>

README

Blockception Minecraft Bedrock Project

Npm Package & Publish npm-unit-test tagged-release
npm

A project that deals with caching, summarizing minecraft bedrock data

const context: ProjectContext = {
  getDocument: (uri: string) => { ... },
  getFiles: (folder: string, ignores: MCIgnore) => { ... },
};

const Data = new ProjectData(context);

const ProjectFolder = "c:\\project\\";
const manifests = ["c:\\project\\bp\\manifest.json", "c:\\project\\rp\\manifest.json", "c:\\project\\world\\manifest.json"];

const packs = Data.addPack(manifests, ProjectFolder);

//Process documents into the pacts
Data.Process(...);
//OR
packs[0].process(...)

Contributing

First, read the contributing guide. fork the project, clone it and run the following commands:

Installation

  npm ci
  npm update