RedScript
github.com
What it is
RedScript is a programming language and toolchain for creating vanilla Minecraft datapacks, compiling code into .mcfunction files. Its datapacks run without mods, and a browser-based playground lets users write code and download a datapack. The language includes variables, functions, control flow, structs, enums, Option and Result types, f-strings, and modules. Minecraft-specific features include load and tick handlers, selectors, and command helpers. Its toolchain covers compilation, type checking, optimization, formatting, linting, testing, and watch mode. An LSP and VS Code extension provide diagnostics, completion, hover details, navigation, snippets, and syntax highlighting. RedScript also supports typed resource declarations and JSON or NBT contributions from files, with collision checks and directory or ZIP output. Static command checks can identify issues, but do not establish behavior on a live Paper server. Dimension and dimension_type resources require reopening the world. RedScript is free, open source, and released under the MIT License.
Spec sheet
- Purpose
- RedScript is a typed language and toolchain for building vanilla Minecraft datapacks that compile to .mcfunction.Read 3 Oct 2026 · github.com
- Intended users
- The project describes its tooling as intended to help maintain larger datapacks.Read 3 Oct 2026 · github.com
- Support
- The repository links to documentation, a playground, a VSCode extension, an npm package, and contributing instructions.Read 2 Oct 2026 · github.com
- License
- The repository says RedScript is released under the MIT License.Read 3 Oct 2026 · github.com
- CLI installation
- The README gives `npm install -g redscript-mc` as the CLI installation command.Read 3 Oct 2026 · github.com
- Compiler tooling
- The toolchain includes a compiler, type checker, optimizers, datapack emitter, formatter, linter, test runner, and watch mode.Read 2 Oct 2026 · github.com
- Editor integration
- The VS Code extension provides syntax highlighting, real-time diagnostics, hover information, go-to-definition, autocomplete, lint warnings, and code snippets.Read 3 Oct 2026 · marketplace.visualstudio.com
- Editor support
- The project lists an LSP and VSCode extension with hover documentation, go-to-definition, completion, diagnostics, snippets, and syntax highlighting.Read 2 Oct 2026 · github.com
- Language features
- The language includes variables, functions, control flow, structs, enums, Option and Result, f-strings, and modules.Read 3 Oct 2026 · github.com
- Minecraft features
- Minecraft integration includes load and tick handlers, selectors, and helpers for commands such as title, kill, and particle.Read 2 Oct 2026 · github.com
- Minecraft tooling
- The toolchain includes a compiler, optimizer, CLI, language server, formatter, linter, test runner, and Minecraft-aware validation.Read 3 Oct 2026 · github.com
- No-mod output
- The project says its datapacks run without mods.Read 3 Oct 2026 · github.com
- Online playground
- The browser playground lets users write code and download a datapack.Read 3 Oct 2026 · github.com
- Resource authoring
- RedScript supports typed resource declarations and from-file JSON/NBT contributions, with collision checks and deterministic directory or ZIP output.Read 2 Oct 2026 · github.com
- Resource limit
- The README says dimension and dimension_type resources require reopening the world, while normal resources and structure NBT are reloadable according to its Paper 1.21.4 lifecycle evidence.Read 3 Oct 2026 · github.com
- Standard library
- The standard library includes modules for math, vectors, random generation, particles, inventory, scheduling, and ECS-style helpers.Read 3 Oct 2026 · github.com
- Type safety
- The documentation says RedScript catches errors at compile time, before they occur in-game.Read 2 Oct 2026 · redscript-docs.pages.dev
- Validation
- The project describes static Minecraft command checks and optional Paper/TestHarness integration tests, and says static diagnostics do not prove live Paper behavior.Read 2 Oct 2026 · github.com
- Validation limit
- The README describes static command diagnostics and says they are not proof from a live Paper server.Read 3 Oct 2026 · github.com
Strong points and limits
Strong points
- Compiles typed code into .mcfunction files.
- Browser playground can download datapacks.
- VS Code extension includes diagnostics and completion.
- Supports resource contributions from JSON and NBT files.
Limits
- Static diagnostics do not prove live Paper behavior.
- Dimension resources require reopening the world.
Who it suits
RedScript suits people building Minecraft datapacks, particularly larger projects that benefit from typed code and editor tooling. Its datapacks are designed to run without mods.
Verdict
RedScript combines a typed language with a broad toolchain for datapack development. Its static checks have a stated limit, and some resource changes require reopening the world.
Where Specifiction places it
- Minecraft Datapack Generators#17 of 227.0