Interface StyledFormat
- All Superinterfaces:
net.kyori.adventure.text.ComponentBuilderApplicable,NumberFormat,net.kyori.adventure.text.format.StyleBuilderApplicable
@NullMarked
public interface StyledFormat
extends NumberFormat, net.kyori.adventure.text.format.StyleBuilderApplicable
A scoreboard number format that applies a custom formatting to the score number.
-
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.text.format.Stylestyle()The style that is being applied to the number in the scoreMethods inherited from interface net.kyori.adventure.text.format.StyleBuilderApplicable
componentBuilderApply, styleApply
-
Method Details
-
style
net.kyori.adventure.text.format.Style style()The style that is being applied to the number in the score- Returns:
- the style to apply
-