Module net.kyori.adventure.api
Package net.kyori.adventure.text
Interface EntityNBTComponent.Builder
- All Superinterfaces:
AbstractBuilder<EntityNBTComponent>,ComponentBuilder<EntityNBTComponent,,EntityNBTComponent.Builder> ComponentBuilderApplicable,ComponentLike,MutableStyleSetter<EntityNBTComponent.Builder>,NBTComponentBuilder<EntityNBTComponent,,EntityNBTComponent.Builder> StyleSetter<EntityNBTComponent.Builder>
- Enclosing interface:
EntityNBTComponent
public static sealed interface EntityNBTComponent.Builder
extends NBTComponentBuilder<EntityNBTComponent,EntityNBTComponent.Builder>
An entity NBT component builder.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionSets the entity selector.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, styleMethods inherited from interface net.kyori.adventure.text.NBTComponentBuilder
interpret, nbtPath, plain, separatorMethods inherited from interface net.kyori.adventure.text.format.StyleSetter
shadowColor, shadowColorIfAbsent
-
Method Details
-
selector
Sets the entity selector.- Parameters:
selector- the entity selector- Returns:
- this builder
- Since:
- 4.0.0
-