Mojira Archive
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

Fixed

Dominik Vogel

[Mojang] Jeb (Jens Bergensten)

2016-01-17, 12:47 PM

2016-09-17, 05:21 PM

2016-08-26, 11:37 AM

6

7

Community Consensus

Minecraft 16w02a - Minecraft 16w33aMinecraft 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