mojira.dev
MC-49687

Armor that gives extra health doesn't add extra health together.

What I expected to happen:
My health would add up to 30 health when both the helmet and the chestplate were worn.

What actually happened:
My health stayed at 25 regardless of the fact that I was wearing both the helmet and the chestplate.

Notice how in the screen shots, the health is always 25 no matter what combination of armour I wear.

Commands used:

/give @p iron_helmet 1 0 {AttributeModifiers:[{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:5.0,AttributeName:generic.maxHealth,Name:Helmet}]}

/give @p iron_chestplate 1 0 {AttributeModifiers:[{Operation:0,UUIDLeast:3,UUIDMost:3,Amount:5.0,AttributeName:generic.maxHealth,Name:Chestplate}]}

Attachments

Comments 2

Malformed command, here's an example of two pieces of equipment that work together:

give @p minecraft:diamond_chestplate 1 0      {AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:0.1f,Operation:1,UUIDLeast:884654,UUIDMost:2772}]}

give @p minecraft:diamond_helmet 1 0      {AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:6,Operation:0,UUIDLeast:894654,UUIDMost:2872}]}

Squid Eevee

(Unassigned)

Unconfirmed

Minecraft 14w08a

Retrieved