Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-124662

Attribute Modifier generic.attackSpeed isn't working correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Works As Intended
    • Affects Version/s: Minecraft 1.12.2, Minecraft 18w03b, Minecraft 18w05a
    • Fix Version/s: None
    • Labels:
    • Environment:
      Windows 10, Java 8
    • Confirmation Status:
      Unconfirmed

      Description

      The Attribute generic.attackSpeed will not work. If I e.g. give myself one with an Amount of 1.6 (which should be exactly as fast as a default sword), you can spam-click it, the value does not seem to change anything.

      Here are the commands used:

      1.12.2
      /give @s minecraft:diamond_sword 1 0 {AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:1.6,Operation:0,UUIDLeast:886938,UUIDMost:310468,Slot:"mainhand"}]}
      
      1.13+
      /give @s minecraft:diamond_sword{AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:1.6,Operation:0,UUIDLeast:886938,UUIDMost:310468,Slot:"mainhand"}]}
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ZockerAxel ZockerAxel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: