DummyTracker
No tracking tracker.
Constructors
Link copied to clipboard
constructor(@NotNull location: @NotNull Location, @NotNull pipeline: @NotNull RenderPipeline, @NotNull modifier: @NotNull TrackerModifier, @NotNull preUpdateConsumer: @NotNull Consumer<DummyTracker>)
Dummy tracker.
Properties
Functions
Link copied to clipboard
open fun animate(@NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier): Boolean
open fun animate(@NotNull animation: @NotNull BlueprintAnimation, @NotNull modifier: @NotNull AnimationModifier): Boolean
open fun animate(@NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier, @NotNull removeTask: @NotNull Runnable): Boolean
open fun animate(@NotNull animation: @NotNull BlueprintAnimation, @NotNull modifier: @NotNull AnimationModifier, @NotNull removeTask: @NotNull 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 String, @NotNull modifier: @NotNull AnimationModifier, @NotNull eventHandler: @NotNull AnimationEventHandler): Boolean
open fun animate(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull animation: @NotNull BlueprintAnimation, @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 eventHandler: @NotNull AnimationEventHandler): 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
open fun createHitBox(@NotNull entity: @NotNull EntityAdapter, @Nullable listener: @Nullable HitBoxListener, @NotNull predicate: @NotNull BonePredicate): Boolean
Creates hitbox based on some entity
Link copied to clipboard
open fun createNametag(@NotNull predicate: @NotNull BonePredicate, @NotNull consumer: @NotNull BiConsumer<RenderedBone, ModelNametag>): Boolean
Creates nametag
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 future will remove this tracker
Link copied to clipboard
Runs consumer on frame.
Link copied to clipboard
Link copied to clipboard
@Nullable
Get or creates model's hitbox
Link copied to clipboard
Returns this model is being scheduled.
Link copied to clipboard
Gets tracker modifier
Link copied to clipboard
Runs consumer on tick per player.
Link copied to clipboard
Gets number of viewed players.
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): Boolean
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
open fun stopAnimation(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull animation: @NotNull String): Boolean
open fun stopAnimation(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull animation: @NotNull String, @Nullable player: @Nullable Player): Boolean
Stops some animation
Link copied to clipboard
Runs consumer on tick.
Link copied to clipboard
open fun tryUpdate(@NotNull action: @NotNull BiPredicate<RenderedBone, BonePredicate>, @NotNull predicate: @NotNull BonePredicate): Boolean
Update data of this tracker.
Link copied to clipboard
open fun <T : TrackerUpdateAction?> update(@NotNull action: @NotNull T, @NotNull predicate: @NotNull Predicate<RenderedBone>)
open fun <T : TrackerUpdateAction?> update(@NotNull action: @NotNull T, @NotNull predicate: @NotNull BonePredicate)
Forces update of this tracker.
Link copied to clipboard
Gets viewed players.