Added PlayerVelocityEvent. Thanks Evenprime!

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-07-28 01:17:07 -04:00
parent 26707ee929
commit c9b9f56903
4 changed files with 85 additions and 0 deletions

View File

@@ -197,6 +197,13 @@ public abstract class Event implements Serializable {
* @see org.bukkit.event.player.PlayerMoveEvent
*/
PLAYER_MOVE (Category.PLAYER),
/**
* Called before a player gets a velocity vector sent, which will instruct him to
* get "pushed" into a specific direction, e.g. after an explosion
*
* @see org.bukkit.event.player.PlayerVelocityEvent
*/
PLAYER_VELOCITY (Category.PLAYER),
/**
* Called when a player undergoes an animation (Arm Swing is the only animation currently supported)
*