public final class ComponentConverter extends Object
Note: The BungeeCord Chat API is not included in CraftBukkit.
| Modifier and Type | Method and Description |
|---|---|
static WrappedChatComponent |
fromBaseComponent(net.md_5.bungee.api.chat.BaseComponent... components)
Converts an array of
BaseComponents into a ProtocolLib wrapper |
static net.md_5.bungee.api.chat.BaseComponent[] |
fromWrapper(WrappedChatComponent wrapper)
Converts a
WrappedChatComponent into an array of BaseComponents |
public static net.md_5.bungee.api.chat.BaseComponent[] fromWrapper(WrappedChatComponent wrapper)
WrappedChatComponent into an array of BaseComponentswrapper - ProtocolLib wrapperpublic static WrappedChatComponent fromBaseComponent(net.md_5.bungee.api.chat.BaseComponent... components)
BaseComponents into a ProtocolLib wrappercomponents - BaseComponent arrayCopyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.