Interface FixedFormat

All Superinterfaces:
net.kyori.adventure.text.ComponentLike, NumberFormat

public interface FixedFormat extends NumberFormat, net.kyori.adventure.text.ComponentLike
A scoreboard number format that replaces the score number with a chat component.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.kyori.adventure.text.Component
    The component shown instead of the number for a score

    Methods inherited from interface net.kyori.adventure.text.ComponentLike

    asComponent
  • Method Details

    • component

      @NotNull @NotNull net.kyori.adventure.text.Component component()
      The component shown instead of the number for a score
      Returns:
      the chat component