Class EmotePacket

java.lang.Object
io.github.kosmx.emotes.common.network.EmotePacket

public final class EmotePacket extends Object
Send everything emotes mod data...
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
    EmotePacket builder.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final NetData
     
    static final it.unimi.dsi.fastutil.bytes.Byte2ByteMap
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EmotePacket(@NotNull io.netty.buffer.ByteBuf byteBuf)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(io.netty.buffer.ByteBuf buf)
     
    void
    write(io.netty.buffer.ByteBuf buf, io.netty.buffer.ByteBufAllocator allocator)
    Write packet to a new ByteBuf

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • defaultVersions

      public static final it.unimi.dsi.fastutil.bytes.Byte2ByteMap defaultVersions
    • data

      public final NetData data
  • Constructor Details

    • EmotePacket

      public EmotePacket(@NotNull @NotNull io.netty.buffer.ByteBuf byteBuf)
  • Method Details

    • write

      public void write(io.netty.buffer.ByteBuf buf)
    • write

      public void write(io.netty.buffer.ByteBuf buf, io.netty.buffer.ByteBufAllocator allocator)
      Write packet to a new ByteBuf