介绍
中文介绍正在准备中,下面暂时显示原文。
A library mod that lets other mods compile and run sandboxed Luau scripts. Native Luau libraries are bundled inside the mod JAR, so no native code is downloaded at runtime.
Features
- Strict type checking and compilation of in-memory Luau source files.
- Isolated, persistent
ScriptInstances with explicit lifecycle management. - Controlled source and host modules, including a sandboxed
require. - Safe conversion between Java values and Luau values.
- Limits for execution time, interrupt checks, VM memory, and host calls.
- Source breakpoints, stepping, pause, resume, and termination support.
Third-party notices
This project embeds and distributes the Luau implementation. Luau is distributed under the MIT License and is based on the Lua 5.x implementation, which is also distributed under the MIT License.
常见问题
Luau 支持哪些 Minecraft 版本?
Luau 支持 Minecraft Java 版 1.20.1–26.2,共 22 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Luau 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
leawind 的其他作品
查看全部 →Leawind’s Third Person
by leawind
一个流畅的第三人称视角模组
1268万
2 个月前
Modrinth · CurseForge
Perspective API
by leawind
一个客户端 API 框架,用于管理和扩展 Minecraft 的摄像机视角。
12.4万
3 个月前
Modrinth · CurseForge
Perspective API Demo
by leawind
一个演示模组,展示如何使用 Perspective API 实现自定义摄像机视角。
2,895
3 个月前
Modrinth · CurseForge
Camera Entity Fade
by leawind
当相机实体离镜头太近时使其淡出。
2,561
2 个月前
Modrinth · CurseForge
评论
登录后评论和评分