| Package | Description |
|---|---|
| com.comphenix.protocol.events | |
| com.comphenix.protocol.wrappers |
| Modifier and Type | Method and Description |
|---|---|
StructureModifier<WrappedChatComponent> |
PacketContainer.getChatComponents()
Retrieves a read/write structure for chat components in Minecraft 1.7.2.
|
| Modifier and Type | Method and Description |
|---|---|
WrappedChatComponent |
WrappedChatComponent.deepClone()
Retrieve a deep copy of the current chat component.
|
static WrappedChatComponent |
ComponentConverter.fromBaseComponent(net.md_5.bungee.api.chat.BaseComponent... components)
Converts an array of
BaseComponents into a ProtocolLib wrapper |
static WrappedChatComponent[] |
WrappedChatComponent.fromChatMessage(String message)
Construct an array of chat components from a standard Minecraft message.
|
static WrappedChatComponent |
WrappedChatComponent.fromHandle(Object handle)
Construct a new chat component wrapper around the given NMS object.
|
static WrappedChatComponent |
WrappedChatComponent.fromJson(String json)
Construct a new chat component wrapper from the given JSON string.
|
static WrappedChatComponent |
WrappedChatComponent.fromText(String text)
Construct a wrapper around a new text chat component with the given text.
|
WrappedChatComponent |
PlayerInfoData.getDisplayName()
Gets the display name of the player represented by this data.
|
WrappedChatComponent |
WrappedServerPing.getMotD()
Retrieve the message of the day.
|
| Modifier and Type | Method and Description |
|---|---|
static EquivalentConverter<WrappedChatComponent> |
BukkitConverters.getWrappedChatComponentConverter()
Retrieve a converter for wrapped chat components.
|
| Modifier and Type | Method and Description |
|---|---|
static net.md_5.bungee.api.chat.BaseComponent[] |
ComponentConverter.fromWrapper(WrappedChatComponent wrapper)
Converts a
WrappedChatComponent into an array of BaseComponents |
void |
WrappedServerPing.setMotD(WrappedChatComponent description)
Set the message of the day.
|
| Constructor and Description |
|---|
PlayerInfoData(WrappedGameProfile profile,
int latency,
EnumWrappers.NativeGameMode gameMode,
WrappedChatComponent displayName) |
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.