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
FieldsModifier and TypeFieldDescriptionstatic final ResourceLocationprivate PacketBufferprivate ResourceLocation -
Constructor Summary
ConstructorsConstructorDescriptionCCustomPayloadPacket(ResourceLocation p_i49549_1_, PacketBuffer p_i49549_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(IServerPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.fml.network.ICustomPacket
getDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setNameMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
BRAND
-
identifier
-
data
-
-
Constructor Details
-
CCustomPayloadPacket
public CCustomPayloadPacket() -
CCustomPayloadPacket
-
-
Method Details
-
read
- Specified by:
readin interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IServerPlayNetHandler>
-