mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01: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:
parent
fc1538ac4d
commit
15d0b9b07f
@ -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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user