Interface ScoreFormat
- All Known Implementing Classes:
ScoreFormat.Blank,ScoreFormat.Fixed,ScoreFormat.Styled
@NonExtendable
public interface ScoreFormat
Represents all valid objective score formats.
- Since:
- Minecraft 1.20.3
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic class -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic @NotNull ScoreFormat.Blankblank()static @NotNull ScoreFormat.Fixedfixed(@NotNull net.kyori.adventure.text.ComponentLike content) static @NotNull ScoreFormat.Styledstyled(@NotNull net.kyori.adventure.text.format.Style style) static @NotNull ScoreFormat.Styledstyled(@NotNull net.kyori.adventure.text.format.StyleBuilderApplicable @NotNull ... styleBuilderApplicables)
-
Method Details
-
blank
-
fixed
@NotNull static @NotNull ScoreFormat.Fixed fixed(@NotNull @NotNull net.kyori.adventure.text.ComponentLike content) -
styled
@NotNull static @NotNull ScoreFormat.Styled styled(@NotNull @NotNull net.kyori.adventure.text.format.Style style) -
styled
@NotNull static @NotNull ScoreFormat.Styled styled(@NotNull @NotNull net.kyori.adventure.text.format.StyleBuilderApplicable @NotNull ... styleBuilderApplicables)
-