Constructor and Description |
---|
PacketDownloadServerInfo()
New PacketDownloadServerInfo (In)
|
PacketDownloadServerInfo(java.lang.String server,
Callback<YAMLSection>... callback)
New PacketDownloadServerInfo (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 PacketDownloadServerInfo()
@SafeVarargs public PacketDownloadServerInfo(java.lang.String server, Callback<YAMLSection>... callback)
server
- Server namecallback
- Callbackspublic YAMLSection generate()
PacketOut
public void execute(YAMLSection data)
PacketIn
public Version getVersion()
PacketIn
getVersion
in interface PacketIn
getVersion
in interface PacketOut