Package net.kyori.adventure.text
Interface NBTComponent<C extends NBTComponent<C,B>,B extends NBTComponentBuilder<C,B>>
- All Superinterfaces:
- Buildable<C,B>,- BuildableComponent<C,B>,- Component,- ComponentBuilderApplicable,- ComponentLike,- net.kyori.examination.Examinable,- HoverEventSource<Component>
- All Known Subinterfaces:
- BlockNBTComponent,- EntityNBTComponent,- StorageNBTComponent
public interface NBTComponent<C extends NBTComponent<C,B>,B extends NBTComponentBuilder<C,B>> extends BuildableComponent<C,B>
An NBT component.
- Since:
- 4.0.0
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.kyori.adventure.util.BuildableBuildable.Builder<R>
- 
Method SummaryMethods inherited from interface net.kyori.adventure.text.Componentappend, append, append, asComponent, asHoverEvent, children, children, clickEvent, clickEvent, color, color, colorIfAbsent, componentBuilderApply, contains, decorate, decoration, decoration, decoration, decorations, decorations, detectCycle, hasDecoration, hasStyling, hoverEvent, hoverEvent, insertion, insertion, mergeStyle, mergeStyle, mergeStyle, replaceFirstText, replaceFirstText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, style, style, style, style, style
- 
Method Details- 
nbtPath@NonNull String nbtPath()Gets the NBT path.- Returns:
- the NBT path
- Since:
- 4.0.0
 
- 
nbtPathSets the NBT path.- Parameters:
- nbtPath- the NBT path
- Returns:
- an NBT component
- Since:
- 4.0.0
 
- 
interpretboolean interpret()Gets if we should be interpreting.- Returns:
- if we should be interpreting
- Since:
- 4.0.0
 
- 
interpretSets if we should be interpreting.- Parameters:
- interpret- if we should be interpreting.
- Returns:
- an NBT component
- Since:
- 4.0.0
 
 
-