public class PacketStatusOutServerInfo extends WrappedPacket
Modifier and Type | Class and Description |
---|---|
static class |
PacketStatusOutServerInfo.PlayerList |
static class |
PacketStatusOutServerInfo.ServerData |
static class |
PacketStatusOutServerInfo.ServerInfo |
Modifier and Type | Field and Description |
---|---|
PacketStatusOutServerInfo.ServerInfo |
info |
Constructor and Description |
---|
PacketStatusOutServerInfo() |
PacketStatusOutServerInfo(PacketStatusOutServerInfo.ServerInfo info) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getVanillaPacket()
Converts this wrapped packet to a Vanilla/NMS packet
|
void |
loadVanillaPacket(java.lang.Object packet)
Loads a Vanilla/NMS packet to this wrapper
|
toNMS
public PacketStatusOutServerInfo.ServerInfo info
public PacketStatusOutServerInfo()
public PacketStatusOutServerInfo(PacketStatusOutServerInfo.ServerInfo info)
public java.lang.Object getVanillaPacket()
WrappedPacket
getVanillaPacket
in class WrappedPacket
public void loadVanillaPacket(java.lang.Object packet)
WrappedPacket
loadVanillaPacket
in class WrappedPacket
packet
- - The loadable packet