[SPIGOT-1178] Wither shoot Skull Event Created: 08/Sep/15  Updated: 09/Sep/15  Resolved: 09/Sep/15

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

Type: New Feature Priority: Minor
Reporter: user-98662 (Inactive) Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: entity, event
Environment:

Spigot 1.8.8, Windows 10



 Description   

Hello,
As of right now (Spigot 1.8.8) there is no available Event for when a Wither shoots a Skull.
This could be very helpful for a lot of developers, so I'd like this to be implemented in a next release.
Thanks for your time!

  • j0ach1mmall3


 Comments   
Comment by Chris Thrussell [ 09/Sep/15 ]

No problem, @md_5 , you can close this now.

Comment by user-98662 (Inactive) [ 09/Sep/15 ]

Ah okay I feel stupid now, I didn't know you could get the shooter of it :l

Comment by Chris Thrussell [ 08/Sep/15 ]

Yeah there is, its called ProjectileLaunchEvent and if you want a custom event for that you could make one yourself.

@EventHandler
public void onWitherLaunch(ProjectileLaunchEvent e)
{
if (e.getEntity() instanceof WitherSkull)
{
WitherSkull skull = (WitherSkull)e.getEntity();
if (skull.getShooter() instanceof Wither)

{ Bukkit.broadcastMessage("Hey there xDDDD Kappa!"); }

}
}

https://gyazo.com/e0abfe2a0ea8a9a7a6d6706e052df766

Comment by SpigotMC [ 08/Sep/15 ]

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

Generated at Fri Apr 11 15:51:08 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.