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 aScoreAdvancementCriterion
changes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.advancement.CriterionEvent
CriterionEvent.Score, CriterionEvent.Trigger<C extends FilteredTriggerConfiguration>
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.advancement.CriterionEvent.Score
CriterionEvent.Score.Change, CriterionEvent.Score.Grant, CriterionEvent.Score.Revoke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
newScore()
Gets the new score.int
previousScore()
Gets the previous score.-
Methods inherited from interface org.spongepowered.api.event.advancement.AdvancementEvent
advancement, player
-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.advancement.CriterionEvent.Score
criterion
-
-