geforkt von Mirrors/Paper
SPIGOT-1776: Replace BossBar.hide/show with visibility.
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
382597b99e
Commit
30b43035e7
@ -115,12 +115,30 @@ public interface BossBar {
|
||||
List<Player> getPlayers();
|
||||
|
||||
/**
|
||||
* Shows the previously hidden boss bar to all attached players
|
||||
* Set if the boss bar is displayed to attached players.
|
||||
*
|
||||
* @param visible visible status
|
||||
*/
|
||||
void setVisible(boolean visible);
|
||||
|
||||
/**
|
||||
* Return if the boss bar is displayed to attached players.
|
||||
*
|
||||
* @return visible status
|
||||
*/
|
||||
boolean isVisible();
|
||||
|
||||
/**
|
||||
* Shows the previously hidden boss bar to all attached players
|
||||
* @deprecated {@link #setVisible(boolean)}
|
||||
*/
|
||||
@Deprecated
|
||||
void show();
|
||||
|
||||
/**
|
||||
* Hides this boss bar from all attached players
|
||||
* @deprecated {@link #setVisible(boolean)}
|
||||
*/
|
||||
@Deprecated
|
||||
void hide();
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren