Minecraft Script vs PackScript
Minecraft Script
mcscript.stevertus.comPackScript
github.comSide by side
| Figure | Minecraft Script | PackScript |
|---|---|---|
| Price from | — | — |
| Free plan | — | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Plans published | 0 | 0 |
| Spec score · Minecraft Datapack Generators | 7.4 (#12) | 7.1 (#16) |
| File generation | The home page says it can generate and merge files, including files created in loops. | Its `dp` object can create, modify, and delete datapack files, including JSON files. |
| License | The maker's site identifies Minecraft Script as MIT licensed. | The repository lists an MIT license. |
| Purpose | Minecraft Script is a programming language for Minecraft datapack developers. | PackScript is a command-line compiler that generates files for Minecraft datapacks. |
| Support | The home page links to a Discord community for updates and connection with users. | The repository links to GitHub Issues for project questions and reports. |
In their own words
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.
PackScript
PackScript is a free, open-source command-line compiler for generating Minecraft datapack files. Python is the default language, allowing Minecraft commands to pass through without a separate command syntax. Function definitions can combine files and create generated function tags, while the dp object creates, modifies, or deletes datapack files, including dynamically named ones. The capture_lines() function gathers command lines into a list for “Only One Command” constructions. PackScript generates recipes, loot tables, advancements, and predicates. Compilation can produce a directory, ZIP, or JAR; a JAR can apply the pack as a mod and can include a resource pack when an assets folder is present. The init --modded option adds Fabric, Forge, and NeoForge configuration. A VS Code syntax highlighter and Fabric auto-compilation mod are associated projects. It runs on Linux, macOS, and Windows, requires Python 3.12 or later, and uses the MIT License.