DisplayTransformer

Handles the transformation (position, scale, rotation) of a display entity.

This interface abstracts the interpolation logic for smooth animations.

Since

1.15.2

Functions

Link copied to clipboard
abstract fun sendTransformation(@NotNull bundler: @NotNull PacketBundler)
Sends the current transformation state to clients.
Link copied to clipboard
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.