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

Attributes don't stack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.15.2
    • Minecraft 1.7.10, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, Minecraft 14w33a, Minecraft 14w33b, Minecraft 14w33c, Minecraft 1.8-pre1, Minecraft 1.8.8, Minecraft 15w37a, Minecraft 16w32b
    • None
    • Windows 7
      HP Pavilion Entertainment PC (Stock)
      Nvidia Graphics Card
    • Confirmed
    • (Unassigned)

      Attributes don't Stack, in any way. A sword with an attribute of 10 Attack Damage and sharpness doesn't change the sword any higher then 10 Attack Damage.

      Example command
      /give @p diamond_sword 1 0 {AttributeModifiers:[{AttributeName:"generic.attackDamage",Amount:5d,Operation:0,UUIDLeast:1l,UUIDMost:1l,Name:"testSword",Slot:"mainhand"}],ench:[{id:16,lvl:5}]}
      

      A Full armor set designed to bring the players health down to 5 only counts for the last item you equip, or in the case of re logging only accounts for the helmets information.

      An armor set that increases the players attack damage and a sword of +2 attack damage only give you +2 damage from the sword does not include the armor stats at all.

      Keep in mind the +attack damage rewrites the swords damage, (I personally like it this way because a player that wants it to stack with the sword damage could just add the sword damage to the wanted attribute)

            Unassigned Unassigned
            Nyancats Daniel Swifthawk Keeton
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: