ChunkIdentification .java

net.minecraft.util.profiling.jfr.stats.ChunkIdentification (record): members: dimension, level. strings: "chunkPosZ", "chunkPosX", "dimension", "level".

net.minecraft.util.profiling.jfr.statsrecord10 linescommon389 B

API Surface (2)

record ChunkIdentification(String level, String dimension, int x, int z)
ChunkIdentification from(final RecordedEvent event)

String literals (4)

"level"
"dimension"
"chunkPosX"
"chunkPosZ"

Full Source

ChunkIdentification.java10 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.util.profiling.jfr.stats;
2
3
import jdk.jfr.consumer.RecordedEvent;
4
5
public record ChunkIdentification(String level, String dimension, int x, int z) {
6
	public static ChunkIdentification from(final RecordedEvent event) {
7
		return new ChunkIdentification(event.getString("level"), event.getString("dimension"), event.getInt("chunkPosX"), event.getInt("chunkPosZ"));
8
	}
9
}
10

Decompiled Minecraft 26.3 source of ChunkIdentification (net/minecraft/util/profiling/jfr/stats/ChunkIdentification.java) with Mojang official mappings, stored verbatim on the site.