Package net.kyori.adventure.text
Interface ObjectComponent.Builder
- All Superinterfaces:
AbstractBuilder<ObjectComponent>
,Buildable.Builder<ObjectComponent>
,ComponentBuilder<ObjectComponent,
,ObjectComponent.Builder> ComponentBuilderApplicable
,ComponentLike
,MutableStyleSetter<ObjectComponent.Builder>
,StyleSetter<ObjectComponent.Builder>
- Enclosing interface:
- ObjectComponent
public static interface ObjectComponent.Builder
extends ComponentBuilder<ObjectComponent,ObjectComponent.Builder>
An object component builder.
- Since:
- 4.25.0
-
Method Summary
Modifier and TypeMethodDescription@NotNull ObjectComponent.Builder
contents
(@NotNull ObjectContents objectContents) Sets the contents of this object component builder.Methods inherited from interface net.kyori.adventure.text.ComponentBuilder
append, append, append, append, append, append, appendNewline, appendSpace, applicableApply, apply, applyDeep, asComponent, build, children, clickEvent, color, colorIfAbsent, componentBuilderApply, decorate, decorate, decoration, decoration, decorationIfAbsent, decorations, decorations, font, hoverEvent, insertion, mapChildren, mapChildrenDeep, mergeStyle, mergeStyle, mergeStyle, resetStyle, style, style
Methods inherited from interface net.kyori.adventure.text.format.StyleSetter
shadowColor, shadowColorIfAbsent
-
Method Details
-
contents
Sets the contents of this object component builder.- Parameters:
objectContents
- the contents to set- Returns:
- this builder
- Since:
- 4.25.0
-