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

Attribute Modifier generic.attackSpeed isn't working correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 1.12.2, Minecraft 18w03b, Minecraft 18w05a
    • Windows 10, Java 8
    • Unconfirmed

      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"}]}
      

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

              Created:
              Updated:
              Resolved: