Class SizePrepender

All Implemented Interfaces:
ChannelHandler, ChannelOutboundHandler

@Sharable
public class SizePrepender
extends MessageToByteEncoder<ByteBuf>
Mappings:
Namespace Name
official od
intermediary net/minecraft/class_2552
named net/minecraft/network/SizePrepender
  • Constructor Details

    • SizePrepender

      public SizePrepender()
  • Method Details

    • encode

      protected void encode​(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, ByteBuf byteBuf2)
      Specified by:
      encode in class MessageToByteEncoder<ByteBuf>
      Mappings:
      Namespace Name Mixin selector
      official a Lod;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
      intermediary method_10840 Lnet/minecraft/class_2552;method_10840(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
      named encode Lnet/minecraft/network/SizePrepender;encode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V