Package org.spongepowered.api.statistic
Interface Statistic
-
- All Known Subinterfaces:
Statistic.TypeInstance<T>
@CatalogedBy(Statistics.class) public interface Statistic
Represents some statistic in minecraft.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Statistic.TypeInstance<T>
Represents aStatistic
instance of aStatisticCategory.Typed
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<Criterion>
criterion()
Returns the objectiveCriterion
for this statistic.java.text.NumberFormat
format()
Returns theNumberFormat
used to format the value of this statistic.
-