I would like to create other mobs that have health bars like the ones you see when fighting withers or the ender dragon; or like name tags that have health displayed. I want it to work for Minecraft 1.11.2. I have found this and similar but I have run into the following problems:
- The commands are out of date, all I can find is commands in 1.8,
- Most of them are mods and plug-ins, and
- The process descriptions for multiple commands are unclear and also out of date.
Best Answer
Have you tried making it yourself?
What you can try doing is:
♥♡
, every tick after #2 happens.If you know what you're doing, you should have a long chain of about about 150 chain command blocks and a repeat command block and mobs should have health bar as their custom name. Less, if you only only want to test a smaller health range, or put all mobs with more than 20 health as "
20+
" or any other optimisation changes, etc.The downsides to this system however, is ALL NAMETAG NAMES WILL BE OVERWRITTEN.
A workaround would be to put
@e[type=MOBNAME]
, but that would multiply the number of commands you have to create by the number of mobs you want to track.