Minecraft Data Packs / Quality of Life

Mob Health Bar / Display

  • check_circle Functions
  • 29,483 views, 16 today
  • 8,247 downloads, 1 today
  • 63
  • 82
  • 18
Cloud_Wolf's Avatar Cloud_Wolf
Level 49 : Master Engineer
118
Mob Health Bar / Display

This pack makes all mobs in your world display their health on their name!

Benefits:
- Works for any given HP amount
- Saves the original name of the mob (works with custom names)

Version 2.0:
- Completely rewritten code for 1.19/1.20
- Better optimization
- Supports unlimited mobs!


For more info watch the video

----------------------------------------------------------------------------------------------------------------------------------
Installation:
1) Download the .zip
2) drag it into your .minecraft/saves/(world_name)/datapacks folder
CompatibilityMinecraft 1.19
toMinecraft 1.20
Tags

2 Update Logs

Update #2 : by Cloud_Wolf 01/05/2024 4:39:34 pmJan 5th

Version 2.0:
- Entire datapack rewritten for 1.19-1.20+
- Better performance
- Now unlimited mobs!
LOAD MORE LOGS

Create an account or sign in to comment.

1
09/25/2022 8:38 pm
Level 1 : New Miner
ECLiPSE8o8
ECLiPSE8o8's Avatar
Please make bedrock version?
1
03/10/2022 4:46 pm
Level 1 : New Miner
GabryelCZ
GabryelCZ's Avatar
OH NO PABLO!!!
1
01/16/2022 3:14 pm
Level 1 : New Miner
Master_Chafa
Master_Chafa's Avatar
Some mob names are wrong, so I erased the zip from the datapacks folder, but it's still showing. How can I uninstall it?
1
01/22/2022 1:29 pm
Level 49 : Master Engineer
Cloud_Wolf
Cloud_Wolf's Avatar
run:

execute as @e run data remove entity @s CustomName


but i did not include uninstall in the pack because it will not fix mobs that are not in loaded chunks
1
11/21/2021 10:44 pmhistory
Level 1 : New Miner
PinkLightning53
PinkLightning53's Avatar
4 comments/questions I'd like to make



Comment: I've noticed pandas don't show a health bar. Not sure if there are any others but I happened to discover pandas.



Comment: The health bar is still included in the death message when killed by hostile mobs (Ex: Player was pricked to death by 3/50 creeper)



Question: Is it possible to increase the range from which we can see the health bar? Or even make it so all mobs within a certain vicinity have their bars shown without needing to be in direct line of sight? Even if technically possible, is it viable on the technical side of things?



Comment: Very nice pack!
1
11/29/2021 11:12 am
Level 49 : Master Engineer
Cloud_Wolf
Cloud_Wolf's Avatar
Comment (2) i can't do anything about that, if a mob kills a player it's name is in the death message so naturally if the hp is in the name the hp will be in the message

Question: its possible thats just not how default mc works. if you want just add CustomModelData:1 nbt tag to the mob
1
12/19/2021 4:32 pm
Level 1 : New Miner
PinkLightning53
PinkLightning53's Avatar
alright. Thanks man!
1
11/21/2021 10:59 pm
Level 1 : New Miner
PinkLightning53
PinkLightning53's Avatar
Update on the pandas: So it turns out I just didnt have the pack loaded yet and the pandas that spawned next to me ofc werent applied. Though maybe that could be a fix of its own? Mobs that existed before install getting updated to get health bars added.
1
11/16/2021 5:52 am
Level 46 : Master Engineer
Cosmoguy
Cosmoguy's Avatar
Not working at all for me in 1.17.1, did exactly what you said ran /reload and nothing happens, placed a mob down using a spawn egg and health is not displayed
1
11/15/2021 9:25 pm
Level 1 : New Miner
User3907144G
User3907144G's Avatar
Could it be cleaner, just HP?.
Could you leave further to see the HP? with 10 blocks away.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome