Class DebugScreenEntryList
java.lang.Object
net.minecraft.client.gui.components.debug.DebugScreenEntryList
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Identifier, DebugScreenEntryStatus> private final com.mojang.serialization.Codec<DebugScreenEntryList.SerializedOptions> private final List<Identifier> private longprivate final Fileprivate static final intprivate booleanprivate static final org.slf4j.Loggerprivate @Nullable DebugScreenProfile -
Constructor Summary
ConstructorsConstructorDescriptionDebugScreenEntryList(File workingDirectory, com.mojang.datafixers.DataFixer dataFixer) -
Method Summary
Modifier and TypeMethodDescriptionlonggetStatus(Identifier location) booleanisCurrentlyEnabled(Identifier location) booleanbooleanisUsingProfile(DebugScreenProfile profile) voidload()voidloadProfile(DebugScreenProfile profile) voidprivate voidresetStatuses(Map<Identifier, DebugScreenEntryStatus> newEntries) private voidresetToProfile(DebugScreenProfile profile) voidsave()voidsetOverlayVisible(boolean visible) voidsetStatus(Identifier location, DebugScreenEntryStatus status) voidbooleantoggleStatus(Identifier location)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
DEFAULT_DEBUG_PROFILE_VERSION
private static final int DEFAULT_DEBUG_PROFILE_VERSION- See Also:
-
allStatuses
-
currentlyEnabled
-
isOverlayVisible
private boolean isOverlayVisible -
profile
-
debugProfileFile
-
currentlyEnabledVersion
private long currentlyEnabledVersion -
codec
-
-
Constructor Details
-
DebugScreenEntryList
-
-
Method Details
-
load
public void load() -
resetStatuses
-
resetToProfile
-
loadProfile
-
getStatus
-
isCurrentlyEnabled
-
setStatus
-
toggleStatus
-
getCurrentlyEnabled
-
toggleDebugOverlay
public void toggleDebugOverlay() -
setOverlayVisible
public void setOverlayVisible(boolean visible) -
isOverlayVisible
public boolean isOverlayVisible() -
rebuildCurrentList
public void rebuildCurrentList() -
getCurrentlyEnabledVersion
public long getCurrentlyEnabledVersion() -
isUsingProfile
-
save
public void save()
-