Added painting events (thanks verrier and tanelsuurhans)

This commit is contained in:
Stephen
2011-04-11 23:06:34 -04:00
committed by Erik Broes
parent 51731221d0
commit a6c61782ac
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
*/