BaseBukkitPlayer

Represents a Bukkit-specific player adapter.

This interface extends BaseBukkitEntity and BasePlayer to provide access to the underlying Bukkit player.

Since

2.0.0

Properties

Link copied to clipboard
@NotNull
val TRACKING_ID: @NotNull NamespacedKey
The namespaced key used for storing tracker data in the entity's persistent data container.

Functions

Link copied to clipboard
abstract fun armors(): @NotNull PlayerArmor
Link copied to clipboard
abstract fun bodyYaw(): Float
Link copied to clipboard
abstract fun customName(): @Nullable Component
Link copied to clipboard
abstract fun damageTick(): Float
Link copied to clipboard
abstract fun dead(): Boolean
Link copied to clipboard
@NotNull
open fun entity(): @NotNull Player
Returns the underlying Bukkit player.
Link copied to clipboard
abstract fun fly(): Boolean
Link copied to clipboard
abstract fun getPersistentDataContainer(): PersistentDataContainerView
abstract fun getPersistentDataContainer(): @NotNull PersistentDataContainer
Link copied to clipboard
abstract fun glow(): Boolean
Link copied to clipboard
abstract fun ground(): Boolean
Link copied to clipboard
abstract fun handle(): @NotNull Any
Link copied to clipboard
Link copied to clipboard
open fun hasModelData(): Boolean
Link copied to clipboard
abstract fun headYaw(): Float
Link copied to clipboard
abstract fun id(): Int
Link copied to clipboard
abstract fun invisible(): Boolean
Link copied to clipboard
open fun location(): @NotNull PlatformLocation
Link copied to clipboard
@NotNull
open fun mainHand(): @NotNull TransformedItemStack
Returns the item in the entity's main hand.
abstract fun mainHand(): @NotNull TransformedItemStack
Link copied to clipboard
@Nullable
open fun modelData(): @Nullable String
Retrieves the model data stored in the entity's persistent data container.
open fun modelData(@Nullable modelData: @Nullable String)
Stores the model data in the entity's persistent data container.
abstract fun modelData(): @Nullable String
abstract fun modelData(p: @Nullable String)
Link copied to clipboard
open fun of(entity: @NotNull PlatformEntity): @NotNull BaseEntity
Link copied to clipboard
@NotNull
open fun offHand(): @NotNull TransformedItemStack
Returns the item in the entity's offhand.
abstract fun offHand(): @NotNull TransformedItemStack
Link copied to clipboard
abstract fun onWalk(): Boolean
Link copied to clipboard
abstract fun passengerPosition(p: @NotNull Vector3f): @NotNull Vector3f
Link copied to clipboard
abstract fun pitch(): Float
Link copied to clipboard
abstract fun platform(): @NotNull PlatformEntity
abstract fun platform(): @NotNull PlatformPlayer
Link copied to clipboard
abstract fun profile(): @NotNull ModelProfile
Link copied to clipboard
open fun registry(): @NotNull Optional<EntityTrackerRegistry>
Link copied to clipboard
abstract fun scale(): Double
Link copied to clipboard
abstract fun skinParts(): @NotNull PlayerSkinParts
Link copied to clipboard
abstract fun trackedBy(): @NotNull Stream<PlatformPlayer>
Link copied to clipboard
abstract fun updateInventory()
Link copied to clipboard
abstract fun uuid(): @NotNull UUID
Link copied to clipboard
abstract fun walkSpeed(): Float
Link copied to clipboard
abstract fun yaw(): Float