Armour Toughness

Secondary damage reduction for incoming attacks.

/goop nbt aToughness <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 armor toughness as the score of <player> in the [objective] objective.

Args Breakdown (What everything does)

<Player>

  • Player whose inventory items' NBT will be edited.

  • Supports a few vanilla selectors.

  • [1.6.5] May be an Entity (dropped item) UUID

<Slot>

  • 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*

[±]<value>[%]

  • The operation to apply to the armour toughness of the item. See Plus Minus Percent page for full explanation.

<Objective>

  • The name of the scoreboard objective that will store (ten times) the final armour toughness value.

Tips

  • If used on a vanilla item, it will edit the vanilla Armor Toughness attribute.

  • If used on a MMOItem, it will edit the Armor Toughness MMOItem Stat.


  • You can use +0 as the value (adding 0) to read the armor toughness 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 diamond chestplate has originally 8 armor toughness

      • +8 makes the total be 16

      • 8 makes the total be 8

      • -5 makes the total be -3

      • n8 makes the total be -8

      • 500% makes the total be 40

      • 5% makes the total be 0.4

      • +500% makes the total be 48

      • -500% makes the total be -32

      • n500% 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.

Simple Examples:

/goop nbt aToughness Player chest +3

Will add 3 to the armor toughness attribute of whatever Player is wearing on his chest.


/goop nbt aToughness Brookslin feet 7

Will set the armor toughness attribute of Brookslin's helmet to 7.


/goop nbt aToughness cln89 head,chest,legs,feet,mainhand,offhand +1 totalArmorToughness

Will add 1 to the armor toughness attribute of all the equipped items of player cln89, counting the final damage, adding it up, and then store ten times the result in as cln89's totalArmorToughness score.


/goop nbt aToughness gunging 0-5 10

Will set the armor toughness attribute of gunging's items in his first 6 hotbar slots to 10.