mojira.dev
MCPE-56846

Knockback resistance is percentage chance to ignore knockback, rather than being scaled

Repost of MC-44192 for bedrock edition

The bug

Mobs with knockback resistance (i.e. minecraft:knockback_resistance component) either ignore knockback entirely or take full knockback, determined randomly when hit. 0.5 knockback resistance doesn't result in 50% less knockback, it results in 50% full knockback, 50% none, which causes combat to be inconsistent and seem broken. Mobs with low knockback resistance can randomly tank a hit for no apparent reason.

How to reproduce

1. /summon ravager
2. Punch it several times

Expected results:
Ravager takes half the knockback of a normal mob

Actual results:
Ravager takes full knockback half the time, and zero knockback the other half the time

Related issues

Comments

No comments.

tryashtar

(Unassigned)

Confirmed

Windows

1.13.1, 1.13.0, 1.14.0

1.16.0.51 Beta

Retrieved