ModPlayer

Represents a Mod player wrapped as a PlatformPlayer.

Since

2.0.0

Parameters

source

the source NMS player connection

Constructors

Link copied to clipboard
@ApiStatus.Internal
constructor(@NotNull source: @NotNull ServerPlayerConnection)

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
@NotNull
open fun eyeLocation(): @NotNull PlatformLocation
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun location(): @NotNull PlatformLocation
Link copied to clipboard
@NotNull
open fun name(): @NotNull String
Link copied to clipboard
@NotNull
open fun of(@NotNull source: @NotNull ServerPlayerConnection): @NotNull ModPlayer
Creates a ModPlayer from the source.
Link copied to clipboard
open fun registry(): @NotNull Optional<EntityTrackerRegistry>
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
abstract fun toString(): String
Link copied to clipboard
open fun tracker(name: @NotNull String): @NotNull Optional<EntityTracker>
Link copied to clipboard
@NotNull
open fun uuid(): @NotNull UUID