Interface ScoreFormat
- All Known Implementing Classes:
BlankScoreFormat
,FixedScoreFormat
,StyledScoreFormat
@NonExtendable
public interface ScoreFormat
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlankScoreFormat
static FixedScoreFormat
fixedScore
(net.kyori.adventure.text.Component value) net.kyori.adventure.text.Component
format
(int score) getType()
static ScoreFormat
readTyped
(PacketWrapper<?> wrapper) static StyledScoreFormat
styledScore
(net.kyori.adventure.text.format.Style style) static <T extends ScoreFormat>
voidwriteTyped
(PacketWrapper<?> wrapper, T format)
-
Method Details
-
blankScore
-
styledScore
-
fixedScore
-
readTyped
-
writeTyped
-
format
net.kyori.adventure.text.Component format(int score) -
getType
ScoreFormatType<?> getType()
-