Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

Values ​

Values are built by typed classes and stored as plain data on the node. They never read the version; turning them into text is the backend's job (Lowering).

Diagrams ​

Selector SystemSelector(frontend/nodes/selector/)allPlayers() / allEntities() / self() …tag() / type() / distance() / score() …forEach() / on()SelectorNode(commands/selector.ts)plain datarenderSelector(node, version)(ir/lower/selector.ts)Any handlerBuilders change it in place,so don't reuse one across clauses.build()renderArg()reads
Tellraw SystemTellrawPartcolor() / bold() / italic() …onClick() / onHover()TextScoreNbtRef / SelectorTextTranslate / KeybindTellrawNodetargetmessageTellrawCommandtextJson()(ir/lower/text-json.ts)text("Hi").color(Color.GOLD).bold()message partshandleseach part

Released under the MIT License · Credits
These docs were written with AI; the layout and every page have been reviewed by a human.