Interface StatusBar<P extends org.screamingsandals.lib.utils.Wrapper>

All Known Subinterfaces:
BossBar<P>, XPBar<P>

@NonExtendable public interface StatusBar<P extends org.screamingsandals.lib.utils.Wrapper>
  • Method Details

    • addPlayer

      void addPlayer(P player)
      Parameters:
      player -
    • removePlayer

      void removePlayer(P player)
      Parameters:
      player -
    • setProgress

      void setProgress(float progress)
      Parameters:
      progress -
    • getViewers

      List<P> getViewers()
      Returns:
      list of all viewers
    • getProgress

      float getProgress()
      Returns:
      progress of status bar
    • isVisible

      boolean isVisible()
      Returns:
      visibility of status bar
    • setVisible

      void setVisible(boolean visible)
      Parameters:
      visible -