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

Item with AttributeModifiers on generic.attackDamage does not change Attack Damage when given along with a Sharpness enchantment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8.3
    • None
    • Java 1.7.0
      CPU: 2x Amd Athlon(tm) 64 X2 Dual Core Processor 4000+
      Display: 854x480 (NVIDIA Corporation)
      GeForce 6100 nForce 405/PCI/SSE2/3DNOW!
      2.0.3
    • Unconfirmed

      When using this command,
      /give @p diamond_axe 1 0 {ench:[

      {id:16,lvl:6}

      ],display:

      {Lore:["Secret Weapon"]}

      ,AttributeModifiers:[

      {Operation:0,UUIDLeast:1,UUIDMost:1,AttributeName:generic.attackDamage,Amount:14.25,Name:attack1}

      ,

      {Operation:1,UUIDLeast:1,UUIDMost:1,AttributeName:generic.movementSpeed,Amount:0.46,Name:speed1}

      ]}

      The diamond axe given should have only dealt 14.25 damage on a mob (Villager), but kills the Villager in one shot of the axe. When removing the "ench" part, it will deal the normal amount of health it should have dealt without the sharpness.

      /give @p diamond_axe 1 0 {ench:[],display:

      {Lore:["Secret Weapon"]}

      ,AttributeModifiers:[

      {Operation:0,UUIDLeast:1,UUIDMost:1,AttributeName:generic.attackDamage,Amount:14.25,Name:attack1}

      ,

      {Operation:1,UUIDLeast:1,UUIDMost:1,AttributeName:generic.movementSpeed,Amount:0.46,Name:speed1}

      ]}

            Unassigned Unassigned
            RobuxShooters Tan Chin Cheern
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: