Call PlayerLaunchProjectileEvent for trident (#8027)
This commit is contained in:
parent
857ece0812
commit
4400eb6600
2 changed files with 38 additions and 1 deletions
|
@ -21,7 +21,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+import org.jetbrains.annotations.NotNull;
|
||||
+
|
||||
+/**
|
||||
+ * Called when a player shoots a projectile
|
||||
+ * Called when a player shoots a projectile.
|
||||
+ * <p>
|
||||
+ * Notably this event is not called for arrows as the player does not launch them, rather shoots them with the help
|
||||
+ * of a bow or crossbow. A plugin may listen to {@link org.bukkit.event.entity.EntityShootBowEvent} for these actions
|
||||
+ * instead.
|
||||
+ */
|
||||
+public class PlayerLaunchProjectileEvent extends PlayerEvent implements Cancellable {
|
||||
+ private static final HandlerList handlers = new HandlerList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue