Package org.bukkit.event.player
Class PlayerEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
- Direct Known Subclasses:
AbstractChatEvent
,AsyncPlayerChatEvent
,AsyncPlayerSendCommandsEvent
,AsyncPlayerSendSuggestionsEvent
,IllegalPacketEvent
,LootableInventoryReplenishEvent
,PlayerAdvancementCriterionGrantEvent
,PlayerAdvancementDoneEvent
,PlayerAnimationEvent
,PlayerArmorChangeEvent
,PlayerAttackEntityCooldownResetEvent
,PlayerAttemptPickupItemEvent
,PlayerBedEnterEvent
,PlayerBedFailEnterEvent
,PlayerBedLeaveEvent
,PlayerBucketEntityEvent
,PlayerBucketEvent
,PlayerChangeBeaconEffectEvent
,PlayerChangedMainHandEvent
,PlayerChangedWorldEvent
,PlayerChannelEvent
,PlayerChatEvent
,PlayerChatTabCompleteEvent
,PlayerClientOptionsChangeEvent
,PlayerCommandPreprocessEvent
,PlayerCommandSendEvent
,PlayerDeepSleepEvent
,PlayerDropItemEvent
,PlayerEditBookEvent
,PlayerEggThrowEvent
,PlayerElytraBoostEvent
,PlayerExpChangeEvent
,PlayerExpCooldownChangeEvent
,PlayerFailMoveEvent
,PlayerFishEvent
,PlayerFlowerPotManipulateEvent
,PlayerGameModeChangeEvent
,PlayerHarvestBlockEvent
,PlayerHideEntityEvent
,PlayerInsertLecternBookEvent
,PlayerInteractEntityEvent
,PlayerInteractEvent
,PlayerInventorySlotChangeEvent
,PlayerItemBreakEvent
,PlayerItemConsumeEvent
,PlayerItemCooldownEvent
,PlayerItemDamageEvent
,PlayerItemFrameChangeEvent
,PlayerItemHeldEvent
,PlayerItemMendEvent
,PlayerJoinEvent
,PlayerJumpEvent
,PlayerKickEvent
,PlayerLaunchProjectileEvent
,PlayerLecternPageChangeEvent
,PlayerLevelChangeEvent
,PlayerLinksSendEvent
,PlayerLocaleChangeEvent
,PlayerLoginEvent
,PlayerLoomPatternSelectEvent
,PlayerMoveEvent
,PlayerNameEntityEvent
,PlayerNaturallySpawnCreaturesEvent
,PlayerOpenSignEvent
,PlayerPickItemEvent
,PlayerPickupExperienceEvent
,PlayerPickupItemEvent
,PlayerPostRespawnEvent
,PlayerPurchaseEvent
,PlayerQuitEvent
,PlayerReadyArrowEvent
,PlayerRecipeBookClickEvent
,PlayerRecipeBookClickEvent
,PlayerRecipeBookSettingsChangeEvent
,PlayerRecipeDiscoverEvent
,PlayerResourcePackStatusEvent
,PlayerRespawnEvent
,PlayerRiptideEvent
,PlayerSetSpawnEvent
,PlayerShearBlockEvent
,PlayerShearEntityEvent
,PlayerShieldDisableEvent
,PlayerShowEntityEvent
,PlayerSignOpenEvent
,PlayerSpawnChangeEvent
,PlayerSpawnLocationEvent
,PlayerStartSpectatingEntityEvent
,PlayerStatisticIncrementEvent
,PlayerStonecutterRecipeSelectEvent
,PlayerStopSpectatingEntityEvent
,PlayerStopUsingItemEvent
,PlayerSwapHandItemsEvent
,PlayerTakeLecternBookEvent
,PlayerToggleFlightEvent
,PlayerToggleSneakEvent
,PlayerToggleSprintEvent
,PlayerTrackEntityEvent
,PlayerUntrackEntityEvent
,PlayerUseUnknownEntityEvent
,PlayerVelocityEvent
,PrePlayerAttackEntityEvent
Represents a player related event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPlayerEvent
(@NotNull Player who) PlayerEvent
(@NotNull Player who, boolean async) -
Method Summary
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, getHandlers, isAsynchronous
-
Field Details
-
player
-
-
Constructor Details
-
PlayerEvent
-
PlayerEvent
-
-
Method Details
-
getPlayer
Returns the player involved in this event- Returns:
- Player who is involved in this event
-