Added various 1.6 portal events.

By: Stephen <stephen@jazer.com>
This commit is contained in:
Bukkit/Spigot
2011-06-07 14:12:08 -04:00
parent b3c007d3a7
commit 2c4ba8815e
9 changed files with 150 additions and 0 deletions

View File

@@ -229,6 +229,12 @@ public abstract class Event implements Serializable {
* @see org.bukkit.event.player.PlayerMoveEvent
*/
PLAYER_TELEPORT (Category.PLAYER),
/**
* Called when a player completes the portaling process by standing in a portal
*
* @see org.bukkit.event.player.PlayerPortalEvent
*/
PLAYER_PORTAL (Category.PLAYER),
/**
* Called when a player changes their held item
*
@@ -483,6 +489,12 @@ public abstract class Event implements Serializable {
* Called when a World is unloaded
*/
WORLD_UNLOAD (Category.WORLD),
/**
* Called when world attempts to create a matching end to a portal
*
* @see org.bukkit.event.world.PortalCreateEvent
*/
PORTAL_CREATE (Category.WORLD),
/**
* ENTITY EVENTS
@@ -500,6 +512,12 @@ public abstract class Event implements Serializable {
* @see org.bukkit.event.painting.PaintingRemoveEvent
*/
PAINTING_BREAK (Category.ENTITY),
/**
* Called when an entity touches a portal block
*
* @see org.bukkit.event.entity.EntityPortalEnterEvent
*/
ENTITY_PORTAL_ENTER (Category.ENTITY),
/**
* LIVING_ENTITY EVENTS