Interface SelectorComponent

All Superinterfaces:
Buildable<SelectorComponent,​SelectorComponent.Builder>, BuildableComponent<SelectorComponent,​SelectorComponent.Builder>, Component, ComponentBuilderApplicable, ComponentLike, net.kyori.examination.Examinable, HoverEventSource<Component>, ScopedComponent<SelectorComponent>

public interface SelectorComponent
extends BuildableComponent<SelectorComponent,​SelectorComponent.Builder>, ScopedComponent<SelectorComponent>
A selector component.
Since:
4.0.0
  • Method Details

    • pattern

      @NonNull String pattern()
      Gets the selector pattern.
      Returns:
      the selector pattern
      Since:
      4.0.0
    • pattern

      @NonNull SelectorComponent pattern​(@NonNull String pattern)
      Sets the selector pattern.
      Parameters:
      pattern - the selector pattern
      Returns:
      a selector component
      Since:
      4.0.0