Class PacketDecryptor

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

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

    • manager

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

    • PacketDecryptor

      public PacketDecryptor(Cipher cipher)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/encryption/PacketDecryptor;<init>(Ljavax/crypto/Cipher;)V
      intermediary <init> Lnet/minecraft/class_2528;<init>(Ljavax/crypto/Cipher;)V
      official <init> Lwk;<init>(Ljavax/crypto/Cipher;)V
  • 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
      named decode Lnet/minecraft/network/encryption/PacketDecryptor;decode(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
      official a Lwk;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V