mojira.dev
MC-83571

Custom named bosses show "Wither" / "Enderdragon" at boss health bar

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

Attachments

Comments

migrated
[media][media]
migrated

Can confirm.

migrated

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..

Cavinator1

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.

migrated

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"

migrated

Is there any status updates on this yet?

migrated

Is this issue going to Be resolved before 1.9?

Cavinator1

This bug is still here in 15w42a.

migrated

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

marcono1234

@unknown you are probably talking about MC-84243

Confirmed for

  • 15w44b

Cavinator1

This bug is still going strong in 15w46a.

migrated

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

migrated

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

Cavinator1

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.

migrated

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.

migrated

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

Cavinator1

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

marcono1234

Confirmed for

  • 16w02a

Cavinator1

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.

Cavinator1

Confirmed for 16w03a.

migrated

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

migrated

Confirmed for 1.9.

migrated

Confirmed for 16w03a.

migrated

lol

Cavinator1

Confirmed for 16w04a.

Cavinator1

Confirmed for 16w05b.

Cavinator1

Confirmed for 16w06a.

migrated

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

migrated

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

Cavinator1

Confirmed for 1.9 Pre-releases 1 and 2

migrated

Confirmed for 1.9 pre 2

migrated

Confirmed for 1.9-pre2

Cavinator1

Confirmed for 1.9 Pre-release 3

Cavinator1

Confirmed for 1.9 Pre-release 4

migrated

Additional: Health is not displayed too

migrated

@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

migrated

Oh, ok will test without NoAI

migrated

@unknown see MC-84243

migrated

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

migrated

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/

migrated

Confirmed for 1.9 official release.

migrated

This is not a discussion forum.

Cavinator1

Confirmed for 1.9.1 pre-release 1, 2 and 3

marcono1234

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.

migrated

Confirmed for 1.9.2

migrated

Confirmed for 16w15b

Cavinator1

Confirmed for 1.9.3 pre-release 1

migrated

Confirmed for 1.9.3-pre2

migrated

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.

Cavinator1

Confirmed for 1.9.3 pre-release 3

FaRo1

Interesting, there is no pre4.

migrated

Confirmed in 1.9.4.

migrated

Confirmed for 1.10-pre1

Cavinator1

Confirmed for release 1.10

migrated

Confirmed for release 1.10.2

migrated

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

migrated

Works fine for me.

[Mod] Neko

Works fine for me, what command are you using?

migrated

Also works for me, but only after relogging to the world. Have you tried this?

bemoty

Oops, sorry. Had a typo in my command. :'D
Works now! 🙂

UnableToFindUser

Jens Bergensten

Confirmed

Minecraft 15w31a, Minecraft 15w31c, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w39c, ..., Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 1.10 Pre-Release 1, Minecraft 1.10, Minecraft 1.10.2

Minecraft 16w32a

Retrieved