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

Attribute attackDamage with negative value makes the mob unhittable same without holding the item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 1.7.9
    • None
    • Version: 1.7.5,O.S.: Windows 8.1
    • Unconfirmed

      Step 1:Put the command block with this command,

      /give @a minecraft:stick 1 0 {display:{Name:"Bugged Stick",Lore:["Buggy I"]},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:-1000000000,Operation:0,UUIDMost:43827,UUIDLeast:116840},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:-1000000000,Operation:0,UUIDMost:13860,UUIDLeast:149248},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:-10000000000,Operation:0,UUIDMost:92271,UUIDLeast:183872}]}

      Step 2: Active the command block
      Step 3:Spawn a zombie
      Step 4: Try to kill it with the item
      Step 5: Now Try to kill it without the item
      How items with attribute can affect players?!
      Sorry,i put 1.7.9 instead of 1.7.5,because is not in the list

            Unassigned Unassigned
            JohnHOne John H.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: