Text@Deprecated public final class Text extends Object
Components and formatted text strings.| Modifier and Type | Field and Description |
|---|---|
static char |
AMPERSAND_CHAR
Deprecated.
|
static char |
SECTION_CHAR
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
colorize(String s)
Deprecated.
|
static String |
decolorize(String s)
Deprecated.
|
static me.lucko.helper.text.TextComponent |
fromLegacy(String input)
Deprecated.
|
static me.lucko.helper.text.TextComponent |
fromLegacy(String input,
char character)
Deprecated.
|
static String |
joinNewline(Stream<String> strings)
Deprecated.
|
static String |
joinNewline(String... strings)
Deprecated.
|
static void |
sendMessage(org.bukkit.command.CommandSender sender,
me.lucko.helper.text.Component message)
Deprecated.
|
static void |
sendMessage(Iterable<org.bukkit.command.CommandSender> senders,
me.lucko.helper.text.Component message)
Deprecated.
|
static String |
toLegacy(me.lucko.helper.text.Component component)
Deprecated.
|
static String |
toLegacy(me.lucko.helper.text.Component component,
char character)
Deprecated.
|
static String |
translateAlternateColorCodes(char from,
char to,
String textToTranslate)
Deprecated.
|
public static final char SECTION_CHAR
public static final char AMPERSAND_CHAR
public static me.lucko.helper.text.TextComponent fromLegacy(String input, char character)
public static me.lucko.helper.text.TextComponent fromLegacy(String input)
public static String toLegacy(me.lucko.helper.text.Component component, char character)
public static String toLegacy(me.lucko.helper.text.Component component)
public static void sendMessage(org.bukkit.command.CommandSender sender,
me.lucko.helper.text.Component message)
public static void sendMessage(Iterable<org.bukkit.command.CommandSender> senders, me.lucko.helper.text.Component message)
Copyright © 2022. All rights reserved.