No Hide Flags

Support Minecraft 1.21+ | Release
显示物品中被隐藏的附魔和属性信息 / Reveal Hidden Enchantments and Attributes in Tooltips
📝 简介 | Introduction
No Hide Flags is a Minecraft mod for the Fabric platform. It reveals all hidden enchantments and attribute modifiers in item tooltips, allowing players to view complete item details. Even if show_in_tooltip = false, the mod supplements tooltip information for the player. Supports Minecraft 1.21 and above.
✨ 功能 | Features
- Reveals hidden enchantments in item tooltips
- Reveals hidden attribute modifiers in item tooltips
- If an item has hidden enchantments, an extra
Hide Enchantments line is added to the tooltip
- Only takes effect when <kbd>F3 + H</kbd> advanced tooltip is enabled, matching vanilla Minecraft behavior
💡 使用方式 | How to Use
- Install Fabric Loader and Fabric API.
- Place the built
no-hide-flags-x.y.z.jar into your mods/ directory.
- Launch the game and press <kbd>F3 + H</kbd> to enable advanced item tooltips.
- Hover over items with hidden enchantments or attribute modifiers. When hidden enchantments exist, an extra
Hide Enchantments entry appears; attribute modifiers are shown directly.
🧪 示例效果 | Example Output
- Tooltip shows
Hide Enchantments (gray italic) when hidden enchantments are present
- Attribute modifiers appear in vanilla style without extra lines
- Real enchantment or attribute effect text is rendered just like in vanilla Minecraft
📸 效果截图 | Screenshots
Without mod

With mod

🛠️ 构建 | Build
This project uses Gradle for building. Run:
./gradlew build
The output JAR can be found in build/libs/no-hide-flags-*.jar after building.
🔧 依赖 | Dependencies
- Minecraft 1.21+
- Fabric Loader
- Fabric API
- Mixin (configured via Loom)
📄 许可证 | License
MIT License
See LICENSE for details.