mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 07:34:48 +01:00
SPIGOT-7292: Deprecate display color APIs while specifics are worked out
By: md_5 <git@md-5.net>
This commit is contained in:
parent
b76cbe36c5
commit
ff78a4cdaf
2 changed files with 8 additions and 0 deletions
|
@ -150,15 +150,19 @@ public interface Display extends Entity {
|
||||||
* Gets the scoreboard team overridden glow color of this display.
|
* Gets the scoreboard team overridden glow color of this display.
|
||||||
*
|
*
|
||||||
* @return glow color
|
* @return glow color
|
||||||
|
* @deprecated API subject to change
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
|
@Deprecated
|
||||||
public Color getGlowColorOverride();
|
public Color getGlowColorOverride();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the scoreboard team overridden glow color of this display.
|
* Sets the scoreboard team overridden glow color of this display.
|
||||||
*
|
*
|
||||||
* @param color new color
|
* @param color new color
|
||||||
|
* @deprecated API subject to change
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public void setGlowColorOverride(@Nullable Color color);
|
public void setGlowColorOverride(@Nullable Color color);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -42,15 +42,19 @@ public interface TextDisplay extends Display {
|
||||||
* Gets the text background color.
|
* Gets the text background color.
|
||||||
*
|
*
|
||||||
* @return the background color
|
* @return the background color
|
||||||
|
* @deprecated API subject to change
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
|
@Deprecated
|
||||||
Color getBackgroundColor();
|
Color getBackgroundColor();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the text background color.
|
* Sets the text background color.
|
||||||
*
|
*
|
||||||
* @param color new background color
|
* @param color new background color
|
||||||
|
* @deprecated API subject to change
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
void setBackgroundColor(@Nullable Color color);
|
void setBackgroundColor(@Nullable Color color);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue