- All Superinterfaces:
Component,ComponentBuilderApplicable,ComponentLike,HoverEventSource<Component>,ScopedComponent<TextComponent>,StyleGetter,StyleSetter<Component>,TextComponent
A virtual component.
This component type is transient and not guaranteed to survive during any sort of transformations or serialization.
- Since:
- 4.18.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.kyori.adventure.text.TextComponent
TextComponent.Builder -
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
asHoverEvent, children, clickEvent, color, compact, compact, componentBuilderApply, contains, contains, decoration, decorations, font, hasDecoration, hasStyling, hoverEvent, insertion, iterable, iterable, iterator, iterator, replaceText, replaceText, shadowColor, spliterator, spliterator, styleMethods inherited from interface net.kyori.adventure.text.event.HoverEventSource
asHoverEventMethods inherited from interface net.kyori.adventure.text.ScopedComponent
append, append, append, append, append, appendNewline, appendSpace, applyFallbackStyle, applyFallbackStyle, asComponent, children, clickEvent, color, colorIfAbsent, decorate, decoration, decoration, decorationIfAbsent, decorations, font, hoverEvent, insertion, mergeStyle, mergeStyle, mergeStyle, shadowColor, shadowColorIfAbsent, style, style, style, styleMethods inherited from interface net.kyori.adventure.text.format.StyleSetter
decorate, decorationsMethods inherited from interface net.kyori.adventure.text.TextComponent
content, content, toBuilder
-
Method Details
-
contextType
Class<?> contextType()Gets the renderer context type.- Returns:
- the renderer context type
- Since:
- 4.18.0
-
renderer
VirtualComponentRenderer<?> renderer()Gets the renderer.- Returns:
- the renderer
- Since:
- 4.18.0
-