- Notifications
You must be signed in to change notification settings - Fork2
Adds sleek and expansive healthbars to Minecraft.
License
Provismet/ProviHealth
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Adds health bar damage indicators to Minecraft.
Provi's Health Bars adds both a HUD health bar for your current target and in-world health bars for all mobs. The behaviour of both can be customised extensively in the settings menu.
The HUD health bar changes appearance based on the Entity Group of the mob you're targetting. Other mods can use the API entrypoint of this one to add additional HUD portraits and icons for custom Entity Groups, or even specific mobs.
To access the settings menu you will need:
This mod can be used as a dependency viaJitpack.
Example entrypoint usage:
This entrypoint initialiser is what the mod uses to set its own values for vanilla entity tags.
publicclassSelfApiHookimplementsProviHealthApi {@OverridepublicvoidonInitialize () {this.registerIcon(EntityTypeTags.AQUATIC,Items.COD,DEFAULT_PRIORITY +1);this.registerIcon(EntityTypeTags.ARTHROPOD,Items.COBWEB,DEFAULT_PRIORITY +2);this.registerIcon(EntityTypeTags.ILLAGER,Items.IRON_AXE,DEFAULT_PRIORITY);this.registerIcon(EntityTypeTags.UNDEAD,Items.ROTTEN_FLESH,DEFAULT_PRIORITY +3);this.registerPortrait(EntityTypeTags.AQUATIC,ProviHealthClient.identifier("textures/gui/healthbars/aquatic.png"),DEFAULT_PRIORITY +1);this.registerPortrait(EntityTypeTags.ARTHROPOD,ProviHealthClient.identifier("textures/gui/healthbars/arthropod.png"),DEFAULT_PRIORITY +2);this.registerPortrait(EntityTypeTags.ILLAGER,ProviHealthClient.identifier("textures/gui/healthbars/illager.png"),DEFAULT_PRIORITY);this.registerPortrait(EntityTypeTags.UNDEAD,ProviHealthClient.identifier("textures/gui/healthbars/undead.png"),DEFAULT_PRIORITY +3); } }
Register your entrypoint:
"entrypoints": {"provihealth": ["path.to.your.class"]}
- Github (here)
- Modrinth
- CurseForge
About
Adds sleek and expansive healthbars to Minecraft.