
Modrinth · Minecraft mod
MLua
A mod that adds a scripting library to minecraft.
Quick answer
Which MLua release should I use?
MLua 0.5.0 targets 26.1.1 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 MLua 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 MLua 0.5.0 need?
0.5.0. Change the file and its required mods may change too.
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 MLua without breaking your instance.
Built for MLua 0.5.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.5.0. It targets 26.1.1 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.5.0. It opens that exact file at the source.
About this project
What does MLua add?
![]()
MLua
MLua lets you write Minecraft mod scripts in Lua. Scripts can interact with the game through APIs for players, worlds, events, commands, UI, and registered content.API reference
MLua would generate its documentation in the Minecraft client. Open run/mlua/docs/index.html after launching the game. It shows you the APIs available in that build.
Example
local Players = Minecraft:GetService("Players")
local World = Minecraft:GetService("World")
Players.PlayerAdded:Connect(function(player)
player:SendMessage("Hello from MLua!")
player:SetGameMode(GameMode.Creative)
end)
World:SetWeather(Weather.Clear)
Using MLua from another mod
Include MLua with your mod and declare it as a dependency.
Project description from Modrinth.
Pick your setup
MLua by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.2
2 loader builds26.1.1
1 loader build26.1
2 loader builds1.21.1
3 loader builds1.20.1
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
MLua versions and loaders
0.5.0
mlua-fabric-26.1.1-0.5.0.jar
25 Oct 2026
0.5.0
mlua-fabric-26.1.2-0.5.0.jar
25 Oct 2026
0.5.0
mlua-neoforge-26.1-0.5.0.jar
25 Oct 2026
0.5.0
mlua-forge-1.20.1-0.5.0.jar
25 Oct 2026
0.5.0
mlua-neoforge-1.21.1-0.5.0.jar
25 Oct 2026
0.5.0
mlua-fabric-1.20.1-0.5.0.jar
25 Oct 2026
0.5.0
mlua-fabric-26.1-0.5.0.jar
25 Oct 2026
0.5.0
mlua-forge-1.21.1-0.5.0.jar
25 Oct 2026
0.5.0
mlua-neoforge-26.1.2-0.5.0.jar
25 Oct 2026
0.5.0
mlua-fabric-1.21.1-0.5.0.jar
25 Oct 2026
0.4.0
mlua-fabric-1.21.1-0.4.0.jar
15 Sept 2026
0.4.0
mlua-fabric-1.20.1-0.4.0.jar
15 Sept 2026
Looking for an older file? The official Modrinth project page is in Resources.