Mojira Archive
MC-44192

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

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}

]}

Fixed

Dustin Held

2014-01-05, 05:32 AM

2020-12-22, 11:18 PM

2020-03-17, 01:28 AM

1

4

Confirmed

Minecraft 1.7.4, Minecraft 14w18b, 1.14.4, 19w46b

20w06a