public class ServerChatPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerChatPacket(String text,
boolean escape) |
ServerChatPacket(String text,
MessageType type,
boolean escape) |
| Modifier and Type | Method and Description |
|---|---|
static String |
escapeText(String message) |
String |
getMessage() |
MessageType |
getType() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerChatPacket(String text, boolean escape)
public ServerChatPacket(String text, MessageType type, boolean escape)
public String getMessage()
public MessageType getType()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.