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
official uz
intermediary net/minecraft/class_8038
named net/minecraft/network/packet/BundlePacket
  • Field Details

    • packets

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

    • BundlePacket

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

    • getPackets

      public final Iterable<Packet<T>> getPackets()
      Mappings:
      Namespace Name Mixin selector
      official a Luz;a()Ljava/lang/Iterable;
      intermediary method_48324 Lnet/minecraft/class_8038;method_48324()Ljava/lang/Iterable;
      named getPackets Lnet/minecraft/network/packet/BundlePacket;getPackets()Ljava/lang/Iterable;
    • write

      public final void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<T extends PacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvb;a(Lss;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V