Skip to content

Commit

Permalink
Mark DisplayHologramData#getInterpolationDuration and DisplayHologram…
Browse files Browse the repository at this point in the history
…Data#setInterpolationDuration as experimental
  • Loading branch information
OliverSchlueter committed Dec 8, 2024
1 parent 32f1ae0 commit 8d6d606
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.bukkit.Location;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.entity.Display;
import org.jetbrains.annotations.ApiStatus;
import org.joml.Vector3f;

import java.util.Locale;
Expand Down Expand Up @@ -114,10 +115,12 @@ public DisplayHologramData setShadowStrength(float shadowStrength) {
return this;
}

@ApiStatus.Experimental
public int getInterpolationDuration() {
return interpolationDuration;
}

@ApiStatus.Experimental
public DisplayHologramData setInterpolationDuration(int interpolationDuration) {
if (this.interpolationDuration != interpolationDuration) {
this.interpolationDuration = interpolationDuration;
Expand Down

0 comments on commit 8d6d606

Please sign in to comment.