Interface IScoreboardObjective


public interface IScoreboardObjective
  • Method Details

    • getName

      java.lang.String getName()
    • getDisplayName

      java.lang.String getDisplayName()
    • setDisplayName

      void setDisplayName​(java.lang.String name)
      Parameters:
      name - Name used for display (1-32 chars)
    • getCriteria

      java.lang.String getCriteria()
    • isReadyOnly

      boolean isReadyOnly()
      Returns:
      Return whether or not the objective value can be changed. E.g. player health can't be changed
    • getScores

      IScoreboardScore[] getScores()
    • getScore

      IScoreboardScore getScore​(java.lang.String player)
    • hasScore

      boolean hasScore​(java.lang.String player)
    • createScore

      IScoreboardScore createScore​(java.lang.String player)
    • removeScore

      void removeScore​(java.lang.String player)