[SPIGOT-1373] Luring animals (cows with wheat, etc) should fire EntityTargetLivingEntityEvent with a new reason (LURE, maybe) Created: 24/Dec/15  Updated: 01/Jul/16  Resolved: 01/Jul/16

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

Type: New Feature Priority: Minor
Reporter: BillyGalbreath Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: None


 Description   

Currently there is really no event that triggers when an animal targets a player when the player lures it. I believe it should trigger the event specified since it fits its name perfectly. We just need a new reason enum.

An event here would allow us to cancel this behavior in protections plugins to prevent players from stealing animals out of someone's protected area by luring them.



 Comments   
Comment by SpigotMC [ 24/Dec/15 ]

Your build is not the latest and therefore may be the reason you are having this issue. Spigot is 1 version(s) behind. CraftBukkit is 2 version(s) behind. This message was automatically generated and is not guaranteed to be a solution to your issue.

Generated at Sat Mar 29 00:43:17 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.