BukkitPlayer

Represents a Bukkit player wrapped as a PlatformPlayer.

Since

2.0.0

Constructors

Link copied to clipboard
constructor(@NotNull source: @NotNull Player)
Creates a new BukkitPlayer wrapper.

Functions

Link copied to clipboard
@NotNull
open fun eyeLocation(): @NotNull PlatformLocation
abstract fun eyeLocation(): @NotNull PlatformLocation
Link copied to clipboard
@NotNull
open fun location(): @NotNull PlatformLocation
abstract fun location(): @NotNull PlatformLocation
Link copied to clipboard
@NotNull
open fun name(): @NotNull String
Link copied to clipboard
open fun registry(): @NotNull Optional<EntityTrackerRegistry>
Link copied to clipboard
open fun source(): Entity
Returns the underlying Bukkit entity.
@NotNull
open fun source(): @NotNull Player
Returns the underlying Bukkit player.
Link copied to clipboard
open fun task(runnable: @NotNull Runnable): @Nullable ModelTask
Link copied to clipboard
open fun taskLater(delay: Long, runnable: @NotNull Runnable): @Nullable ModelTask
Link copied to clipboard
open fun tracker(name: @NotNull String): @NotNull Optional<EntityTracker>
Link copied to clipboard
@NotNull
open fun uuid(): @NotNull UUID
abstract fun uuid(): @NotNull UUID