public static interface ScoreComponent.Builder extends ComponentBuilder<ScoreComponent,ScoreComponent.Builder>
| Modifier and Type | Method and Description |
|---|---|
@NonNull ScoreComponent.Builder |
name(@NonNull java.lang.String name)
Sets the score name.
|
@NonNull ScoreComponent.Builder |
objective(@NonNull java.lang.String objective)
Sets the score objective.
|
@NonNull ScoreComponent.Builder |
value(@Nullable java.lang.String value)
Sets the value.
|
append, append, append, append, append, append, append, apply, applyDeep, build, clickEvent, color, colorIfAbsent, decoration, decoration, decorations, hoverEvent, insertion, mapChildren, mapChildrenDeep, mergeColor, mergeDecorations, mergeEvents, mergeStyle, resetStyle, style@NonNull ScoreComponent.Builder name(@NonNull java.lang.String name)
name - the score name@NonNull ScoreComponent.Builder objective(@NonNull java.lang.String objective)
objective - the score objective@NonNull ScoreComponent.Builder value(@Nullable java.lang.String value)
value - the value