Cobble vs PackScript
Cobble
deveworld.github.ioPackScript
github.comSide by side
| Figure | Cobble | PackScript |
|---|---|---|
| Price from | — | — |
| Free plan | — | — |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Plans published | 0 | 0 |
| Spec score · Minecraft Datapack Generators | 7.5 (#9) | 7.1 (#16) |
| command handling | Minecraft command handling includes JSON safety, macro parameters, and command validation. | Command lines in PackScript are passed through without requiring the tool to understand individual Minecraft command syntax. |
| installation | The stable release can be installed with cargo install cobble-lang --locked. | The README gives `pip3 install packscript` as an installation method and also describes using the `packscript.py` file directly. |
| license | Cobble is licensed under the MIT License. | The repository lists an MIT license. |
| purpose | Cobble is a modern, Python-like language for creating Minecraft data packs. | PackScript is a command-line compiler that generates files for Minecraft datapacks. |
| support | The project directs users to GitHub Issues for support and bug reports. | The repository links to GitHub Issues for project questions and reports. |
In their own words
Cobble
Cobble is free, open-source software under the MIT License that transpiles .cbl source into data packs for Minecraft Java Edition. Its Python-like language supports functions, indentation, imports, control flow and static type inference for variables, constants and expressions. Output can include .mcfunction files, pack metadata, tags, predicates, advancements, loot tables, recipes, item modifiers, dialogs and other JSON resources. Cobble handles command JSON safety, macro parameters and command validation, with standard-library helpers for events, text, scoreboards, storage, item components, schedules, selectors, positions, bossbars, teams and entities. The command-line workflow covers project initialization, formatting, building, checking, watching, validation, inspection, linking, cleaning and ZIP creation. The stable release installs with cargo install cobble-lang --locked. A browser compiler runs the Rust parser and transpiler through WebAssembly and can download generated files or a data-pack ZIP. The listed target is Minecraft Java Edition 26.1.2 with pack format 101.1. Cobble is pre-1.0 and actively developed, so bugs and API changes may occur.
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.