BaseBukkitPlayer

An adapter of bukkit player

Functions

Link copied to clipboard
@NotNull
abstract fun armors(): @NotNull PlayerArmor
Gets player armor
Link copied to clipboard
abstract fun bodyYaw(): Float
Gets entity's body yaw (y-rot)
Link copied to clipboard
@Nullable
abstract fun customName(): @Nullable Component
Gets custom name of this entity
Link copied to clipboard
abstract fun damageTick(): Float
Gets entity's damage tick
Link copied to clipboard
abstract fun dead(): Boolean
Checks source entity is dead
Link copied to clipboard
@NotNull
abstract fun entity(): @NotNull Entity
Gets source entity
Link copied to clipboard
abstract fun fly(): Boolean
Check source entity is on the fly
Link copied to clipboard
abstract fun getPersistentDataContainer(): PersistentDataContainerView
abstract fun getPersistentDataContainer(): @NotNull PersistentDataContainer
Link copied to clipboard
abstract fun glow(): Boolean
Check source entity is on a glow
Link copied to clipboard
abstract fun ground(): Boolean
Checks source entity is on the ground
Link copied to clipboard
@NotNull
abstract fun handle(): @NotNull Any
Gets vanilla entity
Link copied to clipboard
Checks this entity has controlling passenger
Link copied to clipboard
open fun hasModelData(): Boolean
Checks this entity has model data
Link copied to clipboard
abstract fun headYaw(): Float
Gets entity's yaw (y-rot)
Link copied to clipboard
abstract fun id(): Int
Gets entity id
Link copied to clipboard
abstract fun invisible(): Boolean
Checks source entity is invisible
Link copied to clipboard
abstract fun isSlim(): Boolean
Checks this player's skin is slim
Link copied to clipboard
@NotNull
abstract fun location(): @NotNull Location
Gets location
Link copied to clipboard
@NotNull
open fun mainHand(): @NotNull TransformedItemStack
Gets main hand item
Link copied to clipboard
@Nullable
open fun modelData(): @Nullable String
Gets this entity's model data
open fun modelData(@Nullable modelData: @Nullable String)
Sets this entity's model data
Link copied to clipboard
@NotNull
open fun offHand(): @NotNull TransformedItemStack
Gets offhand item
Link copied to clipboard
abstract fun onWalk(): Boolean
Check source entity is on a walk
Link copied to clipboard
@NotNull
abstract fun passengerPosition(): @NotNull Vector3f
Gets entity's passenger point
Link copied to clipboard
abstract fun pitch(): Float
Gets entity's pitch (x-rot)
Link copied to clipboard
@NotNull
abstract fun profile(): @NotNull GameProfile
Gets player game profile
Link copied to clipboard
@NotNull
open fun registry(): @NotNull Optional<EntityTrackerRegistry>
Gets tracker registry of this adapter
Link copied to clipboard
abstract fun scale(): Double
Gets entity's scale
Link copied to clipboard
@NotNull
abstract fun trackedBy(): @NotNull Stream<Player>
Gets tracked player set
Link copied to clipboard
abstract fun updateInventory()
Updates current inventory
Link copied to clipboard
@NotNull
abstract fun uuid(): @NotNull UUID
Gets entity uuid
Link copied to clipboard
abstract fun walkSpeed(): Float
Gets entity's walk speed