Interface CriterionEvent.Score.Change

All Superinterfaces:
AdvancementEvent, Cancellable, CriterionEvent, CriterionEvent.Score, Event
All Known Subinterfaces:
CriterionEvent.Score.Grant, CriterionEvent.Score.Revoke
Enclosing interface:
CriterionEvent.Score

public static interface CriterionEvent.Score.Change extends CriterionEvent.Score, Cancellable
Is called when the score of a ScoreAdvancementCriterion changes.
  • Method Details

    • previousScore

      int previousScore()
      Gets the previous score.
      Returns:
      The previous score
    • newScore

      int newScore()
      Gets the new score.
      Returns:
      The new score