Minecraft Data Packs / Quality of Life

Mob Health Bar / Display

  • check_circle Functions
  • 22,766 views, 31 today
  • 6,930 downloads, 10 today
  • 58
  • 70
  • 18
Cloud_Wolf avatar Cloud_Wolf
Level 47 : Master Engineer
111
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)

Drawback:
- Takes ~34 commands to update health (well optimized)

Version 1.1:
- Added default names for all mobs
- Expanded the database to 4096 mobs simultaneously
- Renaming mobs with nametags now works!


For more info watch the video

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

1 Update Logs

Update #1 : by Cloud_Wolf 10/16/2021 6:36:33 pmOct 16th, 2021

Version 1.1:
- Added default names for all mobs
- Expanded the database to 4096 mobs simultaneously
- Renaming mobs with nametags now works!

Create an account or sign in to comment.

1
09/25/2022 8:38 pm
Level 1 : New Miner
ECLiPSE8o8
ECLiPSE8o8 avatar
Please make bedrock version?
1
03/10/2022 4:46 pm
Level 1 : New Miner
GabryelCZ
GabryelCZ avatar
OH NO PABLO!!!
1
01/16/2022 3:14 pm
Level 1 : New Miner
Master_Chafa
Master_Chafa 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 47 : Master Engineer
Cloud_Wolf
Cloud_Wolf 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 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 47 : Master Engineer
Cloud_Wolf
Cloud_Wolf 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 avatar
alright. Thanks man!
1
11/21/2021 10:59 pm
Level 1 : New Miner
PinkLightning53
PinkLightning53 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 44 : Master Engineer
Cosmoguy
Cosmoguy 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 avatar
Could it be cleaner, just HP?.
Could you leave further to see the HP? with 10 blocks away.
Planet Minecraft

Website

© 2010 - 2023
www.planetminecraft.com

Welcome