Helpful template repository for building Behavior Packs in TypeScript.
- Clone this repository
- Run
npm install
You now have great intellisense to make development quick and easy!
The structure of this project follows the TypeScript scripting tutorial with some additional tools to make your coding environment less annoying
npm run buildwill compile your TypeScript code insidesrc/, output toscripts/and create a.mcpackfile in the root of this project.
The .mcpack created from this template looks like:
- Template_Behavior_Pack_v1.0.0
- scripts
- main.js
- manifest.json
- pack_icon.png
npm run packwill create a.mcpackfile in the root of this project.
- Auto
/reloadscript for development on worlds - Auto update version/uuid in
buildscript - webpack/esbuild stuff?
- Workflows to run tests and bump version?