diff --git a/paper-api/src/main/java/org/bukkit/entity/Display.java b/paper-api/src/main/java/org/bukkit/entity/Display.java index bfdda8c060..bd7dfe80bf 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Display.java +++ b/paper-api/src/main/java/org/bukkit/entity/Display.java @@ -5,6 +5,7 @@ import org.bukkit.Color; import org.bukkit.util.Transformation; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; +import org.joml.Matrix4f; /** * Represents a display entity which is designed to only have a visual function. @@ -26,6 +27,13 @@ public interface Display extends Entity { */ public void setTransformation(@NotNull Transformation transformation); + /** + * Sets the raw transformation matrix applied to this display + * + * @param transformationMatrix the transformation matrix + */ + public void setTransformationMatrix(@NotNull Matrix4f transformationMatrix); + /** * Gets the interpolation duration of this display. *