SPIGOT-7292: Deprecate display color APIs while specifics are worked out

This commit is contained in:
md_5 2023-03-15 08:25:18 +11:00
parent 818e4e08d2
commit 02ff2f897a
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11
2 changed files with 8 additions and 0 deletions

View file

@ -150,15 +150,19 @@ public interface Display extends Entity {
* Gets the scoreboard team overridden glow color of this display.
*
* @return glow color
* @deprecated API subject to change
*/
@Nullable
@Deprecated
public Color getGlowColorOverride();
/**
* Sets the scoreboard team overridden glow color of this display.
*
* @param color new color
* @deprecated API subject to change
*/
@Deprecated
public void setGlowColorOverride(@Nullable Color color);
/**

View file

@ -42,15 +42,19 @@ public interface TextDisplay extends Display {
* Gets the text background color.
*
* @return the background color
* @deprecated API subject to change
*/
@Nullable
@Deprecated
Color getBackgroundColor();
/**
* Sets the text background color.
*
* @param color new background color
* @deprecated API subject to change
*/
@Deprecated
void setBackgroundColor(@Nullable Color color);
/**