Cobble vs Shulkerscript
Cobble
deveworld.github.ioShulkerscript
shulkerscript.hoelting.devSide by side
| Figure | Cobble | Shulkerscript |
|---|---|---|
| Price from | — | — |
| Free plan | — | — |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | Yes |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Plans published | 0 | 0 |
| Spec score · Minecraft Datapack Generators | 7.5 (#9) | 7.0 (#19) |
| compilation | Cobble transpiles .cbl source into Minecraft Java Edition data packs. | The Shulkerscript CLI compiles project files into a `dist` directory and can watch for file changes to rebuild automatically. |
| language features | The language supports functions, indentation, imports, and control flow with Python-like syntax. | The language supports functions, imports, tags, conditional statements, execute blocks, and Lua code embedded in scripts. |
| purpose | Cobble is a modern, Python-like language for creating Minecraft data packs. | Shulkerscript is a language for writing Minecraft datapacks, with syntax similar to other programming languages and features beyond `.mcfunction` files. |
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.
Shulkerscript
Shulkerscript is a scripting language and command-line tool for creating Minecraft data packs. Its syntax resembles other programming languages and extends beyond `.mcfunction` files: one source file can generate multiple function files callable from Minecraft or other Shulkerscript files. Language features include functions, imports, tags, conditionals, execute blocks, groupings, literal commands, and embedded Lua. Functions marked with `#[tick]` can run every tick, while `#[load]` functions can run when a data pack loads. The CLI builds projects into a `dist` directory, watches for file changes, and can package a compiled project as a ZIP archive. An online playground allows browser use without installation, and an optional official Visual Studio Code extension supplies syntax highlighting and snippets. Installation instructions cover Windows, Linux, and macOS, with options including GitHub releases, cargo-binstall, and building from source with Rust and Cargo. The project is free and open source. The documentation labels the playground and Lua integration as works in progress.