public class NPacketPlayInCustomPayload extends Object implements NPacketPlayIn
Constructor and Description |
---|
NPacketPlayInCustomPayload() |
Modifier and Type | Method and Description |
---|---|
PacketType |
getPacketType()
Get type of packet
|
void |
read(PacketSerializer serializer,
Version version)
Read packet from given serializer.
|
void |
write(PacketSerializer serializer,
Version version)
Write packet to given serializer
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, getPacketName
public String channel
public byte[] data
public void read(PacketSerializer serializer, Version version)
NPacket
public void write(PacketSerializer serializer, Version version)
NPacket
public PacketType getPacketType()
NPacket
getPacketType
in interface NPacket