Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5207

Throw trident event


    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • n/a
    • Yes

      I was recently asked to deal with some trident stuff in one of my plugins. After plenty of research I came to realize there is no event for a player throwing a trident.

      I saw a previous issue (SPIGOT-4199) which asked for riptide events, and also the addition of throwing a trident event, which I guess the second part got missed:


      Additionally, it might be useful to offer something akin to the EntityShootBowEvent class, maybe called EntityThrowTridentEvent, with similar methods.  This would make it a lot easier for plugin developers to work with the newly added tridents.



      Another option for this could maybe be an EntityThrowProjectileEvent. I noticed there's a throw egg event but not a throw snowball event. Something like this be very useful in the future as Mojang could possibly add more throwable projectiles in the future. A method that sums up all projectiles will make adding them to this event in the future a lot easier and cleaner in the API


      Thank you for reading!

            Unassigned Unassigned
            ShaneBee Shane Bee
            5 Vote for this issue
            6 Start watching this issue