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 interfaceStatistic.TypeInstance<T>Represents aStatisticinstance of aStatisticCategory.Typed.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<Criterion>criterion()Returns the objectiveCriterionfor this statistic.java.text.NumberFormatformat()Returns theNumberFormatused to format the value of this statistic.
-