ModernTabs 是什么?
这是一个库类模组,它为 自定义任何创意模式标签页 提供了跨平台解决方案,其定制程度甚至超过了 NeoForge 和 Fabric 上目前所能实现的效果。
目前已实现的功能:
- 具有可配置横幅与叠加层的各个标签页分区
- 横幅和叠加层精灵动画可配置为持续播放、悬停时播放或完全不播放。
- 这些分区可配置为可折叠
- 可自定义的标签页背景精灵
- 可自定义的标签页按钮精灵(图标背后的纹理)
- 使用任意精灵作为标签页图标,无需其为已注册的物品
- 可自定义的标签页标题,且可以用精灵替换
- 可自定义的滚动条精灵
- 一个可配置的搜索栏
- 任何标签页纹理都可以着色为指定的颜色。
如果大多数情况下未定义纹理,则将使用默认纹理并着色。 - 支持部分标签页元素的自定义元素方向(左对齐、居中、右对齐)
- 自 v1.5.0 起支持 KubeJs
- 自 v1.8.0 起支持 资源包
创意模式标签页横幅的设计灵感来源于 Create Aeronautics/Simulated 模组,因此 ModernTabs 基于其原始代码构建。
展示 - 示例创意模式标签页
这只是众多选项中的一个示例

此示例创意模式标签页仅在开发环境中启用,因此仅用于展示。
这也意味着它不会出现在常规的整合包中。
Wiki
Wiki 现已位于链接的 wiki 上。
它将指导你如何在自己的模组中集成 ModernTabs,或作为整合包作者使用 KubeJs 进行配置。
常见问题解答 (FAQ)
为什么又要做一个添加创意模式标签页横幅的模组?
➔ 我创建这个库是为了在我即将推出的几个模组中使用它,因此我需要同时支持 NeoForge 和 Fabric 版本。
此外,它还包含许多其他功能,旨在使创意模式标签页的配置更加简便。
会支持 Minecraft 版本 x 吗?
➔ 我不会向后移植。如果有人计划这样做,请随意操作;如果需要,你可以在 GitHub 上提交拉取请求。我未来可能会将其更新到更高版本(但不保证一定会更新)。
错误报告与功能请求
请在链接的 GitHub 上报告你所遇到的任何错误或提出功能请求。
致谢
- 感谢 Create Aeronautics/Simulated 模组团队及贡献者制作了如此优秀的模组。
What is ModernTabs?
It is a library mod that adds a cross-platform solution for customizing any creative tab even further than what is currently possible on both NeoForge and Fabric.
Currently implemented features:
- individual tab sections with a configurable banner & overlay
- The banner and overlay sprite animation can be configured to animate continuously, on hover or even not animate at all.
- These sections can be configured to be collapsible
- customizable tab background sprite
- customizable tab button sprite (the texture behind the icon)
- Use any sprite as a tab icon without it having to be a registered item
- customizable tab title that can also be replaced by a sprite
- customizable scroll bar sprite
- a configurable search bar
- Any tab texture can be colored in a defined color.
If no texture is defined in most cases, the default texture will be used & colored. - Support for custom element orientations (left, centered, right) for some tab elements
- KubeJs support since v1.5.0
- Resource Pack support since v1.8.0
The creative tab banners are inspired by the Create Aeronautics/Simulated mod and ModernTabs therefore based on its original code.
Showcase - Example Creative Tab
This is just one example of many options

This example creative tab is only enabled in the development enviroment and therefore exists for showcase only.
That also means that it won't show up in a regular modpack.
Wiki
The wiki is now located on the linked wiki.
It shows you how to either implement ModernTabs in your own mod or as a modpack creator with KubeJs.
FAQ
Why another such mod that adds creative tab banners?
➔ I created this library so I can use it for some upcoming mods by me and therefore, I need both a supported NeoForge and Fabric version.
Additionly, it already contains many other features with the goal of making the creative tab easier to configure.
Will the Minecraft version x be supported?
➔ I will not backport it. If anyone plans on doing it, feel free to do it and if you want, you can create a pull request on GitHub. I might update it to newer versions in the future (but I will not guarantee it).
Bugs & Feature Requests
Please report any bugs you encounter or feature requests on the linked GitHub.
Credits
- Thank you to the Create Aeronautics/Simulated mod team and contributors for creating such a great mod.
下载 ModernTabs
下载 ModernTabs
下载 ModernTabs
下载 ModernTabs
下载 ModernTabs
下载 ModernTabs
下载 ModernTabs
下载 ModernTabs
下载 ModernTabs
下载 ModernTabs
常规
- 增加了对资源包的完整支持
- 使区块标题更具可定制性 -> 现在使用与常规标签页标题相同的系统
- 改进/更改了区块的通用逻辑 -> 区块现在不会应用于那些仅包含与区块相同物品的其他标签页
- 以及更多....
技术
- 将 AuraTabTitel 重命名为 AuraTabTitle
- 将 SpriteTabTitel 重命名为 SpriteTabTitle
- 将 CustomTabTitel 重命名为 CustomTabTitle
- 添加了新的 TabContent 类(包含标签页的实际物品以及该标签页中使用的区块列表)
- 添加了新的 TabIcon 类
- 添加了独立的横幅、叠加层和装饰类
- 移除了区块的 "priority" 字段 -> 它们现在根据标签页内容中定义的顺序进行排序
- 为区块添加了新的 "content" 字段 -> 通过定义添加任何你想要的物品
- SectionUtil 不再相同 -> 现在改用标签页内容系统
- 以及更多....
通用
- 为搜索栏和标签页标题的位置实现了自定义偏移量的新系统
- 添加了 ColorPresets(颜色预设)——可在 Wiki 中查看
- 修复了代码中的一些结构问题
- 进行了一些清理工作
技术
- 将 ModernColor 重命名为 ComplexColor
- 添加了一个新的 SimpleColor,它作为一个不可直接修改的简单颜色实例存在
- 因此,ComplexColor 被用作可通过多种方式修改的颜色实例。例如混合多种颜色、应用 Alpha 通道等...
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧