Custom Armor Not Stacking Armor Attribute
There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the armor in the first available armor slot(By that I mean the first one that has armor in it.) and then uses that as the overall armor rating when worn.
Head Value = 1###########With Bug:
Chest Value = 5 ##########Total Value = 1
Legging Value = 3 ########What Should Happen:
Boots Value = 1 ##########Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do
Created Issue:
Custom Armor Not Stacking Armor Attribute
There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the first one and then uses that as the overall armor rating when worn.
Head Value = 1 With Bug:
Chest Value = 5 Total Value = 1
Legging Value = 3 What Should Happen:
Boots Value = 1 Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do.
There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the first one and then uses that as the overall armor rating when worn.
Head Value = 1With Bug:
Chest Value = 5Total Value = 1
Legging Value = 3 What Should Happen:
Boots Value = 1Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do.There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the first one and then uses that as the overall armor rating when worn.
Head Value = 1### With Bug:
Chest Value = 5 ## Total Value = 1
Legging Value = 3# What Should Happen:
Boots Value = 1### Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do.
There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the first one and then uses that as the overall armor rating when worn.
Head Value = 1###### With Bug:
Chest Value = 5 ##### Total Value = 1
Legging Value = 3 ### What Should Happen:
Boots Value = 1 ##### Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do.
There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the first one and then uses that as the overall armor rating when worn.
Head Value = 1######With Bug:
Chest Value = 5 #####Total Value = 1
Legging Value = 3 ###What Should Happen:
Boots Value = 1 #####Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do.There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the first one and then uses that as the overall armor rating when worn.
Head Value = 1###########With Bug:
Chest Value = 5 ##########Total Value = 1
Legging Value = 3 ########What Should Happen:
Boots Value = 1 ##########Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do.
There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the
first one and then uses that as the overall armor rating when worn.
Head Value = 1###########With Bug:
Chest Value = 5 ##########Total Value = 1
Legging Value = 3 ########What Should Happen:
Boots Value = 1 ##########Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do.There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the lowest value and then uses that as the overall armor rating when worn.
Head Value = 1###########With Bug:
Chest Value = 5 ##########Total Value = 1
Legging Value = 3 ########What Should Happen:
Boots Value = 1 ##########Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do
There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the lowest value or the one in the head slot and then uses that as the overall armor rating when worn.
Head Value = 1###########With Bug:
Chest Value = 5 ##########Total Value = 1
Legging Value = 3 ########What Should Happen:
Boots Value = 1 ##########Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do
There seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the
lowest value or the one in the head slotand then uses that as the overall armor rating when worn.
Head Value = 1###########With Bug:
Chest Value = 5 ##########Total Value = 1
Legging Value = 3 ########What Should Happen:
Boots Value = 1 ##########Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to doThere seems to be a problem with the armor attribute. It seems like it is not stacking all of the armor on top of each other. It takes the value of the armor in the first available armor slot(By that I mean the first one that has armor in it.) and then uses that as the overall armor rating when worn.
Head Value = 1###########With Bug:
Chest Value = 5 ##########Total Value = 1
Legging Value = 3 ########What Should Happen:
Boots Value = 1 ##########Total Value = 10
The pictures bellow demonstrate what is happening with the armor value. I have never had this problem before so I don't know what to do




Please provide the commands used.
Keep in mind that the UUID pair must be unique across all items. If you have a UUIDLeast/Most of 1 on two modifiers (even if it's on two different items), you must change it so that it's "universally unique".
Helmet:
/replaceitem entity @p[m=2] slot.armor.head minecraft:iron_helmet 1 0 {HideFlags:4,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:623059,UUIDMost:280042,Slot:"head"}],Unbreakable:1,display:{Name:"Warrior Helmet"}}Chestplate:
/replaceitem entity @p[m=2] slot.armor.chest minecraft:iron_chestplate 1 0 {HideFlags:4,AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:10,Operation:0,UUIDLeast:484205,UUIDMost:723996,Slot:"chest"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.5,Operation:1,UUIDLeast:744106,UUIDMost:914467,Slot:"chest"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.5,Operation:1,UUIDLeast:330386,UUIDMost:873353,Slot:"chest"},{AttributeName:"generic.armor",Name:"generic.armor",Amount:12,Operation:0,UUIDLeast:623059,UUIDMost:280042,Slot:"chest"},{AttributeName:"generic.armorToughness",Name:"generic.armorToughness",Amount:5,Operation:0,UUIDLeast:768050,UUIDMost:732271,Slot:"chest"}],Unbreakable:1,display:{Name:"Warrior Chestplate"}}Leggings:
/replaceitem entity @p[m=2] slot.armor.legs minecraft:iron_leggings 1 0 {HideFlags:4,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:623059,UUIDMost:280042,Slot:"legs"}],Unbreakable:1,display:{Name:"Warrior Leggings"}}Boots:
/replaceitem entity @p[m=2] slot.armor.feet minecraft:iron_boots 1 0 {HideFlags:4,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:623059,UUIDMost:280042,Slot:"feet"}],Unbreakable:1,display:{Name:"Warrior Boots"}}I forget if the min and most have to be different for each one, or if that means it will pick a UUID between those two numbers. If the later then this shouldn't be a problem. If the first, then I just got confused.
For generic.armor you have the same uuids on all items, make them 'universally unique'.
Alright, Thanks.