Class SCustomPayloadPlayPacket
- java.lang.Object
-
- net.minecraft.network.play.server.SCustomPayloadPlayPacket
-
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
,ICustomPacket<SCustomPayloadPlayPacket>
public class SCustomPayloadPlayPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>, ICustomPacket<SCustomPayloadPlayPacket>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraftforge.fml.network.ICustomPacket
ICustomPacket.Fields
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceLocation
BRAND
private PacketBuffer
data
static ResourceLocation
DEBUG_BEE
static ResourceLocation
DEBUG_BRAIN
static ResourceLocation
DEBUG_CAVES_PACKET
static ResourceLocation
DEBUG_GAME_TEST_ADD_MARKER
static ResourceLocation
DEBUG_GAME_TEST_CLEAR
static ResourceLocation
DEBUG_GOAL_SELECTOR
static ResourceLocation
DEBUG_HIVE
static ResourceLocation
DEBUG_NEIGHBORSUPDATE_PACKET
static ResourceLocation
DEBUG_PATHFINDING_PACKET
static ResourceLocation
DEBUG_POI_ADDED_PACKET
static ResourceLocation
DEBUG_POI_REMOVED_PACKET
static ResourceLocation
DEBUG_POI_TICKET_COUNT_PACKET
static ResourceLocation
DEBUG_RAIDS
static ResourceLocation
DEBUG_STRUCTURES_PACKET
static ResourceLocation
DEBUG_VILLAGE_SECTIONS
static ResourceLocation
DEBUG_WORLDGENATTEMPT_PACKET
private ResourceLocation
identifier
-
Constructor Summary
Constructors Constructor Description SCustomPayloadPlayPacket()
SCustomPayloadPlayPacket(ResourceLocation p_i49517_1_, PacketBuffer p_i49517_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketBuffer
getData()
ResourceLocation
getIdentifier()
void
handle(IClientPlayNetHandler p_148833_1_)
void
read(PacketBuffer p_148837_1_)
void
write(PacketBuffer p_148840_1_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.fml.network.ICustomPacket
getDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setName
-
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
-
-
-
Field Detail
-
BRAND
public static final ResourceLocation BRAND
-
DEBUG_PATHFINDING_PACKET
public static final ResourceLocation DEBUG_PATHFINDING_PACKET
-
DEBUG_NEIGHBORSUPDATE_PACKET
public static final ResourceLocation DEBUG_NEIGHBORSUPDATE_PACKET
-
DEBUG_CAVES_PACKET
public static final ResourceLocation DEBUG_CAVES_PACKET
-
DEBUG_STRUCTURES_PACKET
public static final ResourceLocation DEBUG_STRUCTURES_PACKET
-
DEBUG_WORLDGENATTEMPT_PACKET
public static final ResourceLocation DEBUG_WORLDGENATTEMPT_PACKET
-
DEBUG_POI_TICKET_COUNT_PACKET
public static final ResourceLocation DEBUG_POI_TICKET_COUNT_PACKET
-
DEBUG_POI_ADDED_PACKET
public static final ResourceLocation DEBUG_POI_ADDED_PACKET
-
DEBUG_POI_REMOVED_PACKET
public static final ResourceLocation DEBUG_POI_REMOVED_PACKET
-
DEBUG_VILLAGE_SECTIONS
public static final ResourceLocation DEBUG_VILLAGE_SECTIONS
-
DEBUG_GOAL_SELECTOR
public static final ResourceLocation DEBUG_GOAL_SELECTOR
-
DEBUG_BRAIN
public static final ResourceLocation DEBUG_BRAIN
-
DEBUG_BEE
public static final ResourceLocation DEBUG_BEE
-
DEBUG_HIVE
public static final ResourceLocation DEBUG_HIVE
-
DEBUG_GAME_TEST_ADD_MARKER
public static final ResourceLocation DEBUG_GAME_TEST_ADD_MARKER
-
DEBUG_GAME_TEST_CLEAR
public static final ResourceLocation DEBUG_GAME_TEST_CLEAR
-
DEBUG_RAIDS
public static final ResourceLocation DEBUG_RAIDS
-
identifier
private ResourceLocation identifier
-
data
private PacketBuffer data
-
-
Constructor Detail
-
SCustomPayloadPlayPacket
public SCustomPayloadPlayPacket()
-
SCustomPayloadPlayPacket
public SCustomPayloadPlayPacket(ResourceLocation p_i49517_1_, PacketBuffer p_i49517_2_)
-
-
Method Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getIdentifier
public ResourceLocation getIdentifier()
-
getData
public PacketBuffer getData()
-
-