Datapack.js vs Minecraft Script
Datapack.js
datapack.js.orgMinecraft Script
mcscript.stevertus.comSide by side
| Figure | Datapack.js | Minecraft Script |
|---|---|---|
| Price from | — | — |
| Free plan | — | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Plans published | 0 | 0 |
| Spec score · Minecraft Datapack Generators | 6.9 (#20) | 7.4 (#12) |
| License | The public GitHub repository identifies an MIT license. | The maker's site identifies Minecraft Script as MIT licensed. |
| Purpose | Datapack.js is a library for building Minecraft data packs in JavaScript or TypeScript. | Minecraft Script is a programming language for Minecraft datapack developers. |
In their own words
Datapack.js
Datapack.js has no write-up on Specifiction yet; its figures are above.
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.