Class Score

java.lang.Object
net.minecraft.scoreboard.Score

public class Score extends Object
  • Field Details

    • SCORE_COMPARATOR

      public static final Comparator<Score> SCORE_COMPARATOR
    • scoreboard

      private final Scoreboard scoreboard
    • objective

      @Nullable private final ScoreObjective objective
    • owner

      private final String owner
    • count

      private int count
    • locked

      private boolean locked
    • forceUpdate

      private boolean forceUpdate
  • Constructor Details

  • Method Details

    • add

      public void add(int p_96649_1_)
    • increment

      public void increment()
    • getScore

      public int getScore()
    • reset

      public void reset()
    • setScore

      public void setScore(int p_96647_1_)
    • getObjective

      @Nullable public ScoreObjective getObjective()
    • getOwner

      public String getOwner()
    • getScoreboard

      public Scoreboard getScoreboard()
    • isLocked

      public boolean isLocked()
    • setLocked

      public void setLocked(boolean p_178815_1_)