translate

@NotNull()
public static @NotNull() TextComponent translate(String in)

Converts a legacy colour coded string to the new kyori adventure system and returns a converted component (TextComponent)

Return

A text component using the new kyori adventure text library

Parameters

in

Original legacy colour coded string


public static List<Component> translate(List<String> lines)

Converts a legacy colour coded string array list to the new kyori adventure system and returns a list of components (TextComponent)

Return

List of text components using the new kyori adventure text library

Parameters

lines

Original legacy colour coded string array list


public static List<Component> translate(Array<String> lines)

Converts a legacy colour coded string array to the new kyori adventure system and returns a list of components (TextComponent)

Return

List of text components using the new kyori adventure text library

Parameters

lines

Original legacy colour coded string array