EVERYTHING XIAOMI
Get listed

RedScript

RedScript is a typed language and toolchain for creating vanilla Minecraft datapacks, compiling code into .mcfunction output.

Place
#11 of 22
Score
6.0
RedScript's website

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 an online playground lets users write code in a browser and download a datapack. The language supports variables, functions, control flow, structs, enums, Option and Result, f-strings, and modules. Minecraft-specific features include load and tick handlers, selectors, and command helpers. The toolchain includes a compiler, type checker, optimizers, datapack emitter, formatter, linter, test runner, and watch mode. A language server 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 checks can flag problems, but the project notes that these do not establish how code behaves on a live Paper server. Dimension and dimension_type resources require reopening the world; normal resources and structure NBT are described as reloadable under the project's Paper 1.21.4 lifecycle evidence. RedScript is MIT-licensed.

Good

  • Compiles typed code to .mcfunction
  • Datapacks run without mods
  • Includes a compiler, formatter, linter, and test runner
  • VS Code extension provides diagnostics and completion
  • Exports deterministic directory or ZIP output

Watch out

  • Static checks do not prove live Paper behavior
  • Dimension and dimension_type changes require reopening the world

Who it suits

RedScript suits people building Minecraft datapacks, particularly those working on larger projects who want a typed language and editor tooling. It may also suit users who prefer authoring code in a browser playground.

Verdict

RedScript pairs datapack authoring with a broad compiler and editor toolchain. Keep its static-validation and world-reopening limits in mind when planning resource changes.

The facts

Each one read from RedScript's own pages, with the date it was checked.

What it does

CLI installation
The README gives `npm install -g redscript-mc` as the CLI installation command.checked 3 Oct 2026
Compiler tooling
The toolchain includes a compiler, type checker, optimizers, datapack emitter, formatter, linter, test runner, and watch mode.checked 2 Oct 2026
Editor integration
The VS Code extension provides syntax highlighting, real-time diagnostics, hover information, go-to-definition, autocomplete, lint warnings, and code snippets.checked 3 Oct 2026
Editor support
The project lists an LSP and VSCode extension with hover documentation, go-to-definition, completion, diagnostics, snippets, and syntax highlighting.checked 2 Oct 2026
Intended users
The project describes its tooling as intended to help maintain larger datapacks.checked 3 Oct 2026
Language features
The language includes variables, functions, control flow, structs, enums, Option and Result, f-strings, and modules.checked 3 Oct 2026
License
The repository says RedScript is released under the MIT License.checked 3 Oct 2026
Minecraft features
Minecraft integration includes load and tick handlers, selectors, and helpers for commands such as title, kill, and particle.checked 2 Oct 2026
Minecraft tooling
The toolchain includes a compiler, optimizer, CLI, language server, formatter, linter, test runner, and Minecraft-aware validation.checked 3 Oct 2026
No-mod output
The project says its datapacks run without mods.checked 3 Oct 2026
Online playground
The browser playground lets users write code and download a datapack.checked 3 Oct 2026
Purpose
RedScript is a typed language and toolchain for building vanilla Minecraft datapacks that compile to .mcfunction.checked 3 Oct 2026
Resource authoring
RedScript supports typed resource declarations and from-file JSON/NBT contributions, with collision checks and deterministic directory or ZIP output.checked 2 Oct 2026
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.checked 3 Oct 2026
Standard library
The standard library includes modules for math, vectors, random generation, particles, inventory, scheduling, and ECS-style helpers.checked 3 Oct 2026
Support
The repository links to documentation, a playground, a VSCode extension, an npm package, and contributing instructions.checked 2 Oct 2026
Type safety
The documentation says RedScript catches errors at compile time, before they occur in-game.checked 2 Oct 2026
Validation
The project describes static Minecraft command checks and optional Paper/TestHarness integration tests, and says static diagnostics do not prove live Paper behavior.checked 2 Oct 2026
Validation limit
The README describes static command diagnostics and says they are not proof from a live Paper server.checked 3 Oct 2026
The full review of RedScript

Overview

RedScript is a typed programming language and toolchain for building vanilla Minecraft datapacks, compiling source code into .mcfunction files. It suits creators working on substantial packs who want structured code, editor support and generated resources rather than a command-only workflow. Its strongest case is the breadth of its authoring and validation tools; static checks still cannot establish how every command behaves on a live Paper server.

Key features

RedScript brings familiar programming constructs—including variables, functions, control flow, structs, enums, modules, and Option and Result types—to datapack development. Compile-time type checks aim to catch errors before they reach the game, a useful safeguard as a pack grows beyond a small set of functions. F-strings and Minecraft-specific handlers, selectors and command helpers further reduce the gap between general-purpose code and pack logic.

The toolchain spans compilation, type checking, optimization, datapack emission, formatting, linting, tests and watch mode. Its VS Code extension and language server add diagnostics, completion, hover documentation, go-to-definition, snippets and syntax highlighting. Together, these are a stronger fit for developers who want an organized coding workflow than for someone seeking only a quick browser-generated command.

The standard library covers math, vectors, random generators, particles, inventory, scheduling and ECS-style helpers. RedScript also generates functions, recipes, loot tables, advancements and predicates. Typed resource declarations and JSON or NBT contributions from files support broader pack authoring, with collision checks and deterministic directory or ZIP output. Datapacks produced by the project run without mods.

Static Minecraft command checks can identify issues, and optional Paper/TestHarness integration tests add another validation route. But static diagnostics do not prove live Paper behavior, so authors should not treat a clean check as a substitute for verifying server-specific behavior. Resource changes also have a practical lifecycle distinction: normal resources and structure NBT are reloadable under the described Paper 1.21.4 lifecycle, while dimension and dimension_type resources require reopening the world.

Pricing

RedScript is free and open source under the MIT License, with no paid tier or free-trial decision to weigh. Install the CLI with npm install -g redscript-mc; the project also links to a browser playground where users can write code and download a datapack. The playground offers a low-setup way to explore, while the CLI and editor tooling better suit ongoing development.

Platforms

RedScript is listed for Linux, macOS, Windows, web and extension use. The web playground supports browser-based authoring and download; the VS Code extension and CLI provide a more integrated local workflow.

Who it's for

Choose RedScript if you build datapacks and want typed code, Minecraft-aware helpers, resource generation and a full development toolchain in one workflow. Its compiler and editor support are especially relevant to larger projects. If your need is a one-off pack generated through prompts or a simple web interface, a generator may be a more direct fit.

Pros and cons

Pros

  • Broad authoring coverage: Code compilation extends to recipes, loot tables, advancements, predicates and typed resources.
  • Developer-oriented checks: Type checking, linting, test support and editor diagnostics help catch problems during development.
  • No purchase or mod requirement: It is MIT-licensed and its output runs without mods.
  • Flexible output: Deterministic directory or ZIP output suits different pack workflows.

Cons

  • Static checks have a boundary: They are not proof of live Paper behavior, so server verification remains important.
  • Some resource edits interrupt play: Dimension and dimension_type changes require reopening the world.
  • More tooling than a simple generator requires: The language and development workflow are best justified by ongoing or larger pack projects, not necessarily a single quick generation.

Alternatives

Browse Minecraft Datapack Generators to compare options across the category. Orca Minecraft Datapack Generator is a freemium option spanning Linux, macOS, web and Windows. Cobble is a free web alternative. PackForge has a free web tier capped at two generations per month, basic complexity and prompts up to 2,000 characters. Codexe Datapack Generator is another freemium web option. MCDatapacker is free for Linux and Windows, with no paid tier required for its core job. Beet is a free, open-source Minecraft pack development kit for Linux, macOS and Windows. Sandstone is a free alternative spanning Linux, macOS, web and Windows. Kore is another free option.

Verdict

RedScript is the right choice for datapack authors who want a typed language, editor integration and resource generation to scale a project beyond command files. Its breadth, free open-source model and no-mod output make it a compelling development environment. Look elsewhere for a simpler one-off generator, or if you need static diagnostics alone to guarantee live server behavior.

Alternatives to RedScript

All alternatives
  1. 1Orca Minecraft Datapack Generator logo

    Orca Minecraft Datapack Generator

    Free planWebAPILinuxmacOS
    7.7From $6.99 a month
  2. 2

    Minecraft Datapack Language

    Free planOpen sourceAPIExtensionLinuxmacOS
    7.3Free plan
  3. 3Codexe Datapack Generator logo
    6.7From $25 a month
  4. 4PackForge logo

    PackForge

    Free planWeb
    6.6From $7.99 a month
  5. 5Beet logo

    Beet

    Free planLinuxmacOSWindows
    6.1Free plan
  6. 6

    Datapack Editor

    Free planLinuxmacOSWindows
    6.1Free plan