Interface TextComponent.Builder

All Superinterfaces:
Buildable.Builder<TextComponent,TextComponent.Builder>, BuildableComponent.Builder<TextComponent,TextComponent.Builder>, ComponentLike, TextStyle.Setter<TextComponent.Builder>
Enclosing interface:
TextComponent

public static interface TextComponent.Builder extends BuildableComponent.Builder<TextComponent,TextComponent.Builder>
A builder for text components.
  • Method Details

    • setContent

      TextComponent.Builder setContent(String content)
      Sets the content of the component.
      Parameters:
      content - the content
      Returns:
      this builder