A Minecraft Bedrock addon scaffolded with create-mc-bedrock and powered by @keyyard/bedrock-build.
Install dependencies:
npm installScaffold canonical Bedrock pack folders interactively (no more guessing whether it's entity or entities):
npm run foldersPick the folders you need from the list and they get created under packs/BP/ and packs/RP/.
Build once into dist/:
npm run buildWatch sources and rebuild on every change:
npm run watchBuild and deploy to your local Minecraft (Bedrock retail on Windows). The --watch variant redeploys on every save — the fastest dev loop:
npm run deploy
npm run deploy:watchProduce a shareable .mcaddon for distribution:
npm run packspiderman-addon/
bedrock.config.json ← compiler config
src/
main.ts ← entry — bundled into BP/scripts/main.js
packs/
BP/ manifest.json + behavior pack assets
RP/ manifest.json + resource pack assets
dist/ ← build output (gitignored)
Full documentation, cookbook recipes, and the bedrock.config.json reference live at https://bedrockcli.keyyard.xyz/docs.