Constructor and Description |
---|
PacketCommandServer()
New PacketCommandServer (In)
|
PacketCommandServer(java.util.UUID player,
java.lang.String server,
java.lang.String command,
Callback<YAMLSection>... callback)
New PacketCommandServer (Out)
|
Modifier and Type | Method and Description |
---|---|
void |
execute(YAMLSection data)
Execute Incoming Packet
|
YAMLSection |
generate()
Generate JSON Packet Contents
|
Version |
getVersion()
Get Packet Version
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCompatible
public PacketCommandServer()
@SafeVarargs public PacketCommandServer(java.util.UUID player, java.lang.String server, java.lang.String command, Callback<YAMLSection>... callback)
player
- Player Sendingserver
- Server to send tocommand
- Command to sendcallback
- Callbackspublic YAMLSection generate()
PacketOut
public void execute(YAMLSection data)
PacketIn
public Version getVersion()
PacketIn
getVersion
in interface PacketIn
getVersion
in interface PacketOut