Class CCustomPayloadPacket
java.lang.Object
net.minecraft.network.play.client.CCustomPayloadPacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
,ICustomPacket<CCustomPayloadPacket>
public class CCustomPayloadPacket
extends Object
implements IPacket<IServerPlayNetHandler>, ICustomPacket<CCustomPayloadPacket>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.fml.network.ICustomPacket
ICustomPacket.Fields
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ResourceLocation
private PacketBuffer
private ResourceLocation
-
Constructor Summary
ConstructorDescriptionCCustomPayloadPacket
(ResourceLocation p_i49549_1_, PacketBuffer p_i49549_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(IServerPlayNetHandler 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 Details
-
BRAND
-
identifier
-
data
-
-
Constructor Details
-
CCustomPayloadPacket
public CCustomPayloadPacket() -
CCustomPayloadPacket
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IServerPlayNetHandler>
-