If you give a boss mob such as an Ender Dragon or a Wither Boss a custom name, the name does not display at the top of the screen above their health bars, instead it just says the default 'Ender Dragon' or 'Wither'.
Code analysis: https://bugs.mojang.com/browse/MC-83571?focusedCommentId=294688&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-294688
Related issues
is duplicated by
relates to
Attachments
Comments


Can confirm.

This needs fixed... I have an entire map that I have been working on for about a year that all the boss battles are pretty much broken because of this... I really hope they fix this soon or say goodbye to creative custom health bars for boss fights in Adventure maps... And I held off for 1.9 to finish up and release my map because before redstone was an issue in my map getting stuck.. I like the new command blocks but this boss bar thing is like a real punch in the gut... It would be soo much easier if they let us assign boss bars to regular mobs with a NBT tag or something. Either way custom names worked prior to 1.9 with health bars so there is no reason for them not to work now..

I agree that there should be an NBT tag or something, or that this bug should at least be fixed so custom names work again. They changed it so that the ender dragon health bar does not appear when using /summon (according to https://bugs.mojang.com/browse/MC-83239 ). Now you have to build the creeper-face clay in the end to make its health bar appear, and that means that only the wither can be used. The wither's problem is that it makes the sky go darker when it is alive, which some custom map creators would not want.

Yeah If they would only give us the option of allowing regular mobs to have a custom health bar with NBT data than we wouldnt have to resort in giant mazes of command blocks such as this https://dl.dropboxusercontent.com/u/37251419/Bank%20Ledger/2015-01-18_12.41.13.png
Either way with all the work we put in to manipulating these health bars by using the whither and or Ender Dragon and now they don't display the custom names completely screws our maps up.Well screws mine up at least... I'm not going to release a map where every boss in my map is named "Wither"

Is there any status updates on this yet?

Is this issue going to Be resolved before 1.9?

This bug is still here in 15w42a.

Also another bug is that the health bar does not update itself when the Wither gets damaged.


This bug is still going strong in 15w46a.

I give up... They are not going to fix this. I'm scrapping my map

oh please, may I remind you you are playing snapshots, there are bugs that had to wait 3 years before they got fixed.
they will eventually fix this, posibly before 1.9 is actually released

That's pretty much what I'm hoping for, too.
I'm waiting until 1.9 is released before attempting to find an alternative way that would work for my map.

FVbico - Do you have any idea how many hours and how many command blocks can go into creating custom health bars for boss battles? My map has over 1000 command blocks just altering health bars that this "glitch" affects. This issue has been present since July when the first 1.9 snapshot came out... Its apparent they don't intend on fixing it, and won't fix it. It seems to me they may be unable to do so with the new multiple health bar feature. So you tell me that I'm playing snapshots and It will be fixed.. I will put any amount of money on this right now that it doesn't get fixed. At least before 1.9 comes out anyway. My map is completely screwed without this working, So I need to make a whole new map without health bars or some sort of other system to determine your progress in the boss fights. I laid too many command blocks and wrote too much code to re-work it all.

You can also keep your system, if it gets fixed, it'll fix itself, again, this will get fixed, and some other bugs took 3 years to be fixed
Reminder: this is a bug tracker, not a forum

This bug is still around in 15w51b.
I know this isn't a forum, so I posted an idea for a simple way of manipulating boss health bars on a forum:
http://www.minecraftforum.net/forums/minecraft-discussion/suggestions/2527509-bosshealth-command

Confirmed for
16w02a

And it's still here in 16w02a.
Funnily, the mob itself is renamed (so if you rename a wither "Bob" and mouse over it, above its head it says "Bob"), but the boss health bar isn't.

Confirmed for 16w03a.

I have a funny feeling that the developers will say this is intentional to differentiate mob type or some crap like that... oh well... I'm sure we will be saying Confirmed for 1.9 as well

Confirmed for 1.9.

Confirmed for 16w03a.

lol

Confirmed for 16w04a.

Confirmed for 16w05b.

Confirmed for 16w06a.

Confirmed in 16w07a. The custom name shows over the boss's head, but the boss bar just shows the default name/type.

well seeing as how 1.9 is being released on the 25th I would guess this issue is low on their priority list...

Confirmed for 1.9 Pre-releases 1 and 2

Confirmed for 1.9 pre 2

Confirmed for 1.9-pre2

Confirmed for 1.9 Pre-release 3

Confirmed for 1.9 Pre-release 4

Additional: Health is not displayed too

@unknown and with that you mean? a NoAI wither no showing the health in the boss bar? NoAI functions at it is and any bugs related to that won't be fixed

Oh, ok will test without NoAI

@unknown see MC-84243

Neither does it work without NoAI, this means mapmakers can no longer put custom names in the boss bars, how sad...

glad to see more people are catching on to this bug. Maybe if we get enough people saying something than they will actually give us a fix. Would be nice if they gave us the ability to add a boss bar to a normal mob...Edit: I made a suggestion on their Reddit. Upvote if your interested in a better way to get Boss bars for normal mobs... https://www.reddit.com/r/minecraftsuggestions/comments/48nz0a/ability_to_give_a_normal_mob_a_boss_health_bar/

Confirmed for 1.9 official release.

This is not a discussion forum.

Confirmed for 1.9.1 pre-release 1, 2 and 3

Please link to this comment in the description
The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.
The reason why this happens is because the methods net.minecraft.entity.boss.EntityWither.readEntityFromNBT(NBTTagCompound)
and net.minecraft.entity.boss.EntityDragon.readEntityFromNBT(NBTTagCompound)
are not calling the method net.minecraft.world.BossInfoServer.setName(ITextComponent)
.
For the EnderDragon this is a little bit more complicated because only the boss bar of the EnderDragon of the boss fight is shown, so methods would need to be added to test whether an EnderDragon is the EnderDragon of the boss fight and to access the net.minecraft.world.end.DragonFightManager.bossInfo
field.

Confirmed for 1.9.2

Confirmed for 16w15b

Confirmed for 1.9.3 pre-release 1

Confirmed for 1.9.3-pre2

its not a main issue in 1.9.0 but 1.9.2 + have this issue,
trying to:
have multiple withers or ender dragons with NO:Ai + having custom name tags at top of the screen for the withers names or boss bars doesn't work in newer version i hope they do fix this.

Confirmed for 1.9.3 pre-release 3

Interesting, there is no pre4.

Confirmed in 1.9.4.

Confirmed for 1.10-pre1

Confirmed for release 1.10

Confirmed for release 1.10.2

The fix version stated 16w32a, which is for 1.11...

Works fine for me.
Works fine for me, what command are you using?

Also works for me, but only after relogging to the world. Have you tried this?
Oops, sorry. Had a typo in my command. :'D
Works now! 🙂