DebugScreenEntry .java

net.minecraft.client.gui.components.debug.DebugScreenEntry (interface): members: isAllowed, category, display. imports: LevelChunk, Level, Nullable.

net.minecraft.client.gui.components.debuginterface21 linesclient654 B

API Surface (0)

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

Code Graph: Dependencies (4)

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

Full Source

DebugScreenEntry.java21 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.gui.components.debug;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
import net.minecraft.world.level.Level;
6
import net.minecraft.world.level.chunk.LevelChunk;
7
import org.jspecify.annotations.Nullable;
8
9
@Environment(EnvType.CLIENT)
10
public interface DebugScreenEntry {
11
	void display(DebugScreenDisplayer displayer, @Nullable Level serverOrClientLevel, @Nullable LevelChunk clientChunk, @Nullable LevelChunk serverChunk);
12
13
	default boolean isAllowed(final boolean reducedDebugInfo) {
14
		return !reducedDebugInfo;
15
	}
16
17
	default DebugEntryCategory category() {
18
		return DebugEntryCategory.SCREEN_TEXT;
19
	}
20
}
21

Decompiled Minecraft 26.3 source of DebugScreenEntry (net/minecraft/client/gui/components/debug/DebugScreenEntry.java) with Mojang official mappings, stored verbatim on the site.