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

Sharpness and Attribute "attackDamage" don't stack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • Minecraft 1.7.10, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, Minecraft 14w33a
    • None
    • HP Pavilion Entertainment PC (Stock)
      nvidia Graphics
    • Unconfirmed

      /give @p iron_sword 1 0 {ench:[{id:16,lvl:1}],AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:6.0,AttributeName:generic.attackDamage,Name:attackDamage}]}
      

      Attribute attackDamage over writes all information of enchantments dealing with attack power. (IE: Sharpness, Smite, Bane of A.)

      Keep in mind when dealing with this solution it may be possible to cause another bug where the swords previous damage may stack with both of these.

            Unassigned Unassigned
            Nyancats Daniel Swifthawk Keeton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: