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