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 SummaryNested classes/interfaces inherited from interface net.minecraftforge.fml.network.ICustomPacketICustomPacket.Fields
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final ResourceLocationprivate PacketBufferprivate ResourceLocation
- 
Constructor SummaryConstructorsConstructorDescriptionCCustomPayloadPacket(ResourceLocation p_i49549_1_, PacketBuffer p_i49549_2_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidhandle(IServerPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.fml.network.ICustomPacketgetDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setNameMethods inherited from interface net.minecraft.network.IPacketisSkippable
- 
Field Details- 
BRAND
- 
identifier
- 
data
 
- 
- 
Constructor Details- 
CCustomPayloadPacketpublic CCustomPayloadPacket()
- 
CCustomPayloadPacket
 
- 
- 
Method Details- 
read- Specified by:
- readin interface- IPacket<IServerPlayNetHandler>
- Throws:
- IOException
 
- 
write- Specified by:
- writein interface- IPacket<IServerPlayNetHandler>
- Throws:
- IOException
 
- 
handle- Specified by:
- handlein interface- IPacket<IServerPlayNetHandler>
 
 
-