Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Adds sleek and expansive healthbars to Minecraft.

License

NotificationsYou must be signed in to change notification settings

Provismet/ProviHealth

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.

Dependencies

To access the settings menu you will need:

Dependency and API

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"]}

Official Downloads


[8]ページ先頭

©2009-2025 Movatter.jp