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 ws
  • 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 Lws;a:Lzv;
  • 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> Lws;<init>(Lzv;)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 Lws;a(Lio/netty/channel/ChannelHandlerContext;Lzw;Ljava/util/List;)V