DebugScreenEntryStatus .java

net.minecraft.client.gui.components.debug.DebugScreenEntryStatus (enum, 26 lines): members: ALWAYS_ON, IN_OVERLAY, NEVER, getSerializedName, name, CODEC.

net.minecraft.client.gui.components.debugenum26 linesclient666 B

Implements

API Surface (1)

String getSerializedName()

Fields & Constants (2)

CODEC
name

String literals (3)

"alwaysOn"
"inOverlay"
"never"

Code Graph: Dependencies (1)

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

Full Source

DebugScreenEntryStatus.java26 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.gui.components.debug;
2
3
import com.mojang.serialization.Codec;
4
import net.fabricmc.api.EnvType;
5
import net.fabricmc.api.Environment;
6
import net.minecraft.util.StringRepresentable;
7
8
@Environment(EnvType.CLIENT)
9
public enum DebugScreenEntryStatus implements StringRepresentable {
10
	ALWAYS_ON("alwaysOn"),
11
	IN_OVERLAY("inOverlay"),
12
	NEVER("never");
13
14
	public static final Codec<DebugScreenEntryStatus> CODEC = StringRepresentable.fromEnum(DebugScreenEntryStatus::values);
15
	private final String name;
16
17
	DebugScreenEntryStatus(final String name) {
18
		this.name = name;
19
	}
20
21
	@Override
22
	public String getSerializedName() {
23
		return this.name;
24
	}
25
}
26

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