Class MemoryDebugHudEntry

java.lang.Object
net.minecraft.client.gui.hud.debug.MemoryDebugHudEntry
All Implemented Interfaces:
DebugHudEntry

@Environment(CLIENT) public class MemoryDebugHudEntry extends Object implements DebugHudEntry
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/debug/MemoryDebugHudEntry
intermediary net/minecraft/class_11618
official gfu
  • Field Details

    • SECTION_ID

      private static final Identifier SECTION_ID
      Mappings:
      Namespace Name Mixin selector
      named SECTION_ID Lnet/minecraft/client/gui/hud/debug/MemoryDebugHudEntry;SECTION_ID:Lnet/minecraft/util/Identifier;
      intermediary field_61547 Lnet/minecraft/class_11618;field_61547:Lnet/minecraft/class_2960;
      official a Lgfu;a:Lamj;
    • allocationRateCalculator

      private final MemoryDebugHudEntry.AllocationRateCalculator allocationRateCalculator
      Mappings:
      Namespace Name Mixin selector
      named allocationRateCalculator Lnet/minecraft/client/gui/hud/debug/MemoryDebugHudEntry;allocationRateCalculator:Lnet/minecraft/client/gui/hud/debug/MemoryDebugHudEntry$AllocationRateCalculator;
      intermediary field_61548 Lnet/minecraft/class_11618;field_61548:Lnet/minecraft/class_11618$class_7412;
      official b Lgfu;b:Lgfu$a;
  • Constructor Details

    • MemoryDebugHudEntry

      public MemoryDebugHudEntry()
  • Method Details

    • render

      public void render(DebugHudLines lines, @Nullable @Nullable World world, @Nullable @Nullable WorldChunk clientChunk, @Nullable @Nullable WorldChunk chunk)
      Specified by:
      render in interface DebugHudEntry
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/hud/debug/DebugHudEntry;render(Lnet/minecraft/client/gui/hud/debug/DebugHudLines;Lnet/minecraft/world/World;Lnet/minecraft/world/chunk/WorldChunk;Lnet/minecraft/world/chunk/WorldChunk;)V
      intermediary method_72751 Lnet/minecraft/class_11632;method_72751(Lnet/minecraft/class_11630;Lnet/minecraft/class_1937;Lnet/minecraft/class_2818;Lnet/minecraft/class_2818;)V
      official a Lggi;a(Lggg;Ldrq;Lelv;Lelv;)V
    • toMegabytes

      private static long toMegabytes(long bytes)
      Mappings:
      Namespace Name Mixin selector
      named toMegabytes Lnet/minecraft/client/gui/hud/debug/MemoryDebugHudEntry;toMegabytes(J)J
      intermediary method_72758 Lnet/minecraft/class_11618;method_72758(J)J
      official a Lgfu;a(J)J
    • canShow

      public boolean canShow(boolean reducedDebugInfo)
      Specified by:
      canShow in interface DebugHudEntry
      Mappings:
      Namespace Name Mixin selector
      named canShow Lnet/minecraft/client/gui/hud/debug/DebugHudEntry;canShow(Z)Z
      intermediary method_72753 Lnet/minecraft/class_11632;method_72753(Z)Z
      official a Lggi;a(Z)Z