Class PacketEncryptor

All Implemented Interfaces:
ChannelHandler, ChannelOutboundHandler

public class PacketEncryptor extends MessageToByteEncoder<ByteBuf>
Mappings:
Namespace Name
official ej
intermediary net/minecraft/class_1956
named net/minecraft/network/encryption/PacketEncryptor
  • Field Details

    • field_8417

      private final PacketEncryptionManager field_8417
      Mappings:
      Namespace Name Mixin selector
      official a Lej;a:Leh;
      intermediary field_8417 Lnet/minecraft/class_1956;field_8417:Lnet/minecraft/class_1954;
      named field_8417 Lnet/minecraft/network/encryption/PacketEncryptor;field_8417:Lnet/minecraft/network/encryption/PacketEncryptionManager;
  • Constructor Details

    • PacketEncryptor

      public PacketEncryptor(Cipher cipher)
  • Method Details

    • encode

      protected void encode(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, ByteBuf byteBuf2) throws Exception
      Specified by:
      encode in class MessageToByteEncoder<ByteBuf>
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official a Lej;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
      intermediary method_7389 Lnet/minecraft/class_1956;method_7389(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
      named encode Lnet/minecraft/network/encryption/PacketEncryptor;encode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V