Class Score

java.lang.Object
org.geysermc.geyser.scoreboard.Score

public final class Score extends Object
  • Constructor Details

    • Score

      public Score(long id, String name)
  • Method Details

    • getDisplayName

      public String getDisplayName()
    • getScore

      public int getScore()
    • setScore

      public Score setScore(int score)
    • getTeam

      public Team getTeam()
    • setTeam

      public Score setTeam(Team team)
    • getUpdateType

      public UpdateType getUpdateType()
    • setUpdateType

      public Score setUpdateType(UpdateType updateType)
    • shouldUpdate

      public boolean shouldUpdate()
    • update

      public void update(String objectiveName)
    • getId

      public long getId()
    • getName

      public String getName()
    • getCachedInfo

      public com.nukkitx.protocol.bedrock.data.ScoreInfo getCachedInfo()
    • getCurrentData

      public Score.ScoreData getCurrentData()
      Changes that have been made since the last cached data.
    • getCachedData

      public Score.ScoreData getCachedData()
      The data that is currently displayed to the Bedrock client.