Class EmotePacket
java.lang.Object
io.github.kosmx.emotes.common.network.EmotePacket
Send everything emotes mod data...
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal NetDatastatic final it.unimi.dsi.fastutil.bytes.Byte2ByteMapstatic final EmotePacketSentinel returned by the decoder when an incoming packet can't be parsed and must be dropped instead of tearing down the netty connection. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(io.netty.buffer.ByteBuf buf, PacketBound target) Write packet to a ByteBuf.
-
Field Details
-
defaultVersions
public static final it.unimi.dsi.fastutil.bytes.Byte2ByteMap defaultVersions -
data
-
EMPTY
Sentinel returned by the decoder when an incoming packet can't be parsed and must be dropped instead of tearing down the netty connection. ItsPacketTask.UNKNOWNpurpose makes the receiver skip it.
-
-
Constructor Details
-
EmotePacket
-
-
Method Details
-
write
Write packet to a ByteBuf.
-