Package org.spongepowered.api.statistic
Interface Statistic
- All Known Subinterfaces:
Statistic.TypeInstance<T>
Represents some statistic in minecraft.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents aStatisticinstance of aStatisticCategory.Typed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the objectiveCriterionfor this statistic.format()Returns theNumberFormatused to format the value of this statistic.
-
Method Details
-
criterion
Returns the objectiveCriterionfor this statistic.- Returns:
- Objective criterion
-
format
NumberFormat format()Returns theNumberFormatused to format the value of this statistic.- Returns:
- Statistic's number format
-