Package net.minecraftforge.fml.network
Interface ICustomPacket<T extends IPacket<?>>
- All Known Implementing Classes:
CCustomPayloadLoginPacket
,CCustomPayloadPacket
,SCustomPayloadLoginPacket
,SCustomPayloadPlayPacket
public interface ICustomPacket<T extends IPacket<?>>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault NetworkDirection
default int
getIndex()
default PacketBuffer
default ResourceLocation
getName()
default T
getThis()
default void
setData
(PacketBuffer buffer) default void
setIndex
(int index) default void
setName
(ResourceLocation channelName)
-
Method Details
-
getInternalData
-
getName
-
getIndex
default int getIndex() -
setData
-
setName
-
setIndex
default void setIndex(int index) -
getDirection
-
getThis
-