Class PacketBundler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

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

    • currentBundler

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

      @Nullable private @Nullable PacketBundleHandler bundleHandler
      Mappings:
      Namespace Name Mixin selector
      official b Lst;b:Lva;
      intermediary field_41870 Lnet/minecraft/class_8035;field_41870:Lnet/minecraft/class_8039;
      named bundleHandler Lnet/minecraft/network/PacketBundler;bundleHandler:Lnet/minecraft/network/PacketBundleHandler;
    • side

      private final NetworkSide side
      Mappings:
      Namespace Name Mixin selector
      official c Lst;c:Lvc;
      intermediary field_41871 Lnet/minecraft/class_8035;field_41871:Lnet/minecraft/class_2598;
      named side Lnet/minecraft/network/PacketBundler;side:Lnet/minecraft/network/NetworkSide;
  • Constructor Details

    • PacketBundler

      public PacketBundler(NetworkSide side)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lst;<init>(Lvc;)V
      intermediary <init> Lnet/minecraft/class_8035;<init>(Lnet/minecraft/class_2598;)V
      named <init> Lnet/minecraft/network/PacketBundler;<init>(Lnet/minecraft/network/NetworkSide;)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 Lst;a(Lio/netty/channel/ChannelHandlerContext;Lvb;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/PacketBundler;decode(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/packet/Packet;Ljava/util/List;)V