Interface TextComponent.Builder

    • Method Detail

      • content

        @NotNull
        @NotNull String content()
        Gets the plain text content.
        Returns:
        the plain text content
        Since:
        4.0.0
      • content

        @Contract("_ -> this")
        @NotNull
        @NotNull TextComponent.Builder content​(@NotNull
                                               @NotNull String content)
        Sets the plain text content.
        Parameters:
        content - the plain text content
        Returns:
        this builder
        Since:
        4.0.0