deploy command handles both deploying add-ons to Minecraft installation directories for testing and exporting projects as packaged files (.mcpack, .mcaddon) for distribution.
Syntax
Arguments
Destination for deployment.Choices:
mcuwp- Minecraft Bedrock Edition (Retail)mcpreview- Minecraft Previewserver- Dedicated server pathfolderoroutput- Custom output folder[custom-path]- Any custom directory path
Options
Path to the add-on project folder to deploy.
Path to a packaged file (MCPack, MCAddon) to deploy.
Custom output folder when using
folder mode.Force overwrite of existing files.
Examples
Deploy to Minecraft Bedrock
- Behavior Packs folder
- Resource Packs folder
Typical Deployment Path
Typical Deployment Path
Windows:Android:
Deploy to Minecraft Preview
Deploy to custom folder
- Manual testing
- Creating distribution packages
- Sharing with team members
Deploy to dedicated server
Force deployment (overwrite)
Deploy packaged file
Deployment Modes
- mcuwp (Retail)
- mcpreview (Preview)
- server
- folder/output
Deploys to the main Minecraft Bedrock Edition installation.Default Paths:
- Windows:
%localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\ - iOS:
/var/mobile/Containers/Data/Application/[UUID]/games/com.mojang/ - Android:
/storage/emulated/0/games/com.mojang/
What Gets Deployed
The deploy command copies:After Deployment
In Minecraft Bedrock/Preview
- Launch Minecraft
- Create a new world or edit an existing world
- Go to Add-Ons or Resource Packs
- Your add-on appears in the available packs
- Activate it and start playing
Verification
After deploying, verify the files: Windows:Workflow Integration
Combine deploy with other commands for a complete development workflow:Edit → Validate → Deploy
Automated Deployment Script
deploy.sh (Linux/Mac):World Settings
Combine deployment with world configuration:- Beta APIs enabled
- Editor mode active
Server Deployment
For dedicated servers:Configure Server Path
Set the server path in your environment:- Windows:
C:\Users\[user]\AppData\Local\minecraft-creator-tools\servers\ - Linux:
~/.minecraft-creator-tools/servers/
Deploy to Server
Server Directory Structure
After deployment:Troubleshooting
Cannot find Minecraft installation
Cannot find Minecraft installation
The CLI cannot locate the Minecraft installation path.Solution: Check installation paths:If paths are incorrect, Minecraft may not be installed or is in a non-standard location. Use custom path deployment:
Permission denied errors
Permission denied errors
Cannot write to Minecraft directory.Solution:
- Close Minecraft before deploying
- Run command prompt as Administrator (Windows)
- Check folder permissions
Add-on not appearing in Minecraft
Add-on not appearing in Minecraft
Files deployed but not visible in game.Solution:
- Verify deployment location:
- Check manifest.json format
- Ensure UUIDs are unique
- Restart Minecraft completely
- Validate the addon:
Old version still loading in game
Old version still loading in game
Minecraft is caching the previous version.Solution:
- Force deployment:
- Clear Minecraft cache:
- Close Minecraft completely
- Delete the specific addon folder
- Redeploy
Advanced Usage
Deploy Multiple Projects
Deploy to Multiple Targets
Deploy with World Settings
Combine deployment with world configuration:Custom Deployment Path
Deploy to any location:Best Practices
Development Workflow:
- Validate before deploying:
mct validate -i ./addon -show - Deploy to Preview for testing beta features
- Use
-fflag for rapid iteration - Test in Retail before release
- Keep backups of working versions
- Use git to track addon changes
- Tag releases before deploying
- Test deployments in Preview first
- Deploy to Preview for experimental features
- Test multiplayer in dedicated server
- Validate on different platforms before release