bc-minecraft-bedrock-project
Version:
The typescript library responsible for reading/parsing minecraft bedrock data
39 lines (27 loc) • 1.52 kB
Markdown
# Blockception Minecraft Bedrock Project
[](https://github.com/Blockception/BC-Minecraft-Bedrock-Project/actions/workflows/npm-publish.yml)
[](https://github.com/Blockception/BC-Minecraft-Bedrock-Project/actions/workflows/npm-test.yml)
[](https://github.com/Blockception/BC-Minecraft-Bedrock-Project/actions/workflows/tagged-release.yml)

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
```