Class DebugEntryMemory
java.lang.Object
net.minecraft.client.gui.components.debug.DebugEntryMemory
- All Implemented Interfaces:
DebugScreenEntry
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DebugEntryMemory.AllocationRateCalculatorstatic final Identifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static longbytesToMegabytes(long used) voiddisplay(DebugScreenDisplayer displayer, @Nullable Level serverOrClientLevel, @Nullable LevelChunk clientChunk, @Nullable LevelChunk serverChunk) booleanisAllowed(boolean reducedDebugInfo) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DebugScreenEntry
category
-
Field Details
-
GROUP
-
allocationRateCalculator
-
-
Constructor Details
-
DebugEntryMemory
public DebugEntryMemory()
-
-
Method Details
-
display
public void display(DebugScreenDisplayer displayer, @Nullable Level serverOrClientLevel, @Nullable LevelChunk clientChunk, @Nullable LevelChunk serverChunk) - Specified by:
displayin interfaceDebugScreenEntry
-
bytesToMegabytes
private static long bytesToMegabytes(long used) -
isAllowed
public boolean isAllowed(boolean reducedDebugInfo) - Specified by:
isAllowedin interfaceDebugScreenEntry
-