Interface StatFormatterOverride
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface for overriding the vanilla
StatFormatter behavior.- See Also:
-
Field Summary
Fields -
Method Summary
-
Field Details
-
DEFAULT
-
-
Method Details
-
format
@NotNull @NotNull String format(@NotNull @NotNull net.minecraft.stats.StatFormatter vanillaFormatter, int value) Formats aStat's value using a custom formatter.- Parameters:
vanillaFormatter- The default vanilla formatter to use as a fallback or base.value- The statistic value to format.- Returns:
- A formatted string representation of the statistic value.
-