Uses of Interface
net.kyori.adventure.text.ScoreComponent.Builder
Packages that use ScoreComponent.Builder
Package
Description
Data for controlling components, their styles, and events.
-
Uses of ScoreComponent.Builder in net.kyori.adventure.text
Subinterfaces with type arguments of type ScoreComponent.Builder in net.kyori.adventure.textModifier and TypeInterfaceDescriptioninterfaceA component that can display a player's score from a scoreboard objective, with an optional fallback value if the search for the score fails.static interfaceA score component builder.Methods in net.kyori.adventure.text that return ScoreComponent.BuilderModifier and TypeMethodDescriptionSets the score name.Sets the score objective.static ScoreComponent.BuilderComponent.score()Creates a score component builder.ScoreComponent.toBuilder()Sets the value.Method parameters in net.kyori.adventure.text with type arguments of type ScoreComponent.BuilderModifier and TypeMethodDescriptionstatic ScoreComponentComponent.score(Consumer<? super ScoreComponent.Builder> consumer) Creates a score component by applying configuration fromconsumer.