/goop nbt armor <player> <slot> [±]<value>[%] [objective]
This edits the NBT data of the item(s) in the specified inventory slots.
Also stores the final total value of armour as the score of <player> in the [objective] objective.
Player whose inventory items' NBT will be edited.
Supports a few vanilla selectors.
[1.6.5] May be an Entity (dropped item) UUID
The slot in the player's inventory that will be checked. To read on slots see Inventory Slots.
Examples: mainhand, offhand, chest, feet, any, 0-8, ec*
The operation to apply to the armor of the item. See Plus Minus Percent page for full explanation.
The name of the scoreboard objective that will store (ten times) the final armor value.
If used on a vanilla item, it will edit the vanilla armor attribute.
If used on a MMOItem, it will edit the Armor MMOItem Stat.
You can use +0 as the value (adding 0) to read the armor of an item.
You'd specify a score, and to have some information on the first decimal place, the score will be 10 times the total value.
Can be used to get the total value of this attribute on a player's equipment without the use of MythicMob MMOStat Placeholders.
Just use head, chest, legs, feet, mainhand, offhand as the <slot>.
The power of the Plus Minus Percent argument is better explained in its own page, but a few examples:
Consider a sword has originally 5 armor
+8 makes the total be 13
8 makes the total be 8
-8 makes the total be -3
n8 makes the total be -8
800% makes the total be 40
8% makes the total be 0.4
+800% makes the total be 45
-800% makes the total be -35
n800% makes the total be -40
Basically, % indicates multiplication, ± means it will be added, and n indicates it will be multiplied by -1 at the end.
/goop nbt armor GreeneryTrending head +3
Will add 3 to the armor attribute of whatever GreeneryTrending is wearing on her head.
/goop nbt armor Ryxian legs 8
Will set the armor attribute of Ryxian's leggings to 8.
/goop nbt armor SalemOrpheus head,chest,legs,feet,mainhand,offhand +2 totalArmor
Will add 2 to the armor attribute of all the equipped items of player SalemOrpheus, counting the final defense, adding it up, and then store ten times the result in as SalemOrpheus' totalArmor score.
/goop nbt armor AmberCrystals 0-4,mainhand 3
Will set the armor attribute of AmberCrystals's items in his first 5 hotbar slots and mainhand slot to 3.