Interface ChatType.Builder

All Superinterfaces:
AbstractBuilder<ChatType>, Builder<ChatType,ChatType.Builder>, CopyableBuilder<ChatType,ChatType.Builder>, ResettableBuilder<ChatType,ChatType.Builder>
Enclosing interface:
ChatType

public static interface ChatType.Builder extends Builder<ChatType,ChatType.Builder>, CopyableBuilder<ChatType,ChatType.Builder>
A builder to create ChatTypes.
  • Method Details

    • translationKey

      ChatType.Builder translationKey(String translationKey)
      Sets the translation key or custom format mask.
      Parameters:
      translationKey - The translation key or format mask
      Returns:
      this builder, for chaining
    • style

      ChatType.Builder style(Style style)
      Sets the style.
      Parameters:
      style - The style
      Returns:
      this builder, for chaining
    • addSender

      ChatType.Builder addSender()
      Adds a sender parameter.
      Returns:
      this builder, for chaining
    • addContent

      ChatType.Builder addContent()
      Adds a content parameter.
      Returns:
      this builder, for chaining
    • addTarget

      ChatType.Builder addTarget()
      Adds a target parameter.
      Returns:
      this builder, for chaining