Bedrock CLI Documentation
Bedrock CLI is a toolchain for building Minecraft Bedrock add-ons without
fighting your tooling. It pairs a scaffolder (create-mc-bedrock) with a
compiler (@keyyard/bedrock-build) so you can go from a blank folder to a
hot-reloading TypeScript workspace, and eventually a packaged .mcaddon,
without the usual setup tax.
These docs cover scaffolding a project, the workspace layout, the build pipeline, deploying to your local Minecraft install, and packaging for distribution.
What's new in 2.0
- New compiler.
@keyyard/bedrock-buildbundles your TypeScript with esbuild, copies pack assets, and ships a proper CLI:build,watch,deploy,pack. - Three sources. Pick the starting point that matches the project: Custom (recommended), Microsoft Samples, or Community Templates.
- Hot reload.
npm run deploy:watchrebuilds and re-syncs tocom.mojangon every save. See the CLI reference. .mcaddonpackaging.npm run packproduces a clean, Minecraft-ready zip in one command. No more manual zipping.