Title Menu Fix
一个用于 Minecraft 的客户端 Fabric 模组,重新设计了主菜单图标行。精灵按钮(好友、语言、辅助功能)变为悬停时平滑展开的控件,并带有文字渐显动画。包含完整的 Realms 按钮管理以及通过 ModMenu + YACL 进行的深度配置。
功能
- 动画图标按钮 – 悬停在图标上即可看到其滑开,标签文字以平滑的不透明度淡入显示。未悬停的按钮会优雅地变暗,使焦点始终集中在目标按钮上。
- Realms 管理 – 将 Realms 与多人游戏按钮放在同一行,或完全隐藏它。选项和退出按钮会自动移动以填补空缺。
- 独立按钮可见性 – 可在配置界面中单独隐藏好友、语言或辅助功能按钮。
- ModMenu 与 YACL 集成 – 提供完整的图形化配置界面,选项按类别分组(图标按钮、Realms)。无需手动编辑 JSON 文件。
- 模组兼容性 – 自定义扩展自
SpriteIconButton 或 FriendsButton 的模组按钮会被自动检测,并获得相同的动画效果。
- 零覆盖 – 仅使用
@Inject mixin。原始按钮类从未被修改。
依赖
| 依赖项 |
版本 |
必需 |
| Fabric Loader |
≥0.19.3 |
✓ |
| Minecraft |
~26.2 |
✓ |
| Java |
≥25 |
✓ |
| Fabric API |
* |
✓ |
| Fabric Language Kotlin |
≥1.13.12+kotlin.2.4.0 |
✓ |
| ModMenu |
* |
✓ (建议) |
| YetAnotherConfigLib |
≥3.9.4+26.2 |
✓ (建议) |
配置
可通过 ModMenu → Title Menu Fix Config 访问。
图标按钮
| 选项 |
默认值 |
描述 |
| Hide Friends Button |
Off |
从主菜单移除好友按钮 |
| Hide Language Button |
Off |
移除语言按钮 |
| Hide Accessibility Button |
Off |
移除辅助功能按钮 |
| Disable Hover Animation |
Off |
按钮保持为静态图标,不展开文字 |
Realms
| 选项 |
默认值 |
描述 |
| Hide Realms Button |
Off |
完全移除 Realms 按钮 |
| Group Realms with Multiplayer |
On |
将 Realms 放置在多人游戏按钮所在行 |
构建
./gradlew build
编译后的 JAR 文件位于 build/libs/title-menu-fix-*.jar。
开发
本项目针对 Minecraft 26.2,使用 Mojang 官方映射表和 Fabric Loom 1.17。所有源代码均使用 Kotlin 编写——没有 Java 源文件(除了 Loom 生成的工件)。
许可证
MIT
Title Menu Fix
A client-side Fabric mod for Minecraft that reimagines the title screen icon row. Sprite buttons (Friends, Language, Accessibility) become smooth expand-on-hover widgets with animated text reveal. Includes full Realms button management and deep configuration via ModMenu + YACL.
Features
- Animated Icon Buttons – Hover over an icon to watch it glide open, revealing the button label with a smooth opacity fade. Non-hovered buttons dim gracefully, keeping focus on your target.
- Realms Management – Group Realms on the same row as Multiplayer, or hide it entirely. Options and Quit shift automatically to fill the gap.
- Per-Button Visibility – Independently hide Friends, Language, or Accessibility buttons through the config screen.
- ModMenu & YACL Integration – Full graphical configuration with categorized options (Icon Buttons, Realms). No manual JSON editing required.
- Mod Compatibility – Custom mod buttons that extend
SpriteIconButton or FriendsButton are automatically detected and receive the same animated treatment.
- Zero Overrides – Uses
@Inject mixins only. Original button classes are never modified.
Dependencies
| Dependency |
Version |
Required |
| Fabric Loader |
≥0.19.3 |
✓ |
| Minecraft |
~26.2 |
✓ |
| Java |
≥25 |
✓ |
| Fabric API |
* |
✓ |
| Fabric Language Kotlin |
≥1.13.12+kotlin.2.4.0 |
✓ |
| ModMenu |
* |
✓ (suggested) |
| YetAnotherConfigLib |
≥3.9.4+26.2 |
✓ (suggested) |
Configuration
Accessible via ModMenu → Title Menu Fix Config.
Icon Buttons
| Option |
Default |
Description |
| Hide Friends Button |
Off |
Remove the friends button from the title screen |
| Hide Language Button |
Off |
Remove the language button |
| Hide Accessibility Button |
Off |
Remove the accessibility button |
| Disable Hover Animation |
Off |
Buttons stay as static icons without text expansion |
Realms
| Option |
Default |
Description |
| Hide Realms Button |
Off |
Completely remove the Realms button |
| Group Realms with Multiplayer |
On |
Place Realms on the same row as Multiplayer |
Building
./gradlew build
The compiled JAR is placed at build/libs/title-menu-fix-*.jar.
Development
This project targets Minecraft 26.2 with Mojang official mappings and Fabric Loom 1.17. All source code is written in Kotlin — no Java source files (except Loom-generated artifacts).
License
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧