Class PacketDecryptor

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

public class PacketDecryptor
extends MessageToMessageDecoder<ByteBuf>
Mappings:
Namespace Name
official nq
intermediary net/minecraft/class_2528
named net/minecraft/network/encryption/PacketDecryptor
  • Field Details

    • manager

      private final PacketEncryptionManager manager
      Mappings:
      Namespace Name Mixin selector
      official a Lnq;a:Lnp;
      intermediary field_11619 Lnet/minecraft/class_2528;field_11619:Lnet/minecraft/class_2524;
      named manager Lnet/minecraft/network/encryption/PacketDecryptor;manager:Lnet/minecraft/network/encryption/PacketEncryptionManager;
  • Constructor Details

    • PacketDecryptor

      public PacketDecryptor​(Cipher cipher)
  • Method Details

    • decode

      protected void decode​(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, List<Object> list) throws Exception
      Specified by:
      decode in class MessageToMessageDecoder<ByteBuf>
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official a Lnq;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
      intermediary method_10735 Lnet/minecraft/class_2528;method_10735(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
      named decode Lnet/minecraft/network/encryption/PacketDecryptor;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V