Interface ScoreLine

All Superinterfaces:
Comparable<ScoreLine>

public interface ScoreLine extends Comparable<ScoreLine>
  • Method Details

    • getLine

      SidebarLine getLine()
    • setLine

      void setLine(SidebarLine line)
    • getScoreAmount

      int getScoreAmount()
    • setScoreAmount

      void setScoreAmount(int score)
    • sendCreateToAllReceivers

      void sendCreateToAllReceivers()
    • sendCreate

      void sendCreate(org.bukkit.entity.Player player)
    • setContent

      boolean setContent(SidebarLine line)
      Returns:
      if content has been changed
    • sendUpdateToAllReceivers

      void sendUpdateToAllReceivers()
    • sendUpdate

      void sendUpdate(org.bukkit.entity.Player player)
    • sendRemoveToAllReceivers

      void sendRemoveToAllReceivers()
    • sendRemove

      void sendRemove(org.bukkit.entity.Player player)
    • getColor

      String getColor()
    • refreshContent

      boolean refreshContent()
      Refresh contents in case of placeholders etc. Used for triggering refresh a single time and then send the data to all receivers.
      Returns:
      true if different from previous state.