Interface TextComponent

    • Method Detail

      • content

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

        @Contract(pure=true)
        @NotNull
        @NotNull TextComponent content​(@NotNull
                                       @NotNull String content)
        Sets the plain text content.
        Parameters:
        content - the plain text content
        Returns:
        a copy of this component
        Since:
        4.0.0