Interface VirtualComponent

All Superinterfaces:
Buildable<TextComponent,TextComponent.Builder>, BuildableComponent<TextComponent,TextComponent.Builder>, Component, ComponentBuilderApplicable, ComponentLike, net.kyori.examination.Examinable, HoverEventSource<Component>, ScopedComponent<TextComponent>, StyleGetter, StyleSetter<Component>, TextComponent

public interface VirtualComponent extends 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
  • Method Details

    • contextType

      @NotNull @NotNull Class<?> contextType()
      Gets the renderer context type.
      Returns:
      the renderer context type
      Since:
      4.18.0
    • renderer

      @NotNull @NotNull VirtualComponentRenderer<?> renderer()
      Gets the renderer.
      Returns:
      the renderer
      Since:
      4.18.0