mojira.dev
MC-95738

Slimes health resets to max when setting any nbt-tag

So the problem is as follows:

Whenever you change any nbt-tag of a Slime its health reverts to his max health.

Steps to reproduce:

  • summon in a slime with at least size 1 (since size 0 dies after one hit)

  • use "/entitydata @e[type=Slime] {}" and search for the health tag

  • hit it once
    > check again and its health went down

  • now change any nbt-tag like CustomName with for example "/entitydata @e[type=Slime] {CustomName:"test"}
    > the command displays correct health but if you test it again with the empty brackets {} it will show you the slimes max health, meaning it reseted

Tested with other mobs (Spider, Skeleton, Pig) and none had this problem

Related issues

Comments

Possseidon

the "other" was kinda wrong, because setting the health results in a health reset as well

migrated

Confirmed.

migrated

Occurs in 1.9 as well.

migrated

Confirmed for 1.10-pre1

migrated

its health resets to max even when relog.

Possseidon

The bug with the Health Tag resetting itself is fixed.

BUT another bug concerning pretty much the same topic revealed itself by that:

Here is a the new bug report: MC-106711

Possseidon

Jens Bergensten

Community Consensus

Minecraft 16w02a, Minecraft 1.9, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 1.10 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a

Minecraft 16w35a

Retrieved