Interface PacketBundleHandler


public interface PacketBundleHandler
Mappings:
Namespace Name
named net/minecraft/network/handler/PacketBundleHandler
intermediary net/minecraft/class_8039
official zf
  • Field Details

    • MAX_PACKETS

      static final int MAX_PACKETS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_PACKETS Lnet/minecraft/network/handler/PacketBundleHandler;MAX_PACKETS:I
      intermediary field_41878 Lnet/minecraft/class_8039;field_41878:I
      official a Lzf;a:I
  • Method Details

    • create

      static <T extends PacketListener, P extends BundlePacket<? super T>> PacketBundleHandler create(PacketType<P> id, Function<Iterable<Packet<? super T>>,P> bundleFunction, BundleSplitterPacket<? super T> splitter)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/network/handler/PacketBundleHandler;create(Lnet/minecraft/network/packet/PacketType;Ljava/util/function/Function;Lnet/minecraft/network/packet/BundleSplitterPacket;)Lnet/minecraft/network/handler/PacketBundleHandler;
      intermediary method_48325 Lnet/minecraft/class_8039;method_48325(Lnet/minecraft/class_9145;Ljava/util/function/Function;Lnet/minecraft/class_8037;)Lnet/minecraft/class_8039;
      official a Lzf;a(Lzi;Ljava/util/function/Function;Lzd;)Lzf;
    • forEachPacket

      void forEachPacket(Packet<?> packet, Consumer<Packet<?>> consumer)
      Mappings:
      Namespace Name Mixin selector
      named forEachPacket Lnet/minecraft/network/handler/PacketBundleHandler;forEachPacket(Lnet/minecraft/network/packet/Packet;Ljava/util/function/Consumer;)V
      intermediary method_48327 Lnet/minecraft/class_8039;method_48327(Lnet/minecraft/class_2596;Ljava/util/function/Consumer;)V
      official a Lzf;a(Lzg;Ljava/util/function/Consumer;)V
    • createBundler

      Mappings:
      Namespace Name Mixin selector
      named createBundler Lnet/minecraft/network/handler/PacketBundleHandler;createBundler(Lnet/minecraft/network/packet/Packet;)Lnet/minecraft/network/handler/PacketBundleHandler$Bundler;
      intermediary method_48326 Lnet/minecraft/class_8039;method_48326(Lnet/minecraft/class_2596;)Lnet/minecraft/class_8039$class_8040;
      official a Lzf;a(Lzg;)Lzf$a;