BetaMoon - 适用于 Beta 1.7.3 的 Lua 脚本引擎
BetaMoon 在安装时需要比大多数模组更多的设置,因此请遵循 安装说明!
BetaMoon 是一个基于 Risugami 的 ModLoader 和 MinecraftForge 为 MC b1.7.3 打造的 Lua 脚本引擎。
其目标是为 MC b1.7.3 提供一个易于使用的脚本层,以便在游戏中创建自定义内容或功能,类似于使用 Lua 而非 JS 的 KubeJS。
对于更简单的修改,这使得模组制作过程变得容易得多:
无需搭建模组开发环境、处理混淆和编译错误等,你只需编写 Lua 脚本并启动 Minecraft!
如果出现问题,BetaMoon 会向你报告错误,同时尝试防止 Minecraft 崩溃。
但请注意: BetaMoon 仍在开发中,无法提供你可能想要添加到 Minecraft 中的所有功能。此外,目前对多人游戏的支持非常有限,不建议在服务器上安装 BetaMoon!
你可以在这里找到很棒的 BetaMoon 模组列表。
请注意
BetaMoon 是一个脚本引擎,本身不添加游戏玩法内容。必须使用提供的 Lua API 通过 Lua 脚本来添加内容,如 Wiki 中所解释的那样。
预发布免责声明
本模组的设计考虑了易于扩展性和向后兼容性。然而,由于 BetaMoon 仍处于预发布阶段(版本 <1.0.0),破坏性更改有时是不可避免的。它们也可能发生在主要版本之间。
请注意这一点,保留你的世界备份,并在更新时始终查看变更日志!
特性
目前,BetaMoon 提供以下特性:
- 自定义方块
- 自定义物品
- 自定义工具、护甲及其材料
- 自定义配方及配方类型
- 可交互的物品和方块
- 自定义生物群系、树木和结构
- 矿石生成
- 自定义地形生成器和世界生成设置
- 自定义维度及传送
- 自定义流体
- 自定义粒子
- 覆盖现有的方块、物品等
- 自定义方块实体、容器及方块 GUI
- 可调整大小的 GUI 元素及动画过渡
- 多方块结构
- 逻辑网络及能力系统
- 创建事件处理器及自定义热键
- 发送聊天消息
- 自定义实体
- 修改玩家和实体的移动
- 使用支持的 Bedrock/GeckoLib 风格 JSON 格式的自定义模型和动画
- 自定义声音及大气效果
欲获取完整概览和文档,请访问 Wiki!
安装
要求和安装
- Java 8
- Minecraft Beta 1.7.3(建议通过 MultiMC 或类似的启动器安装)
- 适用于 Beta 1.7.3 的 Risugami 的 ModLoader
- 适用于 Beta 1.7.3 的 MinecraftForge 1.0.6
- 作为模组安装的 BetaMoon 并启用为 Java agent
有关安装说明,请参阅 Readme 部分。
安装脚本
BetaMoon 会自动在你的 .minecraft 文件夹内创建一个 betamoon/scripts 目录,如果你使用 MultiMC/Prism,则会在实例的 .minecraft 文件夹内创建。你可以将新脚本放入其中。
确保包含任何所需的资产并保持其文件夹结构完整。打包好的模组可以作为完整的文件夹或 ZIP 文件安装。
BetaMoon 会在加载脚本时记录遇到的错误,并给你一个弹出窗口列出哪些脚本加载失败。错误和警告也可以在 Scripts 界面中查看。
你可以从该界面重新加载脚本。某些更改(如更改容器布局)需要重启 Minecraft。
查看 GitHub 页面和 Wiki 以获取更多关于安装脚本或开发自己的脚本的信息!
如果你使用 VS Code,还有一个 BetaMoon API 插件 用于代码补全、文档和类型检查。
帮助与反馈
如果你在安装 BetaMoon 时遇到困难,请先查看 安装说明 和 故障排除 页面。
如果你仍然遇到困难或对使用 BetaMoon 有疑问,欢迎直接联系我或在 GitHub Discussions 中提问!那里也欢迎提出关于编写脚本的问题!
报告 Bug
请通过 GitHub Issues 报告 Bug。如果可能,请包括:
- 你的 BetaMoon 版本
- 发生了什么以及你期望发生什么
- 重现问题的步骤
- 你安装的其他模组和 BetaMoon 脚本
- 任何相关的错误消息或截图
你可以从 Scripts → Debug → Full script report 保存诊断报告并将其附加到你的问题中。这包括脚本错误和你设置的有用信息。
如果 Minecraft 无法启动,请附加启动器日志。如果问题出在你编写的脚本上,请包含该脚本或一个能重现它的小示例。
建议功能
你也可以使用 GitHub Issues 来建议未来的功能。请解释你想要创建或改变什么,以及当前 API 中缺少什么。
BetaMoon - A Lua Scripting Engine for Beta 1.7.3
BetaMoon needs a bit more setup during installation than most mods, so please follow the Installation Instructions!
BetaMoon is a Lua scripting engine on top of Risugami's ModLoader and MinecraftForge for MC b1.7.3.
The goal is to provide an easy-to-use scripting layer for MC b1.7.3 to create custom content or functionality for the game, similar to KubeJS with Lua instead of JS.
For simpler modifications, this makes the modding process much easier:
Instead of setting up a modding environment, dealing with obfuscation and compile errors, etc., you can just write your Lua script and start Minecraft!
If something fails, BetaMoon will report it to you while trying to prevent Minecraft from crashing.
But be aware: BetaMoon is still being developed and can't offer everything you may want to add to Minecraft. Furthermore, multiplayer support is currently very limited, and it's not advised to install BetaMoon on a server!
You can find a list of awesome BetaMoon Mods here.
Please Note
BetaMoon is a scripting engine and does not add gameplay content itself. Content has to be added using Lua scripts that use the provided Lua API, as explained in the Wiki.
Pre-Release Disclaimer
This mod is designed with easy expandability and backwards compatibility in mind. However, while BetaMoon is in its pre-release stage (versions <1.0.0), breaking changes are sometimes unavoidable. They may also happen between major versions.
Please be aware of that, keep backups of your worlds and always look at the changelog when updating!
Features
Currently, BetaMoon offers the following features:
- Custom Blocks
- Custom Items
- Custom Tools, Armor and their Materials
- Custom Recipes and Recipe Types
- Interactable Items and Blocks
- Custom Biomes, Trees and Structures
- Ore Generation
- Custom Terrain Generators and World Generation Settings
- Custom Dimensions and Teleportation
- Custom Fluids
- Custom Particles
- Overriding existing Blocks, Items, etc.
- Custom Tile Entities, Containers and Block GUIs
- Resizable GUI Elements and Animated Transitions
- Multiblock Structures
- Logical Networks and Capabilities
- Creating Event Handlers and Custom Hotkeys
- Sending Chat Messages
- Custom Entities
- Modifying Player and Entity Movement
- Custom Models and Animations using supported Bedrock/GeckoLib-style JSON formats
- Custom Sounds and Atmosphere Effects
For a full overview and documentation, visit the Wiki!
Installation
Requirements and Installation
- Java 8
- Minecraft Beta 1.7.3 (installation via MultiMC or a similar launcher is recommended)
- Risugami's ModLoader for Beta 1.7.3
- MinecraftForge 1.0.6 for Beta 1.7.3
- BetaMoon installed as a mod and enabled as a Java agent
For installation instructions, please refer to the Readme sections.
Installing Scripts
BetaMoon automatically creates a betamoon/scripts directory inside your .minecraft folder, or your instance's .minecraft folder if you use MultiMC/Prism. You can add new scripts by dropping them in there.
Make sure to include any required assets and keep their folder structure intact. Packaged mods can be installed as complete folders or ZIP files.
BetaMoon logs errors it encounters when loading scripts and gives you a popup listing which scripts failed to load. Errors and warnings are also available in the Scripts screen.
You can reload scripts from that screen. Some changes, like changing container layouts, require restarting Minecraft.
Look at the GitHub page and Wiki for more information on installing scripts or developing your own!
If you use VS Code, there is also a BetaMoon API addon for code completion, documentation and type checking.
Help and Feedback
If you have trouble installing BetaMoon, please check the installation instructions and Troubleshooting page first.
If you're still stuck or have questions about using BetaMoon, feel free to contact me directly or ask in GitHub Discussions. Questions about writing scripts are welcome there too!
Reporting Bugs
Please report bugs through GitHub Issues. If possible, include:
- Your BetaMoon version
- What happened and what you expected to happen
- Steps to reproduce the problem
- Other mods and BetaMoon scripts you have installed
- Any relevant error messages or screenshots
You can save a diagnostic report from Scripts → Debug → Full script report and attach it to your issue. This includes script errors and useful information about your setup.
If Minecraft won't start, attach the launcher log instead. If the problem happens with a script you wrote, please include the script or a small example that reproduces it.
Suggesting Features
You can also use GitHub Issues to suggest future features. Please explain what you want to create or change and what you're currently missing in the API.
评论 0
登录后参与评分
还没有评论,来抢沙发吧