Minecraft Datapack Language vs Minecraft Script
Minecraft Datapack Language
mcmdl.comMinecraft Script
mcscript.stevertus.comSide by side
| Figure | Minecraft Datapack Language | Minecraft Script |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 2 | 0 |
| Spec score · Minecraft Datapack Generators | 8.6 (#2) | 7.4 (#12) |
| CLI | The command-line tool can build datapacks, check code, create projects, and build directories containing multiple files. | The CLI can create datapack files, compile scripts, and watch for saved changes to recompile. |
| Control flow | The language implements if, else-if, else and while constructs that compile into Minecraft conditional logic. | The home page demonstrates for and while loops, and if/else statements. |
| License | MDL is open source software licensed under the MIT License. | The maker's site identifies Minecraft Script as MIT licensed. |
| Purpose | MDL compiles a JavaScript-style language into Minecraft datapacks. | Minecraft Script is a programming language for Minecraft datapack developers. |
| Support | The maker points users to documentation, examples, GitHub Issues, and GitHub Discussions for support. | The home page links to a Discord community for updates and connection with users. |
| Variables | Numeric variables support arithmetic, scoreboard storage and substitution using $variable$ syntax. | Variables can store numbers and support operations such as addition and subtraction. |
Plans
Minecraft Datapack Language
- Minecraft Datapack LanguageFree
- Minecraft Datapack Language (MDL)Free
In their own words
Minecraft Datapack Language
Minecraft Datapack Language (MDL) compiles a JavaScript-style language into Minecraft datapacks. It supports if/else statements, while loops, number variables, arithmetic expressions and variable scopes. Projects can span multiple files, with variables from all files merged automatically, and can reference external JSON for registry types such as recipes, loot tables and advancements. Its command-line tool can create projects, check code and build datapacks or directories containing multiple files. A VS Code extension adds syntax highlighting, real-time error checking, build commands, workspace validation and raw text blocks. Python bindings support programmatic datapack creation with variables, control flow, nested functions and MDL scopes. Documentation includes Makefile, npm scripts and GitHub Actions build and checking examples. MDL is open source under the MIT License and costs nothing. Listed platforms include API, extension, Linux, macOS and Windows; system requirements include Python 3.8 or higher and Minecraft 1.20+ or 1.19+. Support pointers include documentation, examples, GitHub Issues and GitHub Discussions.
Minecraft Script
Minecraft Script is a programming language for developers creating Minecraft datapacks, maps, packages, and mcfunction files. Its compiler converts .mcscript files into Minecraft .mcfunction files. Documented language features include modals, loops, variables, constants, command wrapping, and if/else control; variables can store numbers and support operations such as addition and subtraction. The command-line tool creates datapacks, compiles scripts, watches saved changes for recompilation, and can add a datapack from a resource URL or mcScript Extension name. Scripts can generate multiple files, set output paths, and extend previously generated files. Global .gl.mcscript files share variables, constants, and modals across files. Minecraft Script is free, open source, and MIT licensed, with support for Linux, macOS, and Windows. Local installation requires Node.js and npm using npm install -g mcscript. An online version exists, but the local compiler adds directory compilation, new-file output, and file watching. Syntax highlighting is listed for Visual Studio Code, Atom, and Notepad++. A Discord community and repository contact channel provide help. The README identifies update 0.2.3, and the guide was last updated September 22, 2020.