public class SCustomPayloadPlayPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>, ICustomPacket<SCustomPayloadPlayPacket>
ICustomPacket.Fields
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
BRAND |
private ResourceLocation |
channel |
private PacketBuffer |
data |
static ResourceLocation |
DEBUG_BRAIN |
static ResourceLocation |
DEBUG_CAVES |
static ResourceLocation |
DEBUG_GOAL_SELECTOR |
static ResourceLocation |
DEBUG_NEIGHBORS_UPDATE |
static ResourceLocation |
DEBUG_PATH |
static ResourceLocation |
DEBUG_POI_ADDED |
static ResourceLocation |
DEBUG_POI_REMOVED |
static ResourceLocation |
DEBUG_POI_TICKET_COUNT |
static ResourceLocation |
DEBUG_RAIDS |
static ResourceLocation |
DEBUG_STRUCTURES |
static ResourceLocation |
DEBUG_VILLAGE_SECTIONS |
static ResourceLocation |
DEBUG_WORLDGEN_ATTEMPT |
static ResourceLocation |
field_229727_m_ |
static ResourceLocation |
field_229728_n_ |
static ResourceLocation |
field_229729_o_ |
static ResourceLocation |
field_229730_p_ |
Constructor and Description |
---|
SCustomPayloadPlayPacket() |
SCustomPayloadPlayPacket(ResourceLocation channelIn,
PacketBuffer dataIn) |
Modifier and Type | Method and Description |
---|---|
PacketBuffer |
getBufferData() |
ResourceLocation |
getChannelName() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
getDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setName
public static final ResourceLocation BRAND
public static final ResourceLocation DEBUG_PATH
public static final ResourceLocation DEBUG_NEIGHBORS_UPDATE
public static final ResourceLocation DEBUG_CAVES
public static final ResourceLocation DEBUG_STRUCTURES
public static final ResourceLocation DEBUG_WORLDGEN_ATTEMPT
public static final ResourceLocation DEBUG_POI_TICKET_COUNT
public static final ResourceLocation DEBUG_POI_ADDED
public static final ResourceLocation DEBUG_POI_REMOVED
public static final ResourceLocation DEBUG_VILLAGE_SECTIONS
public static final ResourceLocation DEBUG_GOAL_SELECTOR
public static final ResourceLocation DEBUG_BRAIN
public static final ResourceLocation field_229727_m_
public static final ResourceLocation field_229728_n_
public static final ResourceLocation field_229729_o_
public static final ResourceLocation field_229730_p_
public static final ResourceLocation DEBUG_RAIDS
private ResourceLocation channel
private PacketBuffer data
public SCustomPayloadPlayPacket()
public SCustomPayloadPlayPacket(ResourceLocation channelIn, PacketBuffer dataIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public ResourceLocation getChannelName()
public PacketBuffer getBufferData()