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<ResourceLocation, DebugScreenEntryStatus> private final List<ResourceLocation> private longprivate final Fileprivate booleanprivate static final org.slf4j.Loggerprivate DebugScreenProfile -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetStatus(ResourceLocation pEntry) booleanisCurrentlyEnabled(ResourceLocation pEntry) booleanbooleanisUsingProfile(DebugScreenProfile pProfile) voidload()private voidvoidloadProfile(DebugScreenProfile pProfile) voidvoidsave()voidsetF3Visible(boolean pF3Visible) voidsetStatus(ResourceLocation pEntry, DebugScreenEntryStatus pStatus) voidbooleantoggleStatus(ResourceLocation pLocation)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
allStatuses
-
currentlyEnabled
-
isF3Visible
private boolean isF3Visible -
profile
-
debugProfileFile
-
currentlyEnabledVersion
private long currentlyEnabledVersion
-
-
Constructor Details
-
DebugScreenEntryList
-
-
Method Details
-
load
public void load() -
loadProfile
-
loadDefaultProfile
private void loadDefaultProfile() -
getStatus
-
isCurrentlyEnabled
-
setStatus
-
toggleStatus
-
getCurrentlyEnabled
-
toggleF3Visible
public void toggleF3Visible() -
setF3Visible
public void setF3Visible(boolean pF3Visible) -
isF3Visible
public boolean isF3Visible() -
rebuildCurrentList
public void rebuildCurrentList() -
getCurrentlyEnabledVersion
public long getCurrentlyEnabledVersion() -
isUsingProfile
-
save
public void save()
-