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 wy
  • 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 Lwy;a:Laab;
  • 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> Lwy;<init>(Laab;)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 Lwy;a(Lio/netty/channel/ChannelHandlerContext;Laac;Ljava/util/List;)V