Class PlayerEvent

java.lang.Object
net.risingworld.api.events.Event
net.risingworld.api.events.player.PlayerEvent
Direct Known Subclasses:
PlayerBanEvent, PlayerChangeBlockPositionEvent, PlayerChangeEquippedItemEvent, PlayerChangeGameModeEvent, PlayerChangePositionEvent, PlayerChangeScreenResolutionEvent, PlayerChangeStateEvent, PlayerChatEvent, PlayerCommandEvent, PlayerConnectEvent, PlayerConstructionEvent, PlayerConsumeItemEvent, PlayerCraftItemEvent, PlayerCreateAreaEvent, PlayerCreateBlueprintEvent, PlayerDamageEvent, PlayerDeathEvent, PlayerDisconnectEvent, PlayerDrinkWaterEvent, PlayerDropItemEvent, PlayerDropItemFromStorageEvent, PlayerElementCollisionEvent, PlayerElementHitEvent, PlayerElementInteractionEvent, PlayerEnterAreaEvent, PlayerEnterChunkEvent, PlayerEnterSectorEvent, PlayerEnterWorldPartEvent, PlayerGameObjectHitEvent, PlayerGameObjectInteractionEvent, PlayerHitItemEvent, PlayerHitPlayerEvent, PlayerIllegalStateEvent, PlayerInventoryAddItemEvent, PlayerInventoryItemEditEvent, PlayerInventoryMoveItemEvent, PlayerInventoryToStorageEvent, PlayerKeyEvent, PlayerKickEvent, PlayerLeaveAreaEvent, PlayerLocationTickerEvent, PlayerMouseButtonEvent, PlayerNpcEvent, PlayerObjectEvent, PlayerPermissionGroupChangeEvent, PlayerPickupItemEvent, PlayerPlaceBlueprintEvent, PlayerPlayerInteractionEvent, PlayerPrivateMessageEvent, PlayerProcessItemEvent, PlayerRespawnEvent, PlayerSetSignTextEvent, PlayerSetSpawnPointEvent, PlayerSpawnEvent, PlayerStartFishingEvent, PlayerStartFlyingEvent, PlayerStopFishingEvent, PlayerStopFlyingEvent, PlayerStorageMoveItemEvent, PlayerStorageToInventoryEvent, PlayerTakeOffClothesEvent, PlayerTeleportEvent, PlayerToggleInventoryEvent, PlayerUIElementClickEvent, PlayerUIInputTextEvent, PlayerUITextFieldChangeEvent, PlayerUpdateStatusEvent, PlayerVegetationEvent, PlayerVehicleEvent, PlayerWeaponFireEvent, PlayerWeaponReloadEvent, PlayerWearClothesEvent, PlayerWorldEditEvent, PlayGameMusicEvent

public abstract class PlayerEvent extends Event
Base class for all player events.
  • Constructor Details

    • PlayerEvent

      protected PlayerEvent(long pointer)
  • Method Details

    • getPlayer

      public Player getPlayer()
      Gets the player object (the player who triggered this event).
      Returns:
      the player who triggered this event.