RemoteDebugSampleType .java

net.minecraft.util.debugchart.RemoteDebugSampleType (enum, 19 lines): members: TICK_TIME, subscription. imports: DebugSubscription, DebugSubscriptions.

net.minecraft.util.debugchartenum19 linescommon476 B

API Surface (1)

DebugSubscription<?> subscription()

Fields & Constants (1)

subscription

Code Graph: Dependencies (2)

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

Full Source

RemoteDebugSampleType.java19 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.util.debugchart;
2
3
import net.minecraft.util.debug.DebugSubscription;
4
import net.minecraft.util.debug.DebugSubscriptions;
5
6
public enum RemoteDebugSampleType {
7
	TICK_TIME(DebugSubscriptions.DEDICATED_SERVER_TICK_TIME);
8
9
	private final DebugSubscription<?> subscription;
10
11
	RemoteDebugSampleType(final DebugSubscription<?> subscription) {
12
		this.subscription = subscription;
13
	}
14
15
	public DebugSubscription<?> subscription() {
16
		return this.subscription;
17
	}
18
}
19

Decompiled Minecraft 26.3 source of RemoteDebugSampleType (net/minecraft/util/debugchart/RemoteDebugSampleType.java) with Mojang official mappings, stored verbatim on the site.