org.bukkit.event.player
Class PlayerEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
- Direct Known Subclasses:
- AsyncPlayerChatEvent, PlayerAnimationEvent, PlayerBedEnterEvent, PlayerBedLeaveEvent, PlayerBucketEvent, PlayerChangedWorldEvent, PlayerChannelEvent, PlayerChatEvent, PlayerChatTabCompleteEvent, PlayerCommandPreprocessEvent, PlayerDropItemEvent, PlayerEditBookEvent, PlayerEggThrowEvent, PlayerExpChangeEvent, PlayerFishEvent, PlayerGameModeChangeEvent, PlayerInteractEntityEvent, PlayerInteractEvent, PlayerInventoryEvent, PlayerItemBreakEvent, PlayerItemConsumeEvent, PlayerItemHeldEvent, PlayerJoinEvent, PlayerKickEvent, PlayerLevelChangeEvent, PlayerLoginEvent, PlayerMoveEvent, PlayerPickupItemEvent, PlayerQuitEvent, PlayerRespawnEvent, PlayerShearEntityEvent, PlayerToggleFlightEvent, PlayerToggleSneakEvent, PlayerToggleSprintEvent, PlayerVelocityEvent
public abstract class PlayerEvent
- extends Event
Represents a player related event
Method Summary |
Player |
getPlayer()
Returns the player involved in this event |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
player
protected Player player
PlayerEvent
public PlayerEvent(Player who)
getPlayer
public final Player getPlayer()
- Returns the player involved in this event
- Returns:
- Player who is involved in this event
Copyright © 2013. All Rights Reserved.