[SPIGOT-7363] hurt() method in LivingEntity lacks ClientboundSetEntityMotionPacket sent Created: 01/Jun/23  Updated: 25/Dec/24

Status: Open
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Kami Rori Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: bug, entity, spigot

Version: CraftBukkit version 3760-Spigot-7d7b241-1f2dd8e (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

hurt() method will call the knockback() method, but it doesnt send ClientboundSetEntityMotionPacket to the victim player's client. This will make the knock back from another entity (which is not LivingEntity, such as Arrow) too small.

Player attacks player causing correct knock back effect because there is a ClientboundSetEntityMotionPacket which is sent after the knockback() is called.



 Comments   
Comment by md_5 [ 03/Jun/23 ]

Thanks, I have processed your CLA

Comment by md_5 [ 01/Jun/23 ]

Sorry, we require a full address for the CLA. Please resubmit with that information. I am the only one with access and it will only be used in the very unlikely event we need to contact you regarding your contribution.

Comment by Kami Rori [ 01/Jun/23 ]

Thank you very much

Comment by Parker Hawke [ 01/Jun/23 ]

LoliColleen In my first comment, I sent a URL to the CLA. If you sign that and wait for it to be approved, you can make changes to Bukkit and CraftBukkit yourself on the Stash @ https://hub.spigotmc.org/stash/projects/SPIGOT

Comment by Kami Rori [ 01/Jun/23 ]

I m sorry but i dont know where to fill in SpigotMC CLA. Could you give me a help?

Comment by Parker Hawke [ 01/Jun/23 ]

You seem knowledgeable in this area of the server (as also demonstrated in SPIGOT-7364 and SPIGOT-7365). I encourage you to make a pull request to resolve these issues yourself. You can sign the CLA here: https://www.spigotmc.org/go/cla

Generated at Thu Apr 03 15:45:24 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.