BasePlayer

A basic implementation of Entity wrapping a kr.toxicity.model.api.entity.BasePlayer.

Since

1.15.2

Parameters

entity

the player entity

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
open fun armors(): @NotNull PlayerArmor
Returns the armor equipment of the entity.
Link copied to clipboard
@NotNull
open fun completeContext(): @NotNull CompletableFuture<BoneRenderContext>
Asynchronously completes the bone render context for this source.
Link copied to clipboard
@NotNull
open fun create(@NotNull pipeline: @NotNull RenderPipeline, @NotNull modifier: @NotNull TrackerModifier, @NotNull preUpdateConsumer: @NotNull Consumer<EntityTracker>): @NotNull EntityTracker
Creates a new tracker for this render source.
Link copied to clipboard
@NotNull
abstract fun entity(): @NotNull BaseEntity
Returns the entity associated with this source.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
Returns a fallback bone render context.
Link copied to clipboard
@NotNull
open fun getOrCreate(@NotNull name: @NotNull String, @NotNull supplier: @NotNull Supplier<RenderPipeline>, @NotNull modifier: @NotNull TrackerModifier, @NotNull preUpdateConsumer: @NotNull Consumer<EntityTracker>): @NotNull EntityTracker
Gets or creates an entity tracker for this source.
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun location(): @NotNull PlatformLocation
Returns the location of this render source.
Link copied to clipboard
@ApiStatus.Internal
@NotNull
open fun of(@NotNull entity: @NotNull BaseEntity): @NotNull RenderSource.Entity
Creates an entity render source for the given entity.
@ApiStatus.Internal
@NotNull
open fun of(@NotNull location: @NotNull PlatformLocation): @NotNull RenderSource.Dummy
Creates a dummy render source at the specified location.
@ApiStatus.Internal
@NotNull
open fun of(@NotNull entity: @NotNull BaseEntity, @NotNull profile: @NotNull ModelProfile.Uncompleted): @NotNull RenderSource.Entity
Creates an entity render source for the given entity with a specific model profile.
@ApiStatus.Internal
@NotNull
open fun of(@NotNull location: @NotNull PlatformLocation, @NotNull profile: @NotNull ModelProfile.Uncompleted): @NotNull RenderSource.Dummy
Creates a dummy render source at the specified location with a specific model profile.
Link copied to clipboard
@NotNull
open fun profile(): @NotNull ModelProfile
Returns the model profile (skin) of the entity.
Link copied to clipboard
@NotNull
open fun skinParts(): @NotNull PlayerSkinParts
Returns the skin customization parts (e.g., jacket, hat) of the entity.
Link copied to clipboard
abstract fun toString(): String