[SPIGOT-4199] Methods for Trident-related events/states Created: 31/Jul/18  Updated: 01/Aug/18  Resolved: 01/Aug/18

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

Type: New Feature Priority: Minor
Reporter: hoorigan Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: 1.13, Bukkit, Feature
Environment:

Game server is running on a VPS, so some hardware information is not available.

  • Ubuntu 16.04.4 LTS
  • Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz (6 Cores)
  • 8GB DDR3 ECC (Clock speed unknown)
  • 600GB virtual disk (HDD/SSD)
  • 20GB virtual disk (SSD)

Version: This server is running CraftBukkit version git-Spigot-69774b3-549d9b0 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

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/


Generated at Tue Apr 22 04:54:51 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.