Reference
Everything MMS knows about Minecraft 26.3, for looking things up. The generated pages come from the same schema and rules the checker uses, so they match what the editor's completion and hover show. To learn MMS, start with the Docs instead.
Language
- DeclarationsA file is a list of declarations. Each one starts with its kind, a PascalCase word, then its name:
- Values and typesValues look like the JSON they become, with less punctuation. Every value is checked against the type its place expects, and that type also decides what shorthand means there.
- Constants, templates and loopsFour tools cut repetition: const names a value, Template names a value with parameters, comprehensions build lists, and a top-level for repeats declarations. They all run at compile time and write nothing of their own: only the declarations that use them reach the pack.
- BlueprintsA Blueprint declares a new kind of declaration. Its fields are checked and completed like the game's own, its check block reports problems, and its emit block writes the declarations it stands for. CustomItem, Book and JigsawStructure are Blueprints written this way, in the prelude: their pages under Declaration kinds list their fields.
- FunctionsA Function body is code that compiles to a .mcfunction file. It mixes raw commands, which start with /, with statements that compile to commands. The Functions guide explains each part at length, and How functions compile shows what it becomes.
- TextWherever the game takes a text component, a string is markup: a small Markdown-like format for Minecraft text. A string without markup is the same plain string in the output.
- TestsA Test runs functions in an interpreter, without starting the game, and checks what they did:
Generated
- Declaration kinds94 kinds, and the folder each one writes to.
- Helpers756 helpers in 54 groups, each building one typed object.
- Templates and formsThe prelude's templates and types, and what each operator means by type.
- Types165 named types that parameters refer to.
- Lint rules18 rules, their default severity and what they catch.
For AI tools
The same reference in forms that language models and scripts read easily:
llms.txt: what MMS is, and a link to every page.llms-full.txt: every page and the whole reference as one Markdown file.reference.yaml: kinds, helpers, types and lint rules as data.