Interface ChatTypeTemplate.Builder

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

public static interface ChatTypeTemplate.Builder extends DataPackEntryBuilder<ChatType,ChatTypeTemplate,ChatTypeTemplate.Builder>
  • Method Details

    • translationKey

      ChatTypeTemplate.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

      Sets the style.
      Parameters:
      style - The style
      Returns:
      this builder, for chaining
    • addSender

      Adds a sender parameter.
      Returns:
      this builder, for chaining
    • addContent

      Adds a content parameter.
      Returns:
      this builder, for chaining
    • addTarget

      Adds a target parameter.
      Returns:
      this builder, for chaining