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:
- 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
- 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:
Notes:
- 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.
- This is inconsistent to hearts/absorbtion, which properly displays past 20 hit-points.