mojira.dev
MC-258967

Entities receive knockback from splash potions based on the direction that the said entity was facing when throwing the potion

When a player is harmed by a potion, they get knock back in the direction away from the player that threw it, rather than from the point the potion breaks, which doesn't make sense as it pulls the player toward the break point when the opposite should happen.

Steps to reproduce:

  1. Load a world with 2 players, one being in survival

  2. Get a potion of harming in one player and splash it in differing locations around the other player. Notice how the affected player is knocked away from the other player, rather than the point of the splash.

Linked issues

Attachments

Comments 4

I think this is intended because it is magic and makes it easier for players to find each other by finding out in which direction you got knockback.

I can confirm this issue, but it might intended as Slumcopy (Inactive) say.

Confirmed. This issue is not exclusive to multiplayer and can also be seen in singleplayer as well with non-player entities. I've altered this ticket's title to reflect this.

MyHomeAddress

Shugoh

Confirmed

Platform

Normal

Combat, Entities

1.19.3, 1.19.4

24w18a

Retrieved