
Modrinth · Minecraft mod
Lua Runtime
A mod that adds Lua scripting to Minecraft.
Quick answer
Which Lua Runtime release matches 1.21 Fabric?
Lua Runtime 0.12 targets 1.21, 1.21.1, 1.21.2 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.
The source marks this as usable on both the client and server.
What else does Lua Runtime 0.12 need?
0.12 on 1.21 Fabric. Every mod below is checked against that same setup.
Install Fabric API first. We found matching files for this game-version and loader setup.
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.12 on 1.21 Fabric. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.12. It targets 1.21, 1.21.1, 1.21.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 0.12. 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.
1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.4
1 loader build1.21.3
1 loader build1.21.2
1 loader build1.21.1
1 loader build1.21
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Lua Runtime versions and loaders
0.12
lua_runtime_mod-0.12.jar
21 Dec 2024
0.11.1
lua_runtime_mod-0.11.1.jar
11 Dec 2024
0.11
lua_runtime_mod-0.11.jar
5 Dec 2024
Looking for an older file? The official Modrinth project page is in Resources.