TrackerData
Represents the persistent data state of a tracker.
This record holds configuration and state information such as model ID, scaling, rotation, and visibility options, which can be serialized to JSON.
Since
1.15.2
Parameters
id
the model ID
scaler
the model scaler
rotator
the model rotator
modifier
the tracker modifier
bodyRotator
the body rotation data
hideOption
the entity hide options
markForSpawn
the set of player UUIDs marked for spawning
Properties
Functions
Link copied to clipboard
Applies this data to an existing entity tracker.
Link copied to clipboard
Returns the body rotation data, or default body rotation data if not specified.
Link copied to clipboard
Deserializes tracker data from a JSON element.
Link copied to clipboard
Returns the entity hide option, or the default hide option if not specified.
Link copied to clipboard
Returns the set of player UUIDs marked for spawning, or an empty set if not specified.
Link copied to clipboard
Returns the model rotator, or a default YAW rotator if not specified.
Link copied to clipboard
Returns the model scaler, or a default entity scaler if not specified.