PacketType .java

net.minecraft.network.protocol.PacketType (record, 11 lines): record with 2 components. members: flow. imports: Identifier.

net.minecraft.network.protocolrecord11 linescommonextends Packet<250 B

API Surface (1)

String toString()

Code Graph: Dependencies (2)

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

Full Source

PacketType.java11 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.network.protocol;
2
3
import net.minecraft.resources.Identifier;
4
5
public record PacketType<T extends Packet<?>>(PacketFlow flow, Identifier id) {
6
	@Override
7
	public String toString() {
8
		return this.flow.id() + "/" + this.id;
9
	}
10
}
11

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