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

Armor values are not displayed past 20

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2, 20w49a, 1.20.1, 1.20.2, 23w41a, 23w46a, 1.20.3 Pre-Release 4, 1.20.3, 1.20.4, 23w51b, 24w07a, 24w12a, 1.20.5
    • Community Consensus
    • UI

      The Bug

      When the player is wearing armor that gives them an "armor" value higher than 20, that is not properly displayed to the player.

      Steps to Reproduce:

      1. Give the player an armor piece with an armor attribute value of 21:
        /give @p leather_chestplate[attribute_modifiers=[{type:"generic.armor",name:"generic.armor",amount:21,operation:"add_value",uuid:[I;1416253916,-2083827836,-1623441529,-1369255075],slot:"any"}]] 1
        
      2. Wear the armor piece

      Observed Results:

      Only 20 armor points will be displayed in the player's HUD.

      Expected Results:

      The armor points displayed would be more than 20.

      Screenshots/Videos:

      2023-10-12_21-30-20.mp4

      Notes:

      1. Functionally, while the player is unable to utilize more than 20 points of armor when they are damaged, the HUD is still displaying incorrect information to the player. That being; the total armor points they have.
      2. This is inconsistent to hearts/absorbtion, which properly displays past 20 hit-points.

        1. 2023-09-10_18-06-02.mp4
          278 kB
        2. 2023-10-12_21-30-20.mp4
          319 kB
        3. armour.png
          armour.png
          36 kB
        4. health.png
          health.png
          33 kB

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: