BukkitEntity

Represents a Bukkit entity wrapped as a PlatformEntity.

Since

2.0.0

Inheritors

Constructors

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

Functions

Link copied to clipboard
@NotNull
open fun location(): @NotNull PlatformLocation
Link copied to clipboard
open fun registry(): @NotNull Optional<EntityTrackerRegistry>
Link copied to clipboard
open fun source(): Entity
Returns the underlying Bukkit entity.
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