Attack Speed

How fast can your weapon deal full damage.

/goop nbt aSpeed <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 attack speed 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 attack damage 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 attack damage value.

Tips

  • If used on a vanilla item, it will edit the vanilla attack damage attribute.

  • If used on a MMOItem, it will edit the Attack Damage MMOItem Stat.

    • Be careful when adding attack damage on MMOitems; Depending on their type, they may also apply the bonuses when held in offhand which could result in some ridiculous damage outputs.


  • You can use +0 as the value (adding 0) to read the attack damage 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 attack damage

      • +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.

Simple Examples:

/goop nbt adamage cocopad mainhand +1

Will add 1 to the attack damage attribute of whatever cocopad is holding.


/goop nbt adamage SugarFlow head 10

Will set the attack damage attribute of SugarFlow's helmet to 10.


/goop nbt adamage gunging head,chest,legs,feet,mainhand,offhand +1 totalDamage

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


/goop nbt adamage cln89 0-4,offhand 5

Will set the attack damage attribute of cln89's items in his first 5 hotbar slots and offhand slot to 5.