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

Ghost Health is created when having negative maxHealth attributes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.14.2, 1.14.4, 19w45b
    • None
    • Unconfirmed
    • Survival
    • (Unassigned)

      How to recreate:

      1. Have a health scoreboard, /scoreboard objectives add health health
      2. Give yourself a item with negative MaxHealth, /replaceitem entity @s armor.head minecraft:leather_helmet{AttributeModifiers:[{AttrbuteName:"generic.maxHealth",Name:"generic.maxHealth",Amount:-2,Operation:0,UUIDLeast:137757,UUIDMost:964305,Slot:"head"}}{{}]} 1}}{{
      3. You see that the health score dosn't go down or updates even when you regenrate or having some absorption
      4. When you clear the helmet the health goes back to your original health

            Unassigned Unassigned
            megaspark2a megaspark2a
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: