I was playing in a normal Minecraft world, I hit a villager, after burning him with a lighter.
*What I expected to happen was:
That the villager took knockback.
What actually happened was...:
When I hit him, he just stayed there, then I put some water on him, hit him, and he took knockback. For some kind of reason, if the entify is burning and you hit it, it won't take knockback, well, at least on villagers.
Steps to Reproduce:
1. Burn a villager or some mob
2. Hit it and check it doesn't takes knockback
3. Put some water on him
4. Hit him again, notice it does take knockback
Additional Info
This is not exclusive to burning, but any form of damage which does not deal knockback, including:
Burning
Sweet Berries
Cactus
Magma
Lava
Falling on Stalagmites
Fall Damage
/damage command
Drowning
Freezing in Powder Snow
Poison damage
Wither damage
Damage from being in fire or on a campfire
Getting struck by Lightning
Entity cramming
Suffocation
Vexes dying by existing for too long / Player Starvation
Linked issues
is duplicated by 4
Attachments
Comments 8
The explaination for this is resolution actually untrue. If you are able to deal more damage than the original damage (say a mob burning in sunlight and you hit it with a netherite sword), the damage will pass through the "i-frames", the i-frames only apply if the damage dealt after the fact is less than or equal to that of the original damage, thus there is no reason why the mob shouldn't get knocked back.
This isn't exclusive to fire but also affects any type of damage that doesn't cause knockback, such as poison as well.
In 23w44a
I also found this unmarked duplicate MC-190564
This affects the following damage types as well.
Burning
Sweet Berries
Cactus
Magma
Lava
Falling on Stalagmites
Fall Damage
/damage command
Drowning
Freezing in Powder Snow
Poison damage
Wither damage
Damage from being in fire or on a campfire
Getting struck by Lightning
Entity cramming
Suffocation
Vexes dying by existing for too long / Player Starvation
Further, seeing as the owner has been inactive since 2016, may I request ownership of this issue?
Mobs have a cooldown period between taking damage. You can't hit mobs if they just took fire damage.