EntityTracker
Constructors
Link copied to clipboard
@ApiStatus.Internal
Creates entity tracker
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, modifier: AnimationModifier, removeTask: Runnable): Boolean
Players this animation by once
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
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 whether this model is playing single animation.
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
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
Replaces some animation by loop
Link copied to clipboard
Gets model rotation.
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
Gets tracker
Get or creates tracker
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.