mct) provides a powerful command-line interface for validating, creating, and managing Minecraft Bedrock Edition add-ons and projects.
Installation
Install the CLI globally using npm:Basic Usage
Available Commands
validate
Validate Minecraft projects and add-ons
create
Create new Minecraft projects from templates
serve
Run a web server for validation and dedicated server management
deploy
Deploy projects to Minecraft installation folders
Global Options
These options are available for most commands:Path to the input folder. Defaults to current working directory.
Path to input MCWorld, MCTemplate, MCPack, MCAddon or other zip file.
Path to the output folder.
Number of worker threads to use. Use
1 for sequential processing, >1 for parallel processing.Show verbose log messages.
Display messages only, without writing report files.
Force updates and overwrite existing files.
Quick Start Examples
Validate a project
Create a new project
Deploy to Minecraft
Exit Codes
The CLI uses specific exit codes to indicate different types of errors:| Code | Description |
|---|---|
0 | Success |
44 | Initialization error |
53 | Internal processing error during validation |
56 | Test failure |
57 | Validation error |