跳到正文

Simple MobHealthBars

作者:MVPFishstock

Simple Clean HealthBars for any mob.

收藏

介绍

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

Mob Health Bar Mod

A client-side Minecraft mod for Fabric 1.21.4 that displays health bars above mobs when you look at them or get close to them.

Features

  • 🎯 Smart Targeting: Shows health bars when looking at mobs or when they’re nearby
  • 💚 Dynamic Health Bars: Color-coded health bars (green → yellow → red based on health percentage)
  • 📝 Mob Information: Displays mob name and current/max health
  • 🎨 Smooth Animations: Health bars animate smoothly when mobs take damage or heal
  • 👁️ Line of Sight: Optional line-of-sight checking (won’t show through walls)
  • 🎭 Fade Effects: Smooth fade in/out animations
  • 🚀 Performance Optimized: Limits number of visible health bars for smooth gameplay

Installation

  1. Make sure you have Minecraft 1.21.4 and Fabric Loader installed
  2. Download and install Fabric API from Modrinth or CurseForge
  3. Place the .jar file into your mods folder
  4. Launch Minecraft with the Fabric profile

Usage

Looking at Mobs: Point your crosshair at any mob to see its health bar

Supported Mobs

  • ✅ All hostile mobs (zombies, skeletons, creepers, etc.)
  • ✅ All passive animals (cows, pigs, sheep, etc.)
  • ✅ All neutral mobs (wolves, iron golems, etc.)
  • ❌ Players (health bars are not shown for other players)

Compatibility

  • Minecraft Version: 1.21.4
  • Mod Loader: Fabric
  • Side: Client-side only
  • Dependencies: Fabric API

Technical Details

  • Uses Fabric’s WorldRenderEvents for efficient rendering
  • Implements smooth animations using interpolation
  • Raycast-based line of sight checking
  • Concurrent data structures for thread safety
  • Optimized rendering with distance-based scaling

License

This project is licensed under the MIT License.

常见问题

Simple MobHealthBars 支持哪些 Minecraft 版本?

Simple MobHealthBars 支持 Minecraft Java 版 1.21.4–26.3,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Simple MobHealthBars 怎么安装?

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

评论

登录后评论和评分

MVPFishstock 的其他作品

查看全部 →