RedScript
github.com
- Free plan
- Windows
- macOS
- Linux
- Web
- Browser extension
What RedScript is
RedScript is a typed language and toolchain for creating vanilla Minecraft datapacks, compiling code into .mcfunction output. The project says its datapacks run without mods, and its online playground lets users write code in a browser and download a datapack. The language includes variables, functions, control flow, structs, enums, Option and Result, f-strings, and modules. Minecraft-specific support includes load and tick handlers, selectors, and helpers for commands such as title, kill, and particle. The toolchain brings together a compiler, type checker, optimizers, datapack emitter, formatter, linter, test runner, and watch mode. An LSP and VS Code extension provide diagnostics, completion, hover information, navigation, snippets, and syntax highlighting. RedScript also supports typed resource declarations and JSON/NBT contributions from files, with collision checks and output as a directory or ZIP. Static Minecraft command diagnostics can flag issues, but the project notes they do not establish behavior on a live Paper server. Dimension and dimension_type resources require reopening the world. RedScript is open source under the MIT License.
Who it suits
RedScript suits people building Minecraft datapacks, particularly those working on larger projects that benefit from typed code and editor tooling. The online playground may also suit people who want to try writing code in a browser.
Good to know, and what to watch
- Compiles typed code to .mcfunction
- Datapacks run without mods
- Includes a browser-based playground
- VS Code extension provides diagnostics and completion
- Supports output as a directory or ZIP
- Static diagnostics do not prove live Paper behavior
- Some resource changes require reopening the world
The verdict
RedScript provides a broad code and validation toolchain for datapack development, with both command-line and editor support. Its static checks have a stated limit, and some resource updates require reopening the world.
What the maker publishes
- CLI installation
- The README gives `npm install -g redscript-mc` as the CLI installation command. source
- Compiler tooling
- The toolchain includes a compiler, type checker, optimizers, datapack emitter, formatter, linter, test runner, and watch mode. source
- Editor integration
- The VS Code extension provides syntax highlighting, real-time diagnostics, hover information, go-to-definition, autocomplete, lint warnings, and code snippets. source
- Editor support
- The project lists an LSP and VSCode extension with hover documentation, go-to-definition, completion, diagnostics, snippets, and syntax highlighting. source
- Intended users
- The project presents RedScript for people building Minecraft datapacks and describes its tooling as supporting larger datapack projects. source
- Intended users
- The project describes its tooling as intended to help maintain larger datapacks. source
- Language features
- The language supports variables, functions, control flow, structs, enums, Option and Result, f-strings, and modules. source
- Language features
- The language includes variables, functions, control flow, structs, enums, Option and Result, f-strings, and modules. source
- License
- The project is released under the MIT License. source
- License
- The repository says RedScript is released under the MIT License. source
- Minecraft features
- Minecraft integration includes load and tick handlers, selectors, and helpers for commands such as title, kill, and particle. source
- Minecraft tooling
- The toolchain includes a compiler, optimizer, CLI, language server, formatter, linter, test runner, and Minecraft-aware validation. source
- No-mod output
- The project says its datapacks run without mods. source
- Online playground
- The project links to an online playground where users can write code in a browser and download a datapack. source
- Online playground
- The browser playground lets users write code and download a datapack. source
- Purpose
- RedScript is a typed language and toolchain for building vanilla Minecraft datapacks, compiling code to .mcfunction. source
- Purpose
- RedScript is a typed language and toolchain for building vanilla Minecraft datapacks that compile to .mcfunction. source
- Resource authoring
- RedScript supports typed resource declarations and from-file JSON/NBT contributions, with collision checks and deterministic directory or ZIP output. source
- 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. source
- Standard library
- The standard library includes math, vectors, random generators, particles, inventory, scheduling, and ECS-style helpers. source
- Standard library
- The standard library includes modules for math, vectors, random generation, particles, inventory, scheduling, and ECS-style helpers. source
- Support
- The repository links to documentation, a playground, a VSCode extension, an npm package, and contributing instructions. source
- Type safety
- The documentation says RedScript catches errors at compile time, before they occur in-game. source
- Validation
- The project describes static Minecraft command checks and optional Paper/TestHarness integration tests, and says static diagnostics do not prove live Paper behavior. source
Checked against the maker's pages on 3 Oct 2026.