Class PlayerEvent

java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.player.PlayerEvent
Direct Known Subclasses:
PlayerAchievementAwardedEvent, PlayerAnimationEvent, PlayerAsyncPreLoginEvent, PlayerBedEnterEvent, PlayerBedLeaveEvent, PlayerBlockPickEvent, PlayerBucketEmptyEvent, PlayerBucketFillEvent, PlayerChangeSkinEvent, PlayerChunkRequestEvent, PlayerDialogRespondedEvent, PlayerDropItemEvent, PlayerEatFoodEvent, PlayerEditBookEvent, PlayerExperienceChangeEvent, PlayerFishEvent, PlayerFoodLevelChangeEvent, PlayerFormRespondedEvent, PlayerFreezeEvent, PlayerGameModeChangeEvent, PlayerGlassBottleFillEvent, PlayerInteractEntityEvent, PlayerInteractEvent, PlayerInvalidMoveEvent, PlayerItemConsumeEvent, PlayerItemHeldEvent, PlayerJoinEvent, PlayerJumpEvent, PlayerKickEvent, PlayerLocallyInitializedEvent, PlayerLoginEvent, PlayerMapInfoRequestEvent, PlayerMessageEvent, PlayerMouseOverEntityEvent, PlayerMoveEvent, PlayerPreLoginEvent, PlayerQuitEvent, PlayerRespawnEvent, PlayerServerSettingsRequestEvent, PlayerSettingsRespondedEvent, PlayerShowCreditsEvent, PlayerTeleportEvent, PlayerToggleFlightEvent, PlayerToggleGlideEvent, PlayerToggleSneakEvent, PlayerToggleSpinAttackEvent, PlayerToggleSprintEvent, PlayerToggleSwimEvent

public abstract class PlayerEvent extends Event
Author:
MagicDroidX (Nukkit Project)
  • Field Details

    • player

      protected Player player
  • Constructor Details

    • PlayerEvent

      public PlayerEvent()
  • Method Details

    • getPlayer

      public Player getPlayer()