Before following the installation steps, you need to configure your add-on structure:
- Rename add-on folders
- Navigate to
resource_packs\addonand rename theaddonfolder to your add-on name - Navigate to
behavior_packs\addonand rename theaddonfolder to your add-on name
- Replace placeholder variables In various files throughout your add-on, replace the following placeholders with your actual values:
[ADDON-NAME]- Your add-on's display name[ADDON-DESCRIPTION]- Brief description of your add-on[ADDON-AUTHOR]- Your name or organization[ADDON-RESOURCE-UUID]- Unique identifier for resource pack[ADDON-BEHAVIOR-UUID]- Unique identifier for behavior pack[ADDON-RANDOM-UUID]- Additional unique identifier if needed
You can generate UUIDs using online tools or VS Code extensions.
Before you start developing your Minecraft Bedrock add-on, ensure you have the following installed:
- Node.js (LTS version recommended)
- Visual Studio Code or your preferred code editor
- Minecraft Bedrock Edition
Follow these steps to set up your development environment:
- Install TypeScript globally
npm install -g typescript- Install Minecraft Script API packages
npm installYou're now ready to start developing your Minecraft Bedrock add-on!
For comprehensive information and assistance with Minecraft Bedrock add-on development, explore these valuable resources. The Microsoft Learn documentation provides official guidance and tutorials. Stay updated with the latest NPM packages and reference detailed API documentation at Bedrock Wiki, Script API Docs, Vanilla Data, and Math API. Community tools like MC Utils and official samples from Microsoft and Mojang offer practical examples. Additionally, access vanilla game assets including translation files and textures for reference and customization.