适用于 Minecraft 1.20.1, 1.21.1 的 FTB Library (NeoForge) 模组
FTB 模组中所有 GUI 内容的通用代码
关于 FTB Library (NeoForge) 模组
FTB Library 是 FTB 模组的基础组件。它旨在简化和增强我们开发者的模组开发体验,为 Feed the Beast 生态系统内的模组简化开发流程。虽然它主要供 FTB Chunks 和 FTB Quests 等 FTB 模组使用,但并未明确禁止将其集成到非 FTB 模组中。但请注意,在此类场景中使用它可能会带来挑战,解决由此产生的任何问题的责任由模组开发者承担。
主要特性
- 简化的 GUI 开发:FTB Library 为 GUI 创建提供了结构化框架,使我们能够增强 FTB 模组套件中的用户体验。
- 侧边栏系统:FTB Library 引入了便捷的侧边栏系统,位于物品栏界面的左上角,可快速访问基本功能。
- 配置库:使用 FTB Library 内置的配置库,轻松管理模组的配置和设置,让自定义游戏体验变得简单。
- SNBT 系统:FTB Library 包含 SNBT(字符串命名二进制标签)系统,可简化模组内的数据存储和操作,确保顺畅的集成与兼容性。
- 基于 SNBT 的配置系统:利用基于 SNBT 的配置系统来简化模组配置,快速调整其行为和外观。
- NBT 编辑器:通过 "/ftblibrary nbtedit" 命令访问强大的 NBT 编辑器。该工具允许你直接在用户友好的 GUI 中修改方块实体、实体或玩家的 NBT 数据。
- 实用命令:FTB Library 提供了便捷的实用命令,例如 "/ftblibrary night" 和 "/ftblibrary day" 用于控制游戏内时间,以及 "/ftblibrary rain" 用于开始或停止下雨,简化你的游戏体验。
GUI 示例
可扩展的侧边栏按钮
FTB Library 使其他模组能够通过 JSON 文件创建侧边栏按钮,增强了 FTB 模组的整体功能和多样性。
注意:虽然 FTB Library 并非为非 FTB 模组设计,但并未明确限制。选择将其集成到此类项目中的开发者应准备好应对潜在的挑战。
请谨慎操作,并对可能出现的任何兼容性或集成问题承担全部责任。你可以在我们的 GitHub issues 页面上报告错误或功能请求。
支持
- 有关整合包问题,请前往:https://go.ftb.team/support-modpack
- 有关模组问题,请前往:https://go.ftb.team/support-mod-issues
- 只是有问题想问?查看我们的 Discord:https://go.ftb.team/discord
如何安装 FTB Library (NeoForge)
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.16.2–26.1.2 on Forge or NeoForge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Forge or NeoForge
The loader must match the game version of the mod file, for example Minecraft 26.1.2. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file ftb-library-neoforge-26.1.2.6.jar (1.5 MB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: FTB Library (NeoForge) should be in the list.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.21.1 | NeoForge | [NEOFORGE][1.21.1] FTB Library 2101.1.371.4 MB 249 | ||
| 1.18.2 | Forge | ftb-library-forge-1802.3.12-build.726.jar563 KB 19 | ||
| 26.1 | NeoForge | FTB Library Neoforge 26.1.2.61.5 MB 26 | ||
| 1.20.1 | Forge | ftb-library-forge-2001.2.1.jar767 KB 246 | ||
| 1.20.1 | Forge | ftb-library-forge-2001.1.3.jar598 KB 1 | ||
| 1.16.3 | — | ftb-gui-library-1604.1.1.26.jar403 KB 90 |
常见问题
Which Minecraft versions does FTB Library (NeoForge) work on?
There are files for 1.16.2–26.1.2, 9 versions in total. The newest is 26.1.2.
Is FTB Library (NeoForge) for Forge or Fabric?
There are files for Forge: 1.18.2–1.20.1 and for NeoForge: 1.21.1–26.1.2. There are no files for Fabric: a mod for another loader will not start.
Does FTB Library (NeoForge) need other mods?
The author lists no required dependencies: the Forge or NeoForge loader is enough.
Where can I download FTB Library (NeoForge) safely?
On this page: the file ftb-library-neoforge-26.1.2.6.jar (1.5 MB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 28fe8c8ec9d33e0beb84b26716010373d63bb560.
评价
成为第一个评价 FTB Library (NeoForge) 的人

