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

max_health attribute sets value but doesn't update health

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 20w19a
    • None
    • macOS - 10.15.2
      Java version - 10.0.2
    • Unconfirmed
    • (Unassigned)

      The command I've used isĀ /attribute @p minecraft:generic.max_health base set <value>

      This command does update the max_health attribute but it does not update the player's health such that it matches the specified max. In other words, I'm able to have a health of 20 while having a max health of 5. Damage is required to update your health value to the correct value. All regeneration heals up to the max_health value.

            Unassigned Unassigned
            Lizzy_Bunny Lizzy Givens
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: