StructuredText

@ApiStatus.NonExtendable()
public interface StructuredText(source)

Inheritors

Types

Link copied to clipboard
public interface Mutable implements StructuredText

Functions

Link copied to clipboard
Link copied to clipboard
@NotNull()
public static @NotNull() StructuredText.Mutable empty()
Link copied to clipboard
@NotNull()
public abstract @NotNull() Stream<@NotNull() StructuredText> getChildren()
Link copied to clipboard
@NotNull()
public abstract @NotNull() StructuredStyle getStyle()
Link copied to clipboard
@NotNull()
public abstract @NotNull() String getText()
Link copied to clipboard
@NotNull()
public static @NotNull() StructuredText.Mutable of(@NotNull() @NotNull() String text)
Link copied to clipboard
public abstract void setStyle(StructuredStyle style)
Link copied to clipboard
@NotNull()
public static @NotNull() StructuredText.Mutable translatable(@NotNull() @NotNull() String translationKey, @NotNull() @NotNull() Array<@NotNull() StructuredText> args)