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[] |
WrappedChatComponent.fromChatMessage(java.lang.String message)
Construct an array of chat components from a standard Minecraft message.
|
static WrappedChatComponent |
WrappedChatComponent.fromHandle(java.lang.Object handle)
Construct a new chat component wrapper around the given NMS object.
|
static WrappedChatComponent |
WrappedChatComponent.fromJson(java.lang.String json)
Construct a new chat component wrapper from the given JSON string.
|
static WrappedChatComponent |
WrappedChatComponent.fromText(java.lang.String text)
Construct a wrapper around a new text chat component with the given text.
|
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 |
---|---|
void |
WrappedServerPing.setMotD(WrappedChatComponent description)
Set the message of the day.
|