Mineuniverse
Log in Register
Mods

Scarlet

A fun interpreted programming language built for Minecraft
by Draylar1
Claim this project
1,075 downloads
0 likes
Updated Jun 30, 2026
0 hypes

drawing

Scarlet is an interpreted programming language built for Minecraft on the Fabric Loader. It is designed to allow quick prototyping for server scripting & content creation.


What is Scarlet used for?

Scarlet makes it easy to add new scripted content to the game without prior Java experience. My primary target audience is (1) people looking to have fun with friends on private servers, and (2) people who need a tool for scripting Minecraft video content or minigames (which isn't a strong point of Java).

Scarlet is also a viable option for modpack event scripting, but for anything serious being shipped to production, I would recommend KubeJS instead.


Give me an example!

Scarlet code goes in your /run/scarlet/ directory with the .scarlet file extension. Reload all Scarlet code by pressing the 'R' key. How about we print a simple greeting when a player joins the server?

join_script_example.png

Oops! I made a mistake while typing this out and wrote "on join server" instead, you say, wondering how Scarlet will handle it. Scarlet has a friendly error logging system that will show you exactly where the offending code lies:

scarlet_error.png


Give me more examples!

You can find a collection of Scarlet example scripts in the /example_scripts/ directory of this repository. Here are a few of our favorites:


A Note on Stability

Scarlet is, first and foremost, a fun educational exercise for me in the art of language design. I make no promises about the stability of your scripts or API interactions at the current stage of the project, because the status of the project is based off my personal quest for enjoyment.

My personal gesture regarding stability is that Scarlet will stay in the 0.x.x version scheme while it is unstable and prone to changes. Once 1.x.x arrives, I will focus on keeping API stable, so you can update without worrying about me breaking every script you have ever written. :)


Licensing

Scarlet started out as an educational project based on Crafting Interpreters and other compiler resources, which is why it is licensed as MIT. You can read the LICENSE file for more information, but the tl;dr is that you can use the code inside this repository as long as any significant chunks are accompanied by the license file.

No files available for download.

More from Draylar1

Omega Zoom
9,894
Deep Dungeons
96,384
Game Phases
9,604
Helpful Held Tooltips
897
Player Succ
8,884
FibLib
8,836

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314