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
,PlayerBucketEvent
,PlayerChangedMainHandEvent
,PlayerChangedWorldEvent
,PlayerChannelEvent
,PlayerChatEvent
,PlayerChatTabCompleteEvent
,PlayerCommandPreprocessEvent
,PlayerCommandSendEvent
,PlayerDropItemEvent
,PlayerEditBookEvent
,PlayerEggThrowEvent
,PlayerExpChangeEvent
,PlayerFishEvent
,PlayerGameModeChangeEvent
,PlayerHarvestBlockEvent
,PlayerInteractEntityEvent
,PlayerInteractEvent
,PlayerItemBreakEvent
,PlayerItemConsumeEvent
,PlayerItemDamageEvent
,PlayerItemHeldEvent
,PlayerItemMendEvent
,PlayerJoinEvent
,PlayerKickEvent
,PlayerLevelChangeEvent
,PlayerLocaleChangeEvent
,PlayerLoginEvent
,PlayerMoveEvent
,PlayerPickupItemEvent
,PlayerQuitEvent
,PlayerRecipeDiscoverEvent
,PlayerResourcePackStatusEvent
,PlayerRespawnEvent
,PlayerRiptideEvent
,PlayerShearEntityEvent
,PlayerSpawnLocationEvent
,PlayerStatisticIncrementEvent
,PlayerSwapHandItemsEvent
,PlayerTakeLecternBookEvent
,PlayerToggleFlightEvent
,PlayerToggleSneakEvent
,PlayerToggleSprintEvent
,PlayerVelocityEvent
public abstract class PlayerEvent extends Event
Represents a player related event
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlayerEvent(Player who)
-
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
getPlayer
Returns the player involved in this event- Returns:
- Player who is involved in this event
-