TrackerUpdateAction

Represents an action that updates the state of a RenderedBone.

Actions can modify display properties like brightness, glow, item stack, and more. They are applied to bones matching a specific predicate.

Since

1.15.2

Inheritors

Types

Link copied to clipboard
Action to update the billboard constraint.
Link copied to clipboard
Action to update brightness.
Link copied to clipboard
Composite action.
Link copied to clipboard
Action to update enchantment glint.
Link copied to clipboard
Action to update glow status.
Link copied to clipboard
Action to update glow color.
Link copied to clipboard
Action to update item mapping.
Link copied to clipboard
Action to update the item stack.
Link copied to clipboard
Action to update movement duration.
Link copied to clipboard
No-op action.
Link copied to clipboard
Per-bone dynamic action.
Link copied to clipboard
Action to revert to previous tint.
Link copied to clipboard
Action to apply a tint color.
Link copied to clipboard
Action to toggle part visibility.
Link copied to clipboard
Action to update view range.

Functions

Link copied to clipboard
open fun and(other: BiPredicate<in T, in U>): BiPredicate<T, U>
Link copied to clipboard
@NotNull
open fun billboard(@NotNull billboard: @NotNull PlatformBillboard): @NotNull TrackerUpdateAction.Billboard
Creates an action to set the billboard constraint.
Link copied to clipboard
@NotNull
open fun brightness(block: Int, sky: Int): @NotNull TrackerUpdateAction.Brightness
Creates an action to update display brightness.
Link copied to clipboard
@NotNull
open fun composite(@NotNull actions: Array<@NotNull TrackerUpdateAction>): @NotNull TrackerUpdateAction
Combines multiple actions into a single composite action.
Link copied to clipboard
@NotNull
open fun enchant(enchant: Boolean): @NotNull TrackerUpdateAction.Enchant
Creates an action to toggle the enchanted glint effect.
Link copied to clipboard
@NotNull
open fun glow(glow: Boolean): @NotNull TrackerUpdateAction.Glow
Creates an action to toggle the glowing effect.
Link copied to clipboard
@NotNull
open fun glowColor(glowColor: Int): @NotNull TrackerUpdateAction.GlowColor
Creates an action to set the glow color.
Link copied to clipboard
@NotNull
open fun itemMapping(): @NotNull TrackerUpdateAction.ItemMapping
Creates an action to update the item mapping.
Link copied to clipboard
@NotNull
open fun itemStack(@NotNull itemStack: @NotNull TransformedItemStack): @NotNull TrackerUpdateAction.ItemStack
Creates an action to update the displayed item stack.
Link copied to clipboard
@NotNull
open fun moveDuration(moveDuration: Int): @NotNull TrackerUpdateAction.MoveDuration
Creates an action to set the movement interpolation duration.
Link copied to clipboard
open fun negate(): BiPredicate<T, U>
Link copied to clipboard
@NotNull
open fun none(): @NotNull TrackerUpdateAction.None
Returns a no-op action.
Link copied to clipboard
open fun or(other: BiPredicate<in T, in U>): BiPredicate<T, U>
Link copied to clipboard
@NotNull
open fun perBone(@NotNull builder: @NotNull (RenderedBone) -> TrackerUpdateAction): @NotNull TrackerUpdateAction.PerBone
Creates an action that generates a specific action for each bone.
Link copied to clipboard
@NotNull
open fun previousTint(): @NotNull TrackerUpdateAction.PreviousTint
Creates an action to revert to the previous tint.
Link copied to clipboard
@NotNull
open fun stream(): @NotNull Stream<TrackerUpdateAction>
Returns a stream of actions (useful for flattening composites).
Link copied to clipboard
abstract fun test(@NotNull bone: @NotNull RenderedBone, @NotNull predicate: @NotNull BonePredicate): Boolean
Applies the action to a bone if it matches the predicate.
Link copied to clipboard
@NotNull
open fun then(@NotNull action: @NotNull TrackerUpdateAction): @NotNull TrackerUpdateAction
Chains this action with another action.
Link copied to clipboard
@NotNull
open fun tint(rgb: Int): @NotNull TrackerUpdateAction.Tint
Creates an action to apply a tint color.
Link copied to clipboard
@NotNull
open fun togglePart(toggle: Boolean): @NotNull TrackerUpdateAction.TogglePart
Creates an action to toggle the visibility of a part.
Link copied to clipboard
@NotNull
open fun viewRange(viewRange: Float): @NotNull TrackerUpdateAction.ViewRange
Creates an action to set the view range.