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

Methods for Trident-related events/states

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • This server is running CraftBukkit version git-Spigot-69774b3-549d9b0 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)
    • Yes

      Currently, there isn't a way for me to catch certain events or check for certain player states.

      • Player "throws" a trident with the riptide enchantment
        • This is because the player doesn't actually throw it, so no ProjectileLaunchEvent occurs.
      • Player is "riptiding" (the state in which the player is twirling through the air with sparkly effects and stuff)

      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.

      Ref: https://www.spigotmc.org/threads/listening-for-trident-throw.331434/

            Unassigned Unassigned
            hoorigan hoorigan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: