Interface FixedFormat

All Superinterfaces:
ComponentLike, NumberFormat

@NullMarked public interface FixedFormat extends NumberFormat, ComponentLike
A scoreboard number format that replaces the score number with a chat component.
  • Method Summary

    Modifier and Type
    Method
    Description
    The component shown instead of the number for a score

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

    asComponent
  • Method Details

    • component

      Component component()
      The component shown instead of the number for a score
      Returns:
      the chat component