Class PacketDecryptor

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

public class PacketDecryptor extends MessageToMessageDecoder<ByteBuf>
Mappings:
Namespace Name
official ph
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 Lph;a:Lpg;
      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)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lph;<init>(Ljavax/crypto/Cipher;)V
      intermediary <init> Lnet/minecraft/class_2528;<init>(Ljavax/crypto/Cipher;)V
      named <init> Lnet/minecraft/network/encryption/PacketDecryptor;<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
      official a Lph;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