PlayerTracker
Player tracker
Constructors
Link copied to clipboard
@ApiStatus.Internal
Creates player tracker
Functions
Link copied to clipboard
open fun animateLoop(@NotNull animation: String, modifier: AnimationModifier, removeTask: Runnable): Boolean
open fun animateLoop(@NotNull filter: Predicate<RenderedBone>, @NotNull animation: String, modifier: AnimationModifier, removeTask: Runnable): Boolean
Players this animation by loop
Link copied to clipboard
open fun animateSingle(@NotNull animation: String, modifier: AnimationModifier, removeTask: Runnable): Boolean
open fun animateSingle(@NotNull filter: Predicate<RenderedBone>, @NotNull animation: String, modifier: AnimationModifier, removeTask: Runnable): Boolean
Players this animation by once
Link copied to clipboard
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 tracker can be spawned at this player's client
Link copied to clipboard
open fun createHitBox(@NotNull predicate: Predicate<RenderedBone>, @NotNull listener: 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
Forces packet update.
Link copied to clipboard
Checks this tracker is for removal
Marks this tracker will be removed by future
Link copied to clipboard
Runs consumer on frame.
Link copied to clipboard
Gets whether this model is playing single animation.
Link copied to clipboard
open fun itemStack(@NotNull predicate: BonePredicate, @NotNull itemStack: TransformedItemStack): Boolean
Sets item of some model part
Link copied to clipboard
Link copied to clipboard
Gets amount of viewed players.
Link copied to clipboard
open fun replaceLoop(@NotNull filter: Predicate<RenderedBone>, @NotNull target: String, @NotNull animation: String): Boolean
Replaces some animation by loop
Link copied to clipboard
open fun replaceSingle(@NotNull filter: Predicate<RenderedBone>, @NotNull target: String, @NotNull animation: String): Boolean
Replaces some animation by once
Link copied to clipboard
Gets model rotation.
Link copied to clipboard
Sets tracker movement.
Link copied to clipboard
Spawns this tracker ranged by view distance
Link copied to clipboard
Stops some animation
Link copied to clipboard
Runs consumer on tick.
Link copied to clipboard
Toggles some part
Link copied to clipboard
Gets tracker
Get or creates tracker
Link copied to clipboard
Gets viewed players.