Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-33285

Summoning slimes with custom maxHealth attributes does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 13w39b, Minecraft 1.7.4, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.7.6-pre1, Minecraft 1.7.6-pre2, Minecraft 1.7.10, Minecraft 1.8-pre1, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre4, Minecraft 1.8.5, Minecraft 1.8.8, Minecraft 15w44b, Minecraft 15w49b, Minecraft 1.8.9, Minecraft 16w04a, Minecraft 1.9, Minecraft 1.9.2, Minecraft 1.9.4, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.14
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      Description:
      Summoning slimes (Normal & Lava) with custom maxHealth attributes don't works:

      summon magma_cube ~ ~1 ~ {Health:1000.0f,Attributes:[{Name:"generic.maxHealth",Base:1000.0d}]}

      But this (with Zombie) works:

      summon zombie ~ ~1 ~ {Health:1000.0f,Attributes:[{Name:"generic.maxHealth",Base:1000.0d}]}

      Actual: Summoned slimes use default value of maxHealth instead of the one given.
      Expected: Should use maxHealth from summon command instead of default.


      Code analysis by [Mod] Marcono1234 can be found in this comment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ypetremann Yoann Petremann
              • Votes:
                35 Vote for this issue
                Watchers:
                23 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: