UNPKG

bc-minecraft-bedrock-project

Version:

The typescript library responsible for reading/parsing minecraft bedrock data

41 lines (29 loc) 1.03 kB
# Blockception Minecraft Bedrock Project <p align="center"> <a href="https://www.npmjs.com/package/bc-minecraft-project"> <img alt="npm" src="https://img.shields.io/npm/v/bc-minecraft-project"> <img alt="npm" src="https://img.shields.io/npm/dt/bc-minecraft-project"> </a> </p> A project that deals with caching, summarizing Minecraft bedrock data ```ts 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](./CONTRIBUTING.md). fork the project, clone it and run the following commands: **Installation** ```cmd npm ci npm update ```