跳到正文

Elytra HUD Health

作者:Risefall

鞘翅 HUD 生命值让你无需打开物品栏即可随时了解翅膀的精确耐久度

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

✨ Elytra HUD Health ❤️

Minimal, pixel-perfect durability HUD for your elytra with live warnings, localization, and a nostalgic vanilla-style config screen.

Elytra HUD Health

🧭 Overview

Elytra HUD Health keeps you updated on the exact durability of your wings without opening the inventory. The HUD mimics the original Minecraft UI, can be placed anywhere on screen, and even removes elytra automatically before they shatter. Built for Fabric-based clients (1.21.x, tested on 1.21.4) with full localization (EN / RU / UK / JA) and optional chat warnings.

Elytra HUD Health


🚀 Features

  • Vanilla-styled HUD – Icon, bar, and percentage share Minecraft’s original beveled borders so the overlay feels native.
  • Precise positioning & scaling – Offset the HUD using percentage-based sliders and tweak icon/bar height individually.
  • Configurable notifications – Toggle chat warnings, sounds, percentage text, icon, and progress bar independently.
  • Auto-remove safety – Automatically swap elytra into the hotbar once durability hits a custom threshold; warns you 10% before removal.
  • Localization ready – Built-in English, Russian, Ukrainian, and Japanese translations for both UI and chat; one-click language cycle inside the config.
  • Slider preview dimming – Adjusting sliders momentarily dims the world to improve readability without freezing gameplay.

📦 Requirements

| Dependency | Version | Notes |
| ————————————————- | —————– | ———————————— |
| Fabric Loader | 0.16+ | Matches your Minecraft version |
| Fabric API | Latest for 1.21.x | Needed for HUD events and keybinding |

Optional: Mod Menu for easily opening the config screen in-game.


🧑‍💻 Installation

  1. Install Fabric Loader for your Minecraft version.
  2. Drop Fabric API and elytra_hud_health-x.y.z.jar into /.minecraft/mods (client-side only).
  3. Launch Minecraft once to let the config file config/elytra_health.json generate.
  4. Press the configured hotkey (default: bound to your existing ElytraBar key) or open via Mod Menu to access the UI.

🎛️ Configuration Highlights

| Setting | Location | Description |
| ———————————————– | ———————————— | ——————————————————————— |
| scale, offsetX, offsetY | Config screen / elytra_health.json | Move and resize the HUD per your resolution |
| showIcon, showProgressBar, showPercentage | Same | Toggle individual HUD elements |
| soundsEnabled, showWarnings | Same | Enable ping sounds and chat notifications |
| autoRemove + autoRemoveThreshold | Same | Auto unequip elytra when below threshold, warning 10% prior |
| locale | Config screen | Cycle between EN / RU / UK / JA; defaults to Minecraft language or EN |

Tip: The config screen uses scrollable sections, a footer credit link, and a dedicated language button. “Done” applies immediately and saves the JSON file.


🔊 Chat & Sound Alerts

  • Below 50% / 25% durability: subtle bell sounds (configurable via soundsEnabled).
  • At 10% durability: localized chat warning + yellow highlight.
  • At 0% durability: break sound and red chat alert.
  • Auto-remove imminent: red chat warning if you’re airborne.
  • Hotbar full: localized error message if auto-remove finds no empty slot.

All chat messages are prefixed with [EHH] and translate according to the selected locale.


🛠️ Development

  • Language files live in src/main/resources/assets/elytrabar/lang/. Add more by copying en_us.json and updating Localization.java.
  • Building: ./gradlew build (requires JDK 21+ or JDK 22 as configured in the repo).
  • Testing: Launch the mod in a Fabric dev environment via ./gradlew runClient to quickly iterate on HUD tweaks.
  • Code style: Vanilla-inspired UI uses manual DrawContext rectangles. Comments are intentionally sparse to match the pixel-art workflow.

🤝 Contributions & License

  • Author: Risefall (concept + design) • README curated with ❤️ by the Elytra HUD Health maintainers.
  • License: MIT (see LICENSE).

Fly safe! 🪽

常见问题

Elytra HUD Health 支持哪些 Minecraft 版本?

Elytra HUD Health 支持 Minecraft Java 版 1.21–1.21.11,共 12 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Elytra HUD Health 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分