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 bd7dfe80bf..2b6f0c627a 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Display.java +++ b/paper-api/src/main/java/org/bukkit/entity/Display.java @@ -48,6 +48,27 @@ public interface Display extends Entity { */ public void setInterpolationDuration(int duration); + /** + * Gets the teleport duration of this display. + * + * + * @return teleport duration + */ + public int getTeleportDuration(); + + /** + * Sets the teleport duration of this display. + * + * @param duration new duration + * @throws IllegalArgumentException if duration is not between 0 and 59 + * @see #getTeleportDuration() + */ + public void setTeleportDuration(int duration); + /** * Gets the view distance/range of this display. *