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

Percent Attack Damage on Armor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Invalid
    • Affects Version/s: Minecraft 1.7.2
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed
    • Game Mode:
      Creative

      Description

      This is a problem with attributes, specifically generic.attackDamage.

      When putting the attack damage attribute on a helmet, it dealt increased damage when I punched a spider. When I switched to my sword and back to my fist, the spider took only normal damage. The damage did not increase when I used both the sword and helmet, only the sword dealt damage.

      Helmet:

      /give @p minecraft:iron_helmet 1 0 {AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:40,Operation:0,UUIDLeast:852852,UUIDMost:258},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDLeast:852852,UUIDMost:258}],display:{Name:"Warrior Helmet"}}

      Sword:

      /give @p minecraft:iron_sword 1 0 {AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDLeast:852852,UUIDMost:258}],display:{Name:"Warrior Sword"}}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              serpensorti1 Andrew Priest
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: