PlayerTracker
Player tracker
Constructors
Link copied to clipboard
@ApiStatus.Internal
Creates player tracker
Properties
Functions
Link copied to clipboard
open fun animate(@NotNull animation: @NotNull String, modifier: AnimationModifier, removeTask: Runnable): Boolean
open fun animate(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier, @NotNull removeTask: @NotNull Runnable): Boolean
open fun animate(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull animation: @NotNull BlueprintAnimation, @NotNull modifier: @NotNull AnimationModifier, @NotNull removeTask: @NotNull Runnable)
Players this animation by once
Link copied to clipboard
Link copied to clipboard
open fun billboard(@NotNull predicate: @NotNull BonePredicate, @NotNull billboard: @NotNull Display.Billboard): Boolean
Sets billboard of some model part
Link copied to clipboard
@Nullable
Gets bone by bone's name
Link copied to clipboard
Gets all bones
Link copied to clipboard
Sets brightness of some model part
Link copied to clipboard
Checks this model can be spawned at given player
Link copied to clipboard
Cancels damage tint task
Link copied to clipboard
open fun createHitBox(@NotNull predicate: @NotNull Predicate<RenderedBone>, @NotNull listener: @NotNull HitBoxListener)
Creates hit-box
Link copied to clipboard
Applies damage tint
Link copied to clipboard
Gets damage tint value
Sets damage tint value
Link copied to clipboard
Gets all model displays
Link copied to clipboard
Sets enchantment of some model part
Link copied to clipboard
Forces packet update.
Link copied to clipboard
Checks this tracker is for removal
Marks future will remove this tracker
Link copied to clipboard
Runs consumer on frame.
Link copied to clipboard
Link copied to clipboard
Gets head rotation property
Link copied to clipboard
Link copied to clipboard
Gets whether this model is playing single animation.
Link copied to clipboard
Returns this model is being scheduled.
Link copied to clipboard
open fun itemStack(@NotNull predicate: @NotNull BonePredicate, @NotNull itemStack: @NotNull TransformedItemStack): Boolean
Sets item of some model part
Link copied to clipboard
Locks model rotation.
Link copied to clipboard
Marks specific player for spawning
Link copied to clipboard
Gets tracker modifier
Link copied to clipboard
Sets move duration of this model.
Link copied to clipboard
Gets number of viewed players.
Link copied to clipboard
Gets registry.
Link copied to clipboard
Gets the renderer of this tracker
Link copied to clipboard
open fun replace(@NotNull target: @NotNull String, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier): Boolean
open fun replace(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull target: @NotNull String, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier): Boolean
open fun replace(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull target: @NotNull String, @NotNull animation: @NotNull BlueprintAnimation, @NotNull modifier: @NotNull AnimationModifier)
Replaces some animation by loop
Link copied to clipboard
Gets model rotation.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Schedules some task.
Link copied to clipboard
Gets source entity
Link copied to clipboard
open fun stopAnimation(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull animation: @NotNull String)
Stops some animation
Link copied to clipboard
Runs consumer on tick.
Link copied to clipboard
Toggles some part
Link copied to clipboard
Unmarks specific player for spawning
Link copied to clipboard
Syncs this tracker to base entity's data.
Link copied to clipboard
Updates item
Link copied to clipboard
Gets viewed players.