Interface StatusBar
public interface StatusBar
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayer
(org.bukkit.entity.Player player) double
List<org.bukkit.entity.Player>
boolean
void
removePlayer
(org.bukkit.entity.Player player) void
setProgress
(double progress) void
setVisible
(boolean visible)
-
Method Details
-
addPlayer
void addPlayer(org.bukkit.entity.Player player) - Parameters:
player
-
-
removePlayer
void removePlayer(org.bukkit.entity.Player player) - Parameters:
player
-
-
setProgress
void setProgress(double progress) - Parameters:
progress
-
-
getViewers
List<org.bukkit.entity.Player> getViewers()- Returns:
- list of all viewers
-
getProgress
double getProgress()- Returns:
- progress of status bar
-
isVisible
boolean isVisible()- Returns:
- visibility of status bar
-
setVisible
void setVisible(boolean visible) - Parameters:
visible
-
-