BaseBukkitEntity

interface BaseBukkitEntity : BaseEntity, PersistentDataHolder

Represents a Bukkit-specific entity adapter.

This interface extends BaseEntity and PersistentDataHolder to provide access to the underlying Bukkit entity and its persistent data container.

Since

2.0.0

Inheritors

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 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 Entity
Returns the underlying Bukkit entity.
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.
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.
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.
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
Link copied to clipboard
open fun registry(): @NotNull Optional<EntityTrackerRegistry>
Link copied to clipboard
abstract fun scale(): Double
Link copied to clipboard
abstract fun trackedBy(): @NotNull Stream<PlatformPlayer>
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