Welcome to the RedScript wiki — a compiled, typed scripting language that targets Minecraft datapacks.
RedScript compiles .rs source files to optimized .mcfunction datapacks (or NBT structure files) for Minecraft 1.21+.
.rs
.mcfunction
@tick(rate=20) fn every_second() { let hp: int = scoreboard_get(@s, "health"); if (hp <= 0) { respawn_player(); } }
→ See Getting Started to install and write your first script.
There was an error while loading. Please reload this page.