Skip to content

Getting hit while on fire and blocking causes reverse knock back #7573

@staridiot

Description

@staridiot

Expected behavior

You just shouldn't take knock back (or in this case, knock forward) when blocking (with some exceptions, like the hoglin), regardless of status effects or if you're on fire.

Observed/Actual behavior

If you use a shield to block and get hit by a zombie which has a weapon of fire aspect, it will cause you to be thrown into the zombie. This also happens with status effects such as poison and wither, if you take damage on the same tick as you're hit by a mob, it'll throw you up and towards the mob. The first example, for some reason doesn't work on vanilla, but does on Spigot and Paper.

Do note, the getting set on fire by a zombie even though you're blocking is probably a bug, but its not the one I'm attempting to report.

I put together a quick video here demonstrating the issue.

Steps/models to reproduce

Get a shield, summon a zombie with a fire aspect weapon. Run either spigot or paper (this specific example doesn't seem to work on vanilla). Block with the shield and get hit by the zombie, the damage from the fire sudden has a boat load of knock back which sends you up and into the zombie.

Plugin and Datapack List

None
None

Paper version

This server is running Paper version git-Paper-237 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: b55ba19)

Other

Also tried with vanilla Minecraft 1.18.2 downloaded 3/10/22
And Spigot; This server is running CraftBukkit version 3453-Spigot-ffcceeae-64db512 (MC 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT)
The video I made demonstrating this issue: https://www.youtube.com/watch?v=JspnG8fyKEU

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: unlikelyUnlikely to ever be worked on due to complexity or risktype: bugSomething doesn't work as it was intended to.upstream: spigotIssues exists in Spigot.upstream: vanillaIssue exists in vanilla Minecraft.version: 1.19Game version 1.19

    Type

    No fields configured for Bug.

    Projects

    Status

    ✅ Accepted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions