Uploaded image for project: 'Minecraft'
  1. Minecraft
  2. MC-95738

Slimes health resets to max when setting any nbt-tag

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: Minecraft 16w35a
    • Labels:
      None
    • Environment:

      Windows 10, Java 1.8.0_25 64bit

    • Confirmation Status:
      Community Consensus

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jeb [Mojang] Jeb (Jens Bergensten)
                Reporter:
                Possseidon Dominik Vogel
              • Votes:
                6 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: