Class PacketUnbundler

All Implemented Interfaces:
ChannelHandler, ChannelOutboundHandler

public class PacketUnbundler extends MessageToMessageEncoder<Packet<?>>
Mappings:
Namespace Name
named net/minecraft/network/handler/PacketUnbundler
intermediary net/minecraft/class_8036
official vx
  • Field Details

    • bundleHandler

      private final PacketBundleHandler bundleHandler
      Mappings:
      Namespace Name Mixin selector
      named bundleHandler Lnet/minecraft/network/handler/PacketUnbundler;bundleHandler:Lnet/minecraft/network/handler/PacketBundleHandler;
      intermediary field_48535 Lnet/minecraft/class_8036;field_48535:Lnet/minecraft/class_8039;
      official a Lvx;a:Lza;
  • Constructor Details

    • PacketUnbundler

      public PacketUnbundler(PacketBundleHandler bundleHandler)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/handler/PacketUnbundler;<init>(Lnet/minecraft/network/handler/PacketBundleHandler;)V
      intermediary <init> Lnet/minecraft/class_8036;<init>(Lnet/minecraft/class_8039;)V
      official <init> Lvx;<init>(Lza;)V
  • Method Details

    • encode

      protected void encode(ChannelHandlerContext channelHandlerContext, Packet<?> packet, List<Object> list) throws Exception
      Specified by:
      encode in class MessageToMessageEncoder<Packet<?>>
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      named encode Lnet/minecraft/network/handler/PacketUnbundler;encode(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/packet/Packet;Ljava/util/List;)V
      intermediary method_48319 Lnet/minecraft/class_8036;method_48319(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/class_2596;Ljava/util/List;)V
      official a Lvx;a(Lio/netty/channel/ChannelHandlerContext;Lzb;Ljava/util/List;)V