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
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)