2025-11-24 22:52:51 +03:00

26 lines
644 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.network.protocol;
import net.minecraft.network.PacketListener;
import net.minecraft.network.protocol.Packet;
import net.minecraft.network.protocol.PacketType;
public abstract class BundlePacket<T extends PacketListener>
implements Packet<T> {
private final Iterable<Packet<? super T>> packets;
protected BundlePacket(Iterable<Packet<? super T>> packets) {
this.packets = packets;
}
public final Iterable<Packet<? super T>> subPackets() {
return this.packets;
}
@Override
public abstract PacketType<? extends BundlePacket<T>> type();
}