Polished Quartz is a template project for creating new Minecraft: Bedrock Edition add-ons. It currently supports Minecraft 1.20.30+, and will likely need some changes to support 1.21+.
- Install the prerequisites
- Copy this folder
- Open a terminal and navigate to this folder
- Run
npm i
- Follow chapter 2 of the official guide:
- Run
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
in PowerShell - Run
npm run build
- Open Minecraft (Bedrock Edition, not Java Edition)
- Add the new "Polished Quartz" behavior pack to a superflat world!
- Run
When you load the world, you should teleport to a cobblestone box and be asked to break the terracotta!
Automated tests with vitest. Note since we don't have the Minecraft source code, we must be creative with our imports. We're copying the imports that we need for utility functions into a local file and converting them to interfaces. This way, Vitest doesn't worry about missing implementation details.
- Build a gameplay experience with TypeScript - Microsoft Learn
- Minecraft: Bedrock Edition projects: My personal homepage for what I learn about add-on development.