DebugValueSource .java

net.minecraft.util.debug.DebugValueSource (interface, 17 lines): members: Registration, ValueGetter, registerDebugValues. imports: ServerLevel.

net.minecraft.util.debuginterface17 linescommon432 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (2)

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

Full Source

DebugValueSource.java17 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.util.debug;
2
3
import net.minecraft.server.level.ServerLevel;
4
import org.jspecify.annotations.Nullable;
5
6
public interface DebugValueSource {
7
	void registerDebugValues(ServerLevel level, DebugValueSource.Registration registration);
8
9
	interface Registration {
10
		<T> void register(DebugSubscription<T> subscription, DebugValueSource.ValueGetter<T> getter);
11
	}
12
13
	interface ValueGetter<T> {
14
		@Nullable T get();
15
	}
16
}
17

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