public class CPacketCustomPayload extends java.lang.Object implements Packet<INetHandlerPlayServer>, ICustomPacket<CPacketCustomPayload>
ICustomPacket.Fields| Modifier and Type | Field and Description |
|---|---|
static ResourceLocation |
BRAND |
| Constructor and Description |
|---|
CPacketCustomPayload() |
CPacketCustomPayload(ResourceLocation channelIn,
PacketBuffer dataIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
processPacket(INetHandlerPlayServer handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldSkipErrorsgetData, getDirection, getIndex, getName, getThis, setData, setIndex, setNamepublic static final ResourceLocation BRAND
public CPacketCustomPayload()
public CPacketCustomPayload(ResourceLocation channelIn, PacketBuffer dataIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface Packet<INetHandlerPlayServer>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface Packet<INetHandlerPlayServer>java.io.IOExceptionpublic void processPacket(INetHandlerPlayServer handler)
processPacket in interface Packet<INetHandlerPlayServer>