Package net.kyori.adventure.text
Interface EntityNBTComponent
- All Superinterfaces:
Buildable<EntityNBTComponent,EntityNBTComponent.Builder>
,BuildableComponent<EntityNBTComponent,EntityNBTComponent.Builder>
,Component
,ComponentBuilderApplicable
,ComponentLike
,net.kyori.examination.Examinable
,HoverEventSource<Component>
,NBTComponent<EntityNBTComponent,EntityNBTComponent.Builder>
,ScopedComponent<EntityNBTComponent>
public interface EntityNBTComponent extends NBTComponent<EntityNBTComponent,EntityNBTComponent.Builder>, ScopedComponent<EntityNBTComponent>
An entity NBT component.
- Since:
- 4.0.0
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EntityNBTComponent.Builder
An entity NBT component builder. -
Method Summary
Modifier and Type Method Description @NonNull String
selector()
Gets the entity selector.@NonNull EntityNBTComponent
selector(@NonNull String selector)
Sets the entity selector.Methods inherited from interface net.kyori.adventure.text.Component
asComponent, asHoverEvent, children, clickEvent, color, componentBuilderApply, contains, decoration, decorations, decorations, detectCycle, hasDecoration, hasStyling, hoverEvent, insertion, replaceFirstText, replaceFirstText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, style, style
Methods inherited from interface net.kyori.examination.Examinable
examinableName, examinableProperties, examine
Methods inherited from interface net.kyori.adventure.text.NBTComponent
interpret, interpret, nbtPath, nbtPath
Methods inherited from interface net.kyori.adventure.text.ScopedComponent
append, append, append, children, clickEvent, color, colorIfAbsent, decorate, decoration, decoration, hoverEvent, insertion, mergeStyle, mergeStyle, mergeStyle, style, style, style