Skip to content
This repository was archived by the owner on Nov 3, 2024. It is now read-only.

Getting Started

SnaveSutit edited this page Nov 24, 2020 · 7 revisions

Installing mc-build

Video Tutorial on installing mc-build (Credit - AncientKingg)

To install mc-build on your device you must first install Node.js. On windows 10 you can simply visit their site (nodejs.org) and download and run the installer.

Once node is finished installing open a command prompt and run this command: npm i -g mc-build

Tada! mc-build is now installed.

Creating a development environment

To create a mc-build datapack, simply navigate to your chosen world/datapacks folder, and create a new datapack folder.

Then inside the datapack folder, create a src folder, and a pack.mcmeta file. (The pack.mcmeta is identical to a vanilla pack.mcmeta)

Then open a windows command prompt and navigate to your new datapack folder.

Once inside your datapack folder, run the command mcb.

That's it! Your datapack is now ready for development.

Creating a config file

Open a command prompt and navigate to your datapack folder. Then:

  • To create a JSON config: mcb -config json
  • To create a JavaScript config: mcb -config js

Clone this wiki locally