Back to mods
Lua Runtime project artwork

Modrinth · Minecraft mod

Lua Runtime

A mod that adds Lua scripting to Minecraft.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Lua Runtime release matches 1.21.8 Fabric?

Updated 1 year ago
alpha file 0.13
Game version 1.21.6, 1.21.7, 1.21.8
Loader Fabric

Lua Runtime 0.13 targets 1.21.6, 1.21.7, 1.21.8 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is Lua Runtime required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Lua Runtime 0.13 need?

0.13 on 1.21.8 Fabric. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Lua Runtime 0.13
required
Matching file found Matched file: [1.21.8] Fabric API 0.136.1+1.21.8

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Lua Runtime without breaking your instance.

Built for Lua Runtime 0.13 on 1.21.8 Fabric. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.13. It targets 1.21.6, 1.21.7, 1.21.8 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.13. It opens that exact file at the source.

About this project

What does Lua Runtime add?

Add Lua scripting to Minecraft!
Still in development.

Some notes to start with

  • Don't forget to check the source code of scripts as it could be malicious. We're not responsible for any bans or damages caused by scripts.
  • If the game crashes due to this mod, then its probably not caused by this mod, rather caused by scripts.
  • If the game crashes after updating the mod, then try deleting the config at [Minecraft folder]/config/lua_runtime_config.json

Benefits of using the mod

  • Backwards compatibility: All scripts made for older versions of Minecraft will work on newer versions of Minecraft. (breaking changes are in alpha versions)

Using the mod

Adding mods

Drag and drop Lua scripts into the lua folder in your Minecraft instance folder.

Example script

print("Hello World!")
Minecraft.AddClientLoadedListener(function()
  local gui = Minecraft.CreateNewGUI("Lua Screen")
  gui.Display()
end)

Project description from Modrinth.

Pick your setup

Lua Runtime by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

8 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Lua Runtime versions and loaders

1 of 13 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.