public final class TextUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static net.kyori.text.TextComponent |
fromLegacy(String input) |
static net.kyori.text.TextComponent |
fromLegacy(String input,
char character) |
static String |
joinNewline(Stream<String> strings) |
static String |
joinNewline(String... strings) |
static void |
sendMessage(CommandSender sender,
net.kyori.text.Component message) |
static void |
sendMessage(Iterable<CommandSender> senders,
net.kyori.text.Component message) |
static String |
toLegacy(net.kyori.text.Component component) |
static String |
toLegacy(net.kyori.text.Component component,
char character) |
public static net.kyori.text.TextComponent fromLegacy(String input, char character)
public static net.kyori.text.TextComponent fromLegacy(String input)
public static String toLegacy(net.kyori.text.Component component, char character)
public static String toLegacy(net.kyori.text.Component component)
public static void sendMessage(CommandSender sender, net.kyori.text.Component message)
public static void sendMessage(Iterable<CommandSender> senders, net.kyori.text.Component message)
Copyright © 2017. All rights reserved.