TrackerModifier

Configuration options for a Tracker.

This record controls various behaviors such as visibility checks (sight trace), automatic damage animations, and damage tinting effects.

Since

1.15.2

Parameters

sightTrace

whether to perform sight tracing for visibility

damageAnimation

whether to play automatic damage animations

damageTint

whether to apply a red tint when damaged

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Builder
Builder for TrackerModifier.

Properties

Link copied to clipboard
The default modifier configuration (all enabled).

Functions

Link copied to clipboard
@NotNull
open fun builder(): @NotNull TrackerModifier.Builder
Creates a new builder initialized with default values.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun toBuilder(): @NotNull TrackerModifier.Builder
Creates a new builder initialized with this modifier's values.
Link copied to clipboard
abstract fun toString(): String