Interface StyledFormat

All Superinterfaces:
net.kyori.adventure.text.ComponentBuilderApplicable, NumberFormat, net.kyori.adventure.text.format.StyleBuilderApplicable

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 Type
    Method
    Description
    @NotNull net.kyori.adventure.text.format.Style
    The style that is being applied to the number in the score

    Methods inherited from interface net.kyori.adventure.text.format.StyleBuilderApplicable

    componentBuilderApply, styleApply
  • Method Details

    • style

      @NotNull @NotNull net.kyori.adventure.text.format.Style style()
      The style that is being applied to the number in the score
      Returns:
      the style to apply