← Назад к ресурсам

Lua Runtime

A mod that adds Lua scripting to Minecraft.

Modrinth utility

Описание

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 ```lua print("Hello World!") Minecraft.AddClientLoadedListener(function() local gui = Minecraft.CreateNewGUI("Lua Screen") gui.Display() end) ```