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

generic.knockbackResistance is percentage chance to ignore knockback, rather than being scaled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w06a
    • Minecraft 1.7.4, Minecraft 14w18b, 1.14.4, 19w46b
    • None
    • Confirmed

      With the example bellow, the player who is holding/wearing the helmet rarely gets knocked, while most of the time he/she receives no knockback at all. This is of course not the intended result, as the player should be knocked back 50% as much as normal.

      give @p 314 1 0 {AttributeModifiers:[

      {AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.5,Operation:0,UUIDLeast:894654,UUIDMost:2872}

      ]}

            Unassigned Unassigned
            dustinmaxim Dustin Held
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: