ClientboundBundlePacket .java

net.minecraft.network.protocol.game.ClientboundBundlePacket (class, 21 lines): members: handle, type. imports: BundlePacket, PacketType, Packet.

net.minecraft.network.protocol.gameclass21 linescommonextends BundlePacket<ClientGamePacketListener>621 B

API Surface (2)

PacketType<ClientboundBundlePacket> type()
void handle(final ClientGamePacketListener listener)

Same Package (197)

Code Graph: Dependencies (4)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

ClientboundBundlePacket.java21 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.network.protocol.game;
2
3
import net.minecraft.network.protocol.BundlePacket;
4
import net.minecraft.network.protocol.Packet;
5
import net.minecraft.network.protocol.PacketType;
6
7
public class ClientboundBundlePacket extends BundlePacket<ClientGamePacketListener> {
8
	public ClientboundBundlePacket(final Iterable<Packet<? super ClientGamePacketListener>> packets) {
9
		super(packets);
10
	}
11
12
	@Override
13
	public PacketType<ClientboundBundlePacket> type() {
14
		return GamePacketTypes.CLIENTBOUND_BUNDLE;
15
	}
16
17
	public void handle(final ClientGamePacketListener listener) {
18
		listener.handleBundlePacket(this);
19
	}
20
}
21

Decompiled Minecraft 26.3 source of ClientboundBundlePacket (net/minecraft/network/protocol/game/ClientboundBundlePacket.java) with Mojang official mappings, stored verbatim on the site.