如果你正在寻找 Forge 版本,请前往此处!
FTB Library 是 FTB Mods 的基础组件。它旨在简化并增强模组开发体验,为 Feed the Beast 生态系统中的模组开发流程提供便利。虽然主要供 FTB Mods(如 FTB Chunks 和 FTB Quests)使用,但并未明确禁止将其集成到非 FTB 模组中。不过请注意,在非 FTB 模组中使用可能会带来挑战,由此产生的任何问题均由模组开发者自行负责解决。
在我们的文档中阅读更多关于 FTB Library 的信息
支持与依赖
配套模组
主要功能
- 简化的 GUI 开发: FTB Library 提供了结构化的 GUI 创建框架,使我们能够提升 FTB Mods Suite 内的用户体验。
- 侧边栏系统: 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 Mods 的整体功能和多样性。

注意: 虽然 FTB Library 并非专为非 FTB 模组设计使用,但也未明确限制。选择将其集成到此类项目中的开发者应准备好应对潜在的挑战。
请谨慎行事,并对可能出现的任何兼容性或集成问题承担全部责任。你可以在我们的 GitHub issues 页面报告错误或提交功能请求。
支持
- 关于整合包的问题,请访问:
- 关于模组的问题,请访问:
- 只是有个问题?查看我们的 Discord:
保持更新
If you are looking for Forge version, it's here!
FTB Library serves as a foundational component for FTB Mods. It's designed to simplify and enhance the modding experience for our developers, streamlining the development process for mods within the Feed the Beast ecosystem. While primarily intended for use by FTB Mods such as FTB Chunks and FTB Quests, it is not explicitly prohibited for integration into non-FTB mods. However, please note that using it in such contexts may pose challenges, and the responsibility for resolving any resulting issues falls upon the mod developer.
Read more about FTB Library on our docs
Supports and requires
Pairs with
Key Features
- Streamlined GUI Development: FTB Library offers a structured framework for GUI creation, allowing us to enhance the user experience within the FTB Mods Suite.
- Sidebar System: FTB Library introduces a convenient sidebar system located at the top left of your inventory screen, providing quick access to essential features.
- Config Library: Easily manage configurations and settings for your mods with FTB Library's built-in config library, making it simple to customize your gaming experience.
- SNBT System: FTB Library includes an SNBT (String Named Binary Tag) system, which simplifies data storage and manipulation within your mod, ensuring smooth integration and compatibility.
- SNBT-Based Config System: Utilize the SNBT-based config system to streamline the configuration of your mod, enabling quick adjustments to its behavior and appearance.
- NBT Editor: Access a powerful NBT editor through the "/ftblibrary nbtedit" command. This tool allows you to modify the NBT data of block entities, entities, or players directly from a user-friendly GUI.
- Utility Commands: FTB Library provides handy utility commands, such as "/ftblibrary night" and "/ftblibrary day" to control the in-game time and "/ftblibrary rain" to start or stop rain, simplifying your gameplay experience.
Example GUI's

Extensible Sidebar Buttons
FTB Library introduces the capability for other mods to create sidebar buttons via JSON files, enhancing the overall functionality and versatility of FTB Mods.

Note: While FTB Library is not designed for use in non-FTB mods, it is not explicitly restricted. Developers choosing to integrate it into such projects should be prepared for potential challenges.
Please proceed with caution and take full responsibility for any compatibility or integration issues that may arise. You can report bugs or feature requests on our GitHub issues page.
Support
- For Modpack issues, please go here:
- For Mod issues, please go here:
- Just got a question? Check out our Discord:
Keep up to date
下载 FTB Library (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FTB Library (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FTB Library (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FTB Library (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FTB Library (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FTB Library (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FTB Library (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FTB Library (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FTB Library (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FTB Library (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
[2101.1.38]
新增
- 添加了
AbstractButtonListScreen#ExtendedSearch接口- 允许实现类为列表中的组件添加自定义搜索行为,除了标准的组件标题搜索之外
- 添加了用于颜色配置的
ColorValue类,以及SNBTConfig#addColor方法 - 添加了新的
Button.Builder类,在创建按钮组件时提供更高的灵活性 - 添加了物品和流体选择器屏幕的模态面板版本
- 旨在与基于菜单的屏幕配合使用,避免切换屏幕导致菜单被关闭
- 添加了
TextComponentUtils#isComponentEmpty方法 - 添加了
TooltipList#addAll方法,接受Component...参数 - 添加了
Panel#addAll方法,接受Widget...参数
更改
CurrencyProvider抽象层现在使用 long 类型而非 int- 这是一个 API 破坏性变更!需要 FTB XMod Compat 21.1.13 或更高版本才能与此兼容
- 将
AbstractThreePanelScreen.BottomPanel提取到独立的LowerButtonPanel类中以提高可复用性
修复
- 修复了多个
MenuScreenWrapper渲染问题 - 修复了与基于菜单的屏幕配合使用时出现的部分模态面板绘制问题
支持
如果您在使用本模组时遇到任何问题,请在我们的 问题追踪器 上报告。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。







评论 0
登录后参与评分
还没有评论,来抢沙发吧