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

AttributeModifiers not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 20w12a
    • None
    • Unconfirmed
    • (Unassigned)

      If AttributeModifiers is set attackspeed or attackdamage, item does not function properly.

      used command is:

      give @p stone_axe{AttributeModifiers:[

      {AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-2.4,Operation:0,UUIDLeast:1,UUIDMost:10,Slot:"mainhand"}

      ,{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:11,UUIDMost:20,Slot:"mainhand"}]}

      The picture below shows the bug when it happened.

      (NBT is changed. sorry.)

        1. 2020-03-20_15.02.12.png
          200 kB
          mixedcat90
        2. 2020-03-20_15.02.40.png
          281 kB
          mixedcat90

            Unassigned Unassigned
            mixedcat90 mixedcat90
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: