Uses of Interface
net.kyori.adventure.text.ScoreComponent
Packages that use ScoreComponent
Package
Description
Data for controlling components, their styles, and events.
Component rendering.
-
Uses of ScoreComponent in net.kyori.adventure.text
Subinterfaces with type arguments of type ScoreComponent 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.interfaceA 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 ScoreComponentModifier and TypeMethodDescriptionSets the score name.Sets the score objective.static ScoreComponentCreates a score component with a name and objective.static ScoreComponentCreates a score component with a name and objective.static ScoreComponentComponent.score(Consumer<? super ScoreComponent.Builder> consumer) Creates a score component by applying configuration fromconsumer.Sets the value. -
Uses of ScoreComponent in net.kyori.adventure.text.renderer
Methods in net.kyori.adventure.text.renderer with parameters of type ScoreComponentModifier and TypeMethodDescriptionprotected abstract ComponentAbstractComponentRenderer.renderScore(ScoreComponent component, C context) Renders a score component.protected ComponentTranslatableComponentRenderer.renderScore(ScoreComponent component, C context)