@ParametersAreNonnullByDefault public interface Scorer
| Modifier and Type | Interface and Description |
|---|---|
static class |
Scorer.Type |
| Modifier and Type | Method and Description |
|---|---|
long |
getId() |
OptionalInt |
getScoreIn(Objective objective) |
Scorer.Type |
getType() |
void |
modifyScoreIn(Objective objective,
ModifyScoreFunction function) |
void |
resetScoreIn(Objective objective) |
void |
setScoreIn(Objective objective,
int score) |
long getId()
@Nonnull Scorer.Type getType()
@Nonnull OptionalInt getScoreIn(Objective objective)
void resetScoreIn(Objective objective)
void setScoreIn(Objective objective, int score)
void modifyScoreIn(Objective objective, ModifyScoreFunction function)
Copyright © 2017–2019 NukkitX. All rights reserved.