Package net.kyori.adventure.text
Interface BuildableComponent<C extends BuildableComponent<C,B>,B extends ComponentBuilder<C,B>>
- Type Parameters:
C
- the component typeB
- the builder type
- All Superinterfaces:
Buildable<C,
,B> Component
,ComponentBuilderApplicable
,ComponentLike
,net.kyori.examination.Examinable
,HoverEventSource<Component>
,StyleGetter
,StyleSetter<Component>
- All Known Subinterfaces:
BlockNBTComponent
,EntityNBTComponent
,KeybindComponent
,NBTComponent<C,
,B> ScoreComponent
,SelectorComponent
,StorageNBTComponent
,TextComponent
,TranslatableComponent
,VirtualComponent
public interface BuildableComponent<C extends BuildableComponent<C,B>,B extends ComponentBuilder<C,B>>
extends Buildable<C,B>, Component
A component which may be built.
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.kyori.adventure.util.Buildable
Buildable.Builder<R>
-
Field Summary
Fields inherited from interface net.kyori.adventure.text.Component
EQUALS, EQUALS_IDENTITY, IS_NOT_EMPTY
-
Method Summary
Methods inherited from interface net.kyori.adventure.text.Component
append, append, append, appendNewline, appendSpace, applyFallbackStyle, applyFallbackStyle, asComponent, asHoverEvent, children, children, clickEvent, clickEvent, color, color, colorIfAbsent, compact, componentBuilderApply, contains, contains, decorate, decoration, decoration, decoration, decorationIfAbsent, decorations, decorations, detectCycle, examinableProperties, font, font, hasDecoration, hasStyling, hoverEvent, hoverEvent, insertion, insertion, iterable, iterable, iterator, iterator, mergeStyle, mergeStyle, mergeStyle, replaceFirstText, replaceFirstText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, replaceText, shadowColor, shadowColor, shadowColorIfAbsent, spliterator, spliterator, style, style, style, style, style
Methods inherited from interface net.kyori.examination.Examinable
examinableName, examine
Methods inherited from interface net.kyori.adventure.text.event.HoverEventSource
asHoverEvent
Methods inherited from interface net.kyori.adventure.text.format.StyleSetter
decorate, decorations
-
Method Details
-
toBuilder
Create a builder from this component.- Specified by:
toBuilder
in interfaceBuildable<C extends BuildableComponent<C,
B>, B extends ComponentBuilder<C, B>> - Returns:
- the builder
-