apply

@NotNull
open fun apply(@NotNull tracker: @NotNull Tracker): @NotNull ModelRotation

Applies the rotator to a tracker with default rotation.

Return

the calculated rotation

Since

1.15.2

Parameters

tracker

the tracker


@NotNull
abstract fun apply(@NotNull tracker: @NotNull Tracker, @NotNull rotation: @NotNull ModelRotation): @NotNull ModelRotation

Applies the rotator to a tracker with a base rotation.

Return

the calculated rotation

Since

1.15.2

Parameters

tracker

the tracker

rotation

the base rotation