Cobble vs Datapack.js
Cobble
deveworld.github.ioDatapack.js
datapack.js.orgSide by side
| Figure | Cobble | Datapack.js |
|---|---|---|
| Price from | — | — |
| Free plan | — | — |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Plans published | 0 | 0 |
| Spec score · Minecraft Datapack Generators | 7.5 (#9) | 6.9 (#20) |
| installation | The stable release can be installed with cargo install cobble-lang --locked. | The home page gives `npm install @datapackjs/core` as the installation command. |
| license | Cobble is licensed under the MIT License. | The public GitHub repository identifies an MIT license. |
| purpose | Cobble is a modern, Python-like language for creating Minecraft data packs. | Datapack.js is a library for building Minecraft data packs in JavaScript or TypeScript. |
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.
Datapack.js
Datapack.js has no write-up on Specifiction yet; its figures are above.