public class PacketPlayInCustomPayload extends WrappedPacket implements ConfigSerialization.StringSerializable
Constructor and Description |
---|
PacketPlayInCustomPayload() |
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
|
java.lang.String |
toString() |
toNMS
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 packetpublic java.lang.String toString()
toString
in interface ConfigSerialization.StringSerializable
toString
in class java.lang.Object