[SPIGOT-6937] Ramming goat does not throw EntityTargetLivingEntityEvent Created: 18/Feb/22  Updated: 21/Feb/22  Resolved: 19/Feb/22

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

Type: Bug Priority: Minor
Reporter: Alex Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: API, spigot

Version: 1.17.1 (BuildTools rev 3284-a)
Guidelines Read: Yes

 Description   

The API misses the attacks from Goats. It is not possible to prevent them from ramming due to the missing call of EntityTargetEvent and EntityTargetLivingEntityEvent.

Also discussed here: https://www.spigotmc.org/threads/event-goat-ram.547133/#post-4366507

 



 Comments   
Comment by Alex [ 21/Feb/22 ]

Thx

Comment by Doc [ 21/Feb/22 ]

Resolved because was fixed now in commit 3aabea1, Spigot 1.18.1.

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/3aabea17fed5f17dfb5300ae5149603a6b9d261e

Comment by Alex [ 21/Feb/22 ]

Is it marked resolved because it is not considered a bug or because the bug has been fixed?

Comment by Doc [ 18/Feb/22 ]

Hmm this is maybe because the target in goats works in the Brain of the entity... and use the location for "ram" the target its updated in another place maybe....

 

not sure how this can be handled...

Generated at Wed Apr 02 10:50:50 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.