transform

abstract fun transform(duration: Int, @NotNull position: @NotNull Vector3f, @NotNull scale: @NotNull Vector3f, @NotNull rotation: @NotNull Quaternionf, @NotNull bundler: @NotNull AnimationBundler)

Applies a transformation to the display.

Since

1.15.2

Parameters

duration

the interpolation duration in ticks

position

the target position

scale

the target scale

rotation

the target rotation

bundler

the packet bundler to use