Package org.bukkit.event.player
Class PlayerEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
- Direct Known Subclasses:
AsyncPlayerChatEvent
,PlayerAdvancementDoneEvent
,PlayerAnimationEvent
,PlayerBedEnterEvent
,PlayerBedLeaveEvent
,PlayerBucketEntityEvent
,PlayerBucketEvent
,PlayerChangedMainHandEvent
,PlayerChangedWorldEvent
,PlayerChannelEvent
,PlayerChatEvent
,PlayerChatTabCompleteEvent
,PlayerCommandPreprocessEvent
,PlayerCommandSendEvent
,PlayerDropItemEvent
,PlayerEditBookEvent
,PlayerEggThrowEvent
,PlayerExpChangeEvent
,PlayerExpCooldownChangeEvent
,PlayerFishEvent
,PlayerGameModeChangeEvent
,PlayerHarvestBlockEvent
,PlayerHideEntityEvent
,PlayerInteractEntityEvent
,PlayerInteractEvent
,PlayerItemBreakEvent
,PlayerItemConsumeEvent
,PlayerItemDamageEvent
,PlayerItemHeldEvent
,PlayerItemMendEvent
,PlayerJoinEvent
,PlayerKickEvent
,PlayerLevelChangeEvent
,PlayerLinksSendEvent
,PlayerLocaleChangeEvent
,PlayerLoginEvent
,PlayerMoveEvent
,PlayerPickupItemEvent
,PlayerQuitEvent
,PlayerRecipeBookClickEvent
,PlayerRecipeBookSettingsChangeEvent
,PlayerRecipeDiscoverEvent
,PlayerResourcePackStatusEvent
,PlayerRespawnEvent
,PlayerRiptideEvent
,PlayerShearEntityEvent
,PlayerShowEntityEvent
,PlayerSignOpenEvent
,PlayerSpawnChangeEvent
,PlayerSpawnLocationEvent
,PlayerStatisticIncrementEvent
,PlayerSwapHandItemsEvent
,PlayerTakeLecternBookEvent
,PlayerToggleFlightEvent
,PlayerToggleSneakEvent
,PlayerToggleSprintEvent
,PlayerVelocityEvent
Represents a player related event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
-
Field Details
-
player
-
-
Constructor Details
-
PlayerEvent
-
-
Method Details
-
getPlayer
Returns the player involved in this event- Returns:
- Player who is involved in this event
-