Added painting events (thanks verrier and tanelsuurhans)

By: Stephen <stephen@jazer.com>
This commit is contained in:
Bukkit/Spigot
2011-04-11 23:06:34 -04:00
parent 314c53177e
commit 08decac14e
8 changed files with 232 additions and 2 deletions

View File

@@ -91,7 +91,12 @@ public abstract class Event implements Serializable {
* @see Category.LIVING_ENTITY
*/
PLAYER,
/**
* Represents Entity-based events
*/
ENTITY,
/**
* Represents Block-based events
*/
@@ -500,6 +505,24 @@ public abstract class Event implements Serializable {
*/
WORLD_LOAD (Category.WORLD),
/**
* ENTITY EVENTS
*/
/**
* Called when a painting is placed by player
*
* @see org.bukkit.event.painting.PaintingCreateEvent
*/
PAINTING_PLACE (Category.ENTITY),
/**
* Called when a painting is removed
*
* @see org.bukkit.event.painting.PaintingRemoveEvent
*/
PAINTING_BREAK (Category.ENTITY),
/**
* LIVING_ENTITY EVENTS
*/