ModelRotator
Defines how a model's rotation is calculated and applied.
Rotators can modify the base rotation (e.g., only applying yaw, smoothing rotation) and can be chained together.
Since
1.15.2
Inheritors
Types
Link copied to clipboard
Helper interface for built-in deserializers.
Link copied to clipboard
class Deserializer
Registry and factory for rotators.
Link copied to clipboard
Implementation of a chained rotator.
Properties
Functions
Link copied to clipboard
Applies the rotator to a tracker with default rotation.
@NotNull
Applies the rotator to a tracker with a base rotation.
Link copied to clipboard
Deserializes a rotator from a JSON object.
Link copied to clipboard
Creates a lazy rotator that smooths rotation over time.
Link copied to clipboard
Returns the root rotator in the chain.
Link copied to clipboard
Returns the source rotator if this is a chained rotator.
Link copied to clipboard
Chains this rotator with another one.