Class PacketEncryptor

All Implemented Interfaces:
ChannelHandler, ChannelOutboundHandler

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

    • field_5946

      private final PacketEncryptionManager field_5946
      Mappings:
      Namespace Name Mixin selector
      official a Leh;a:Lef;
      intermediary field_5946 Lnet/minecraft/class_1429;field_5946:Lnet/minecraft/class_1427;
      named field_5946 Lnet/minecraft/network/encryption/PacketEncryptor;field_5946: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 Leh;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
      intermediary method_5088 Lnet/minecraft/class_1429;method_5088(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