Class PacketBundler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

public class PacketBundler extends MessageToMessageDecoder<Packet<?>>
Mappings:
Namespace Name
official uj
intermediary net/minecraft/class_8035
named net/minecraft/network/handler/PacketBundler
  • Field Details

    • currentBundler

      @Nullable private PacketBundleHandler.Bundler currentBundler
      Mappings:
      Namespace Name Mixin selector
      official a Luj;a:Lxe$a;
      intermediary field_41869 Lnet/minecraft/class_8035;field_41869:Lnet/minecraft/class_8039$class_8040;
      named currentBundler Lnet/minecraft/network/handler/PacketBundler;currentBundler:Lnet/minecraft/network/handler/PacketBundleHandler$Bundler;
    • bundleHandler

      @Nullable private @Nullable PacketBundleHandler bundleHandler
      Mappings:
      Namespace Name Mixin selector
      official b Luj;b:Lxe;
      intermediary field_41870 Lnet/minecraft/class_8035;field_41870:Lnet/minecraft/class_8039;
      named bundleHandler Lnet/minecraft/network/handler/PacketBundler;bundleHandler:Lnet/minecraft/network/handler/PacketBundleHandler;
    • protocolKey

      private final AttributeKey<? extends PacketBundleHandler.BundlerGetter> protocolKey
      Mappings:
      Namespace Name Mixin selector
      official c Luj;c:Lio/netty/util/AttributeKey;
      intermediary field_45675 Lnet/minecraft/class_8035;field_45675:Lio/netty/util/AttributeKey;
      named protocolKey Lnet/minecraft/network/handler/PacketBundler;protocolKey:Lio/netty/util/AttributeKey;
  • Constructor Details

    • PacketBundler

      public PacketBundler(AttributeKey<? extends PacketBundleHandler.BundlerGetter> protocolKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Luj;<init>(Lio/netty/util/AttributeKey;)V
      intermediary <init> Lnet/minecraft/class_8035;<init>(Lio/netty/util/AttributeKey;)V
      named <init> Lnet/minecraft/network/handler/PacketBundler;<init>(Lio/netty/util/AttributeKey;)V
  • Method Details

    • decode

      protected void decode(ChannelHandlerContext channelHandlerContext, Packet<?> packet, List<Object> list) throws Exception
      Specified by:
      decode in class MessageToMessageDecoder<Packet<?>>
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official a Luj;a(Lio/netty/channel/ChannelHandlerContext;Lxf;Ljava/util/List;)V
      intermediary method_48318 Lnet/minecraft/class_8035;method_48318(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/class_2596;Ljava/util/List;)V
      named decode Lnet/minecraft/network/handler/PacketBundler;decode(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/packet/Packet;Ljava/util/List;)V