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

14 lines
433 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.util.profiling.jfr.stats;
import jdk.jfr.consumer.RecordedEvent;
public record ChunkIdentification(String level, String dimension, int x, int z) {
public static ChunkIdentification from(RecordedEvent event) {
return new ChunkIdentification(event.getString("level"), event.getString("dimension"), event.getInt("chunkPosX"), event.getInt("chunkPosZ"));
}
}