Package net.kyori.adventure.text
Interface NBTComponentBuilder<C extends NBTComponent<C,B>,B extends NBTComponentBuilder<C,B>>
- Type Parameters:
C
- component typeB
- builder type
- All Superinterfaces:
AbstractBuilder<C>
,Buildable.Builder<C>
,ComponentBuilder<C,
,B> ComponentBuilderApplicable
,ComponentLike
,MutableStyleSetter<B>
,StyleSetter<B>
- All Known Subinterfaces:
BlockNBTComponent.Builder
,EntityNBTComponent.Builder
,StorageNBTComponent.Builder
public interface NBTComponentBuilder<C extends NBTComponent<C,B>,B extends NBTComponentBuilder<C,B>>
extends ComponentBuilder<C,B>
An NBT component builder.
- Since:
- 4.0.0
-
Method Summary
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
-
nbtPath
Sets the NBT path content.- Parameters:
nbtPath
- the NBT path- Returns:
- this builder
- Since:
- 4.0.0
-
interpret
Sets whether to interpret.- Parameters:
interpret
- if we should be interpreting- Returns:
- this builder
- Since:
- 4.0.0
-
separator
Sets the separator.- Parameters:
separator
- the separator- Returns:
- this builder
- Since:
- 4.8.0
-