Interface ICustomPacket<T extends Packet<?>>
- All Known Implementing Classes:
ClientboundCustomPayloadPacket
,ClientboundCustomQueryPacket
,ServerboundCustomPayloadPacket
,ServerboundCustomQueryPacket
public interface ICustomPacket<T extends Packet<?>>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault NetworkDirection
default int
getIndex()
default FriendlyByteBuf
default ResourceLocation
getName()
default T
getThis()
default void
setData(FriendlyByteBuf 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
-