Class BundlePacket<T extends PacketListener>

java.lang.Object
net.minecraft.network.packet.BundlePacket<T>
All Implemented Interfaces:
Packet<T>
Direct Known Subclasses:
BundleS2CPacket

public abstract class BundlePacket<T extends PacketListener> extends Object implements Packet<T>
Mappings:
Namespace Name
named net/minecraft/network/packet/BundlePacket
intermediary net/minecraft/class_8038
official zu
  • Field Details

    • packets

      private final Iterable<Packet<? super T extends PacketListener>> packets
      Mappings:
      Namespace Name Mixin selector
      named packets Lnet/minecraft/network/packet/BundlePacket;packets:Ljava/lang/Iterable;
      intermediary field_41876 Lnet/minecraft/class_8038;field_41876:Ljava/lang/Iterable;
      official a Lzu;a:Ljava/lang/Iterable;
  • Constructor Details

    • BundlePacket

      protected BundlePacket(Iterable<Packet<? super T>> packets)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/BundlePacket;<init>(Ljava/lang/Iterable;)V
      intermediary <init> Lnet/minecraft/class_8038;<init>(Ljava/lang/Iterable;)V
      official <init> Lzu;<init>(Ljava/lang/Iterable;)V
  • Method Details

    • getPackets

      public final Iterable<Packet<? super T>> getPackets()
      Mappings:
      Namespace Name Mixin selector
      named getPackets Lnet/minecraft/network/packet/BundlePacket;getPackets()Ljava/lang/Iterable;
      intermediary method_48324 Lnet/minecraft/class_8038;method_48324()Ljava/lang/Iterable;
      official b Lzu;b()Ljava/lang/Iterable;
    • getPacketId

      public abstract PacketType<? extends BundlePacket<T>> getPacketId()
      Specified by:
      getPacketId in interface Packet<T extends PacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzw;a()Lzy;