Created based on https://github.com/microsoft/minecraft-scripting-samples/tree/main/ts-starter. This was done so this repository could easily be used as a template starter for multiple projects.
You can find documentation for scripting in Minecraft Bedrock at: https://learn.microsoft.com/en-us/minecraft/creator/documents/scriptinggettingstarted?view=minecraft-bedrock-stable
-
Clone the repository
git clone git@github.com:charlesshook/minecraft-bedrock-scripting-addon-template.git
-
Change directories
cd minecraft-bedrock-scripting-addon-template
-
Install tools using NPM
npm i
-
Open the project
code .
Deploy your project to Minecraft
npm run local-deploy
To lint your project
npm run lint
To create the addon file
npm run mcaddon