Package org.spongepowered.api.statistic
Interface Statistic
- All Known Subinterfaces:
Statistic.TypeInstance<T>
Represents some statistic in minecraft.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Represents aStatistic
instance of aStatisticCategory.Typed
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the objectiveCriterion
for this statistic.format()
Returns theNumberFormat
used to format the value of this statistic.
-
Method Details
-
criterion
Returns the objectiveCriterion
for this statistic.- Returns:
- Objective criterion
-
format
NumberFormat format()Returns theNumberFormat
used to format the value of this statistic.- Returns:
- Statistic's number format
-