ClientInfo .java

net.minecraft.server.jsonrpc.methods.ClientInfo (record, 8 lines): record with 1 component. members: connectionId.

net.minecraft.server.jsonrpc.methodsrecord8 linesserver199 B

API Surface (2)

record ClientInfo(Integer connectionId)
ClientInfo of(final Integer connectionId)

Full Source

ClientInfo.java8 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.server.jsonrpc.methods;
2
3
public record ClientInfo(Integer connectionId) {
4
	public static ClientInfo of(final Integer connectionId) {
5
		return new ClientInfo(connectionId);
6
	}
7
}
8

Decompiled Minecraft 26.3 source of ClientInfo (net/minecraft/server/jsonrpc/methods/ClientInfo.java) with Mojang official mappings, stored verbatim on the site.