Class Score

java.lang.Object
net.minecraft.world.scores.Score

public class Score extends Object
  • Field Details

    • SCORE_COMPARATOR

      public static final Comparator<Score> SCORE_COMPARATOR
    • scoreboard

      private final Scoreboard scoreboard
    • objective

      private final Objective 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_83394_)
    • increment

      public void increment()
    • getScore

      public int getScore()
    • reset

      public void reset()
    • setScore

      public void setScore(int p_83403_)
    • getObjective

      public Objective getObjective()
    • getOwner

      public String getOwner()
    • getScoreboard

      public Scoreboard getScoreboard()
    • isLocked

      public boolean isLocked()
    • setLocked

      public void setLocked(boolean p_83399_)