Class PacketBundler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

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

    • handler

      private final PacketBundleHandler handler
      Mappings:
      Namespace Name Mixin selector
      named handler Lnet/minecraft/network/handler/PacketBundler;handler:Lnet/minecraft/network/handler/PacketBundleHandler;
      intermediary field_48534 Lnet/minecraft/class_8035;field_48534:Lnet/minecraft/class_8039;
      official a Lwx;a:Laab;
    • currentBundler

      @Nullable private PacketBundleHandler.Bundler currentBundler
      Mappings:
      Namespace Name Mixin selector
      named currentBundler Lnet/minecraft/network/handler/PacketBundler;currentBundler:Lnet/minecraft/network/handler/PacketBundleHandler$Bundler;
      intermediary field_41869 Lnet/minecraft/class_8035;field_41869:Lnet/minecraft/class_8039$class_8040;
      official b Lwx;b:Laab$a;
  • Constructor Details

    • PacketBundler

      public PacketBundler(PacketBundleHandler handler)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/handler/PacketBundler;<init>(Lnet/minecraft/network/handler/PacketBundleHandler;)V
      intermediary <init> Lnet/minecraft/class_8035;<init>(Lnet/minecraft/class_8039;)V
      official <init> Lwx;<init>(Laab;)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
      named decode Lnet/minecraft/network/handler/PacketBundler;decode(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/packet/Packet;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
      official a Lwx;a(Lio/netty/channel/ChannelHandlerContext;Laac;Ljava/util/List;)V
    • ensureNotTransitioning

      private static void ensureNotTransitioning(Packet<?> packet)
      Mappings:
      Namespace Name Mixin selector
      named ensureNotTransitioning Lnet/minecraft/network/handler/PacketBundler;ensureNotTransitioning(Lnet/minecraft/network/packet/Packet;)V
      intermediary method_56346 Lnet/minecraft/class_8035;method_56346(Lnet/minecraft/class_2596;)V
      official a Lwx;a(Laac;)V