Package net.kyori.adventure.text
Interface EntityNBTComponent.Builder
- All Superinterfaces:
Buildable.Builder<EntityNBTComponent>
,ComponentBuilder<EntityNBTComponent,EntityNBTComponent.Builder>
,ComponentBuilderApplicable
,ComponentLike
,NBTComponentBuilder<EntityNBTComponent,EntityNBTComponent.Builder>
- Enclosing interface:
- EntityNBTComponent
public static interface EntityNBTComponent.Builder extends NBTComponentBuilder<EntityNBTComponent,EntityNBTComponent.Builder>
An entity NBT component builder.
- Since:
- 4.0.0
-
Method Summary
Modifier and Type Method Description @NonNull EntityNBTComponent.Builder
selector(@NonNull String selector)
Sets the entity selector.Methods inherited from interface net.kyori.adventure.text.ComponentBuilder
append, append, append, append, append, append, applicableApply, apply, applyDeep, asComponent, build, clickEvent, color, colorIfAbsent, componentBuilderApply, decorate, decorate, decoration, decoration, decorations, font, hoverEvent, insertion, mapChildren, mapChildrenDeep, mergeStyle, mergeStyle, mergeStyle, resetStyle, style, style
-
Method Details
-
selector
Sets the entity selector.- Parameters:
selector
- the entity selector- Returns:
- this builder
- Since:
- 4.0.0
-