mojira.dev
MC-191555

Knockback Resistance is inconsistent

It is stated in the 1.16 patch notes (see attached image) that knockback resistance is not luck-based, but a scale now. This doesn't work correctly however.

To test, summon a zombie, use the following command:

/attribute @e[type=minecraft:zombie,limit=1,sort=nearest] minecraft:generic.attack_knockback base set 5

And get hit by it a few times to see how much knockback it deals.

Then, either equip Netherite armour or use the following command:

/attribute @s generic.knockback_resistance base set 0.5

You'll find that while the knockback taken is reduced by roughly the correct percentage, there is also a probability of taking 0 knockback.

Attachments

Comments 5

Does the zombie hit you while you are still in the air when no knockback happens?

Nope, it occurs while I'm still on the ground. The knockback is the same random chance as in previous versions of the game.

This is already being tracked as MC-185545.

Apologies for not finding this earlier.

The 0.5 knockback resistance is the same as having no knockback resistance because when i tried to apply a knockback resistance i take knockback the same as default player 0 knockback resistance it also applies to 0.1 - 0.9 we want probability resistance back scale is inconsistent

Jack Daly

(Unassigned)

Unconfirmed

(Unassigned)

1.16.1

Retrieved