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 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetStatus(Identifier pEntry) booleanisCurrentlyEnabled(Identifier pEntry) booleanbooleanisUsingProfile(DebugScreenProfile pProfile) voidload()private voidvoidloadProfile(DebugScreenProfile pProfile) voidvoidsave()voidsetOverlayVisible(boolean pOverlayVisible) voidsetStatus(Identifier pEntry, DebugScreenEntryStatus pStatus) voidbooleantoggleStatus(Identifier pLocation)
-
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() -
loadProfile
-
loadDefaultProfile
private void loadDefaultProfile() -
getStatus
-
isCurrentlyEnabled
-
setStatus
-
toggleStatus
-
getCurrentlyEnabled
-
toggleDebugOverlay
public void toggleDebugOverlay() -
setOverlayVisible
public void setOverlayVisible(boolean pOverlayVisible) -
isOverlayVisible
public boolean isOverlayVisible() -
rebuildCurrentList
public void rebuildCurrentList() -
getCurrentlyEnabledVersion
public long getCurrentlyEnabledVersion() -
isUsingProfile
-
save
public void save()
-