Added PlayerInteractEntityEvent which fires when a player right clicks an entity. Thanks fullwall!

By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
Bukkit/Spigot
2011-05-02 04:30:10 -04:00
parent 33d8037626
commit 03ff88b71d
4 changed files with 68 additions and 0 deletions

View File

@@ -232,6 +232,13 @@ public abstract class Event implements Serializable {
*/
PLAYER_INTERACT (Category.PLAYER),
/**
* Called when a player right clicks an entity
*
* @see org.bukkit.event.player.PlayerInteractEntityEvent
*/
PLAYER_INTERACT_ENTITY (Category.PLAYER),
/**
* Called when a player throws an egg and it might hatch
*