mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 16:12:18 -07:00
#840: Adjust annotations in Display entity interface
- Undeprecate #get/setGlowColorOverride() (revertsff78a4cdaf
, seef328857bac
) - Remove erroneous @NotNull annotation on setBillboard() By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
@@ -143,26 +143,21 @@ public interface Display extends Entity {
|
|||||||
*
|
*
|
||||||
* @param billboard new setting
|
* @param billboard new setting
|
||||||
*/
|
*/
|
||||||
@NotNull
|
|
||||||
public void setBillboard(@NotNull Billboard billboard);
|
public void setBillboard(@NotNull Billboard billboard);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user