Class DebugHud

java.lang.Object
net.minecraft.client.gui.hud.DebugHud

@Environment(CLIENT) public class DebugHud extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/DebugHud
intermediary net/minecraft/class_340
official fiu
  • Field Details

    • TEXT_COLOR

      private static final int TEXT_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named TEXT_COLOR Lnet/minecraft/client/gui/hud/DebugHud;TEXT_COLOR:I
      intermediary field_32187 Lnet/minecraft/class_340;field_32187:I
      official a Lfiu;a:I
    • field_32188

      private static final int field_32188
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32188 Lnet/minecraft/client/gui/hud/DebugHud;field_32188:I
      intermediary field_32188 Lnet/minecraft/class_340;field_32188:I
      official b Lfiu;b:I
    • field_32189

      private static final int field_32189
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32189 Lnet/minecraft/client/gui/hud/DebugHud;field_32189:I
      intermediary field_32189 Lnet/minecraft/class_340;field_32189:I
      official c Lfiu;c:I
    • field_32190

      private static final int field_32190
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32190 Lnet/minecraft/client/gui/hud/DebugHud;field_32190:I
      intermediary field_32190 Lnet/minecraft/class_340;field_32190:I
      official d Lfiu;d:I
    • HEIGHT_MAP_TYPES

      private static final Map<Heightmap.Type,String> HEIGHT_MAP_TYPES
      Mappings:
      Namespace Name Mixin selector
      named HEIGHT_MAP_TYPES Lnet/minecraft/client/gui/hud/DebugHud;HEIGHT_MAP_TYPES:Ljava/util/Map;
      intermediary field_19274 Lnet/minecraft/class_340;field_19274:Ljava/util/Map;
      official e Lfiu;e:Ljava/util/Map;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/gui/hud/DebugHud;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_2079 Lnet/minecraft/class_340;field_2079:Lnet/minecraft/class_310;
      official f Lfiu;f:Lfgo;
    • allocationRateCalculator

      private final DebugHud.AllocationRateCalculator allocationRateCalculator
      Mappings:
      Namespace Name Mixin selector
      named allocationRateCalculator Lnet/minecraft/client/gui/hud/DebugHud;allocationRateCalculator:Lnet/minecraft/client/gui/hud/DebugHud$AllocationRateCalculator;
      intermediary field_38985 Lnet/minecraft/class_340;field_38985:Lnet/minecraft/class_340$class_7412;
      official g Lfiu;g:Lfiu$a;
    • textRenderer

      private final TextRenderer textRenderer
      Mappings:
      Namespace Name Mixin selector
      named textRenderer Lnet/minecraft/client/gui/hud/DebugHud;textRenderer:Lnet/minecraft/client/font/TextRenderer;
      intermediary field_2081 Lnet/minecraft/class_340;field_2081:Lnet/minecraft/class_327;
      official h Lfiu;h:Lfhx;
    • blockHit

      private HitResult blockHit
      Mappings:
      Namespace Name Mixin selector
      named blockHit Lnet/minecraft/client/gui/hud/DebugHud;blockHit:Lnet/minecraft/util/hit/HitResult;
      intermediary field_2082 Lnet/minecraft/class_340;field_2082:Lnet/minecraft/class_239;
      official i Lfiu;i:Lexa;
    • fluidHit

      private HitResult fluidHit
      Mappings:
      Namespace Name Mixin selector
      named fluidHit Lnet/minecraft/client/gui/hud/DebugHud;fluidHit:Lnet/minecraft/util/hit/HitResult;
      intermediary field_2083 Lnet/minecraft/class_340;field_2083:Lnet/minecraft/class_239;
      official j Lfiu;j:Lexa;
    • pos

      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/client/gui/hud/DebugHud;pos:Lnet/minecraft/util/math/ChunkPos;
      intermediary field_2085 Lnet/minecraft/class_340;field_2085:Lnet/minecraft/class_1923;
      official k Lfiu;k:Ldcd;
    • chunk

      Mappings:
      Namespace Name Mixin selector
      named chunk Lnet/minecraft/client/gui/hud/DebugHud;chunk:Lnet/minecraft/world/chunk/WorldChunk;
      intermediary field_2084 Lnet/minecraft/class_340;field_2084:Lnet/minecraft/class_2818;
      official l Lfiu;l:Ldvi;
    • chunkFuture

      Mappings:
      Namespace Name Mixin selector
      named chunkFuture Lnet/minecraft/client/gui/hud/DebugHud;chunkFuture:Ljava/util/concurrent/CompletableFuture;
      intermediary field_2080 Lnet/minecraft/class_340;field_2080:Ljava/util/concurrent/CompletableFuture;
      official m Lfiu;m:Ljava/util/concurrent/CompletableFuture;
    • showDebugHud

      private boolean showDebugHud
      Mappings:
      Namespace Name Mixin selector
      named showDebugHud Lnet/minecraft/client/gui/hud/DebugHud;showDebugHud:Z
      intermediary field_45988 Lnet/minecraft/class_340;field_45988:Z
      official n Lfiu;n:Z
    • renderingChartVisible

      private boolean renderingChartVisible
      Mappings:
      Namespace Name Mixin selector
      named renderingChartVisible Lnet/minecraft/client/gui/hud/DebugHud;renderingChartVisible:Z
      intermediary field_45989 Lnet/minecraft/class_340;field_45989:Z
      official o Lfiu;o:Z
    • renderingAndTickChartsVisible

      private boolean renderingAndTickChartsVisible
      Mappings:
      Namespace Name Mixin selector
      named renderingAndTickChartsVisible Lnet/minecraft/client/gui/hud/DebugHud;renderingAndTickChartsVisible:Z
      intermediary field_45990 Lnet/minecraft/class_340;field_45990:Z
      official p Lfiu;p:Z
    • packetSizeAndPingChartsVisible

      private boolean packetSizeAndPingChartsVisible
      Mappings:
      Namespace Name Mixin selector
      named packetSizeAndPingChartsVisible Lnet/minecraft/client/gui/hud/DebugHud;packetSizeAndPingChartsVisible:Z
      intermediary field_45991 Lnet/minecraft/class_340;field_45991:Z
      official q Lfiu;q:Z
    • frameNanosLog

      private final MultiValueDebugSampleLogImpl frameNanosLog
      Mappings:
      Namespace Name Mixin selector
      named frameNanosLog Lnet/minecraft/client/gui/hud/DebugHud;frameNanosLog:Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;
      intermediary field_45992 Lnet/minecraft/class_340;field_45992:Lnet/minecraft/class_9191;
      official r Lfiu;r:Lblr;
    • tickNanosLog

      private final MultiValueDebugSampleLogImpl tickNanosLog
      Mappings:
      Namespace Name Mixin selector
      named tickNanosLog Lnet/minecraft/client/gui/hud/DebugHud;tickNanosLog:Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;
      intermediary field_45993 Lnet/minecraft/class_340;field_45993:Lnet/minecraft/class_9191;
      official s Lfiu;s:Lblr;
    • pingLog

      private final MultiValueDebugSampleLogImpl pingLog
      Mappings:
      Namespace Name Mixin selector
      named pingLog Lnet/minecraft/client/gui/hud/DebugHud;pingLog:Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;
      intermediary field_45994 Lnet/minecraft/class_340;field_45994:Lnet/minecraft/class_9191;
      official t Lfiu;t:Lblr;
    • packetSizeLog

      private final MultiValueDebugSampleLogImpl packetSizeLog
      Mappings:
      Namespace Name Mixin selector
      named packetSizeLog Lnet/minecraft/client/gui/hud/DebugHud;packetSizeLog:Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;
      intermediary field_45995 Lnet/minecraft/class_340;field_45995:Lnet/minecraft/class_9191;
      official u Lfiu;u:Lblr;
    • receivedDebugSamples

      private final Map<DebugSampleType,MultiValueDebugSampleLogImpl> receivedDebugSamples
      Mappings:
      Namespace Name Mixin selector
      named receivedDebugSamples Lnet/minecraft/client/gui/hud/DebugHud;receivedDebugSamples:Ljava/util/Map;
      intermediary field_48931 Lnet/minecraft/class_340;field_48931:Ljava/util/Map;
      official v Lfiu;v:Ljava/util/Map;
    • renderingChart

      private final RenderingChart renderingChart
      Mappings:
      Namespace Name Mixin selector
      named renderingChart Lnet/minecraft/client/gui/hud/DebugHud;renderingChart:Lnet/minecraft/client/gui/hud/debug/RenderingChart;
      intermediary field_45910 Lnet/minecraft/class_340;field_45910:Lnet/minecraft/class_8757;
      official w Lfiu;w:Lfkd;
    • tickChart

      private final TickChart tickChart
      Mappings:
      Namespace Name Mixin selector
      named tickChart Lnet/minecraft/client/gui/hud/DebugHud;tickChart:Lnet/minecraft/client/gui/hud/debug/TickChart;
      intermediary field_45913 Lnet/minecraft/class_340;field_45913:Lnet/minecraft/class_8759;
      official x Lfiu;x:Lfkf;
    • pingChart

      private final PingChart pingChart
      Mappings:
      Namespace Name Mixin selector
      named pingChart Lnet/minecraft/client/gui/hud/DebugHud;pingChart:Lnet/minecraft/client/gui/hud/debug/PingChart;
      intermediary field_45911 Lnet/minecraft/class_340;field_45911:Lnet/minecraft/class_8758;
      official y Lfiu;y:Lfke;
    • packetSizeChart

      private final PacketSizeChart packetSizeChart
      Mappings:
      Namespace Name Mixin selector
      named packetSizeChart Lnet/minecraft/client/gui/hud/DebugHud;packetSizeChart:Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;
      intermediary field_45912 Lnet/minecraft/class_340;field_45912:Lnet/minecraft/class_8756;
      official z Lfiu;z:Lfkc;
  • Constructor Details

    • DebugHud

      public DebugHud(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/DebugHud;<init>(Lnet/minecraft/client/MinecraftClient;)V
      intermediary <init> Lnet/minecraft/class_340;<init>(Lnet/minecraft/class_310;)V
      official <init> Lfiu;<init>(Lfgo;)V
  • Method Details

    • resetChunk

      public void resetChunk()
      Mappings:
      Namespace Name Mixin selector
      named resetChunk Lnet/minecraft/client/gui/hud/DebugHud;resetChunk()V
      intermediary method_1842 Lnet/minecraft/class_340;method_1842()V
      official a Lfiu;a()V
    • render

      public void render(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/hud/DebugHud;render(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_1846 Lnet/minecraft/class_340;method_1846(Lnet/minecraft/class_332;)V
      official a Lfiu;a(Lfhz;)V
    • drawLeftText

      protected void drawLeftText(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawLeftText Lnet/minecraft/client/gui/hud/DebugHud;drawLeftText(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_1847 Lnet/minecraft/class_340;method_1847(Lnet/minecraft/class_332;)V
      official b Lfiu;b(Lfhz;)V
    • drawRightText

      protected void drawRightText(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawRightText Lnet/minecraft/client/gui/hud/DebugHud;drawRightText(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_1848 Lnet/minecraft/class_340;method_1848(Lnet/minecraft/class_332;)V
      official c Lfiu;c(Lfhz;)V
    • drawText

      private void drawText(DrawContext context, List<String> text, boolean left)
      Mappings:
      Namespace Name Mixin selector
      named drawText Lnet/minecraft/client/gui/hud/DebugHud;drawText(Lnet/minecraft/client/gui/DrawContext;Ljava/util/List;Z)V
      intermediary method_51745 Lnet/minecraft/class_340;method_51745(Lnet/minecraft/class_332;Ljava/util/List;Z)V
      official a Lfiu;a(Lfhz;Ljava/util/List;Z)V
    • getLeftText

      protected List<String> getLeftText()
      Mappings:
      Namespace Name Mixin selector
      named getLeftText Lnet/minecraft/client/gui/hud/DebugHud;getLeftText()Ljava/util/List;
      intermediary method_1835 Lnet/minecraft/class_340;method_1835()Ljava/util/List;
      official b Lfiu;b()Ljava/util/List;
    • getBiomeString

      private static String getBiomeString(RegistryEntry<Biome> biome)
      Mappings:
      Namespace Name Mixin selector
      named getBiomeString Lnet/minecraft/client/gui/hud/DebugHud;getBiomeString(Lnet/minecraft/registry/entry/RegistryEntry;)Ljava/lang/String;
      intermediary method_40205 Lnet/minecraft/class_340;method_40205(Lnet/minecraft/class_6880;)Ljava/lang/String;
      official a Lfiu;a(Ljm;)Ljava/lang/String;
    • getServerWorld

      @Nullable private @Nullable ServerWorld getServerWorld()
      Mappings:
      Namespace Name Mixin selector
      named getServerWorld Lnet/minecraft/client/gui/hud/DebugHud;getServerWorld()Lnet/minecraft/server/world/ServerWorld;
      intermediary method_20603 Lnet/minecraft/class_340;method_20603()Lnet/minecraft/class_3218;
      official p Lfiu;p()Laqu;
    • getServerWorldDebugString

      @Nullable private @Nullable String getServerWorldDebugString()
      Mappings:
      Namespace Name Mixin selector
      named getServerWorldDebugString Lnet/minecraft/client/gui/hud/DebugHud;getServerWorldDebugString()Ljava/lang/String;
      intermediary method_27871 Lnet/minecraft/class_340;method_27871()Ljava/lang/String;
      official q Lfiu;q()Ljava/lang/String;
    • getWorld

      private World getWorld()
      Mappings:
      Namespace Name Mixin selector
      named getWorld Lnet/minecraft/client/gui/hud/DebugHud;getWorld()Lnet/minecraft/world/World;
      intermediary method_1840 Lnet/minecraft/class_340;method_1840()Lnet/minecraft/class_1937;
      official r Lfiu;r()Ldcw;
    • getChunk

      @Nullable private @Nullable WorldChunk getChunk()
      Mappings:
      Namespace Name Mixin selector
      named getChunk Lnet/minecraft/client/gui/hud/DebugHud;getChunk()Lnet/minecraft/world/chunk/WorldChunk;
      intermediary method_1834 Lnet/minecraft/class_340;method_1834()Lnet/minecraft/class_2818;
      official s Lfiu;s()Ldvi;
    • getClientChunk

      private WorldChunk getClientChunk()
      Mappings:
      Namespace Name Mixin selector
      named getClientChunk Lnet/minecraft/client/gui/hud/DebugHud;getClientChunk()Lnet/minecraft/world/chunk/WorldChunk;
      intermediary method_1836 Lnet/minecraft/class_340;method_1836()Lnet/minecraft/class_2818;
      official t Lfiu;t()Ldvi;
    • getRightText

      protected List<String> getRightText()
      Mappings:
      Namespace Name Mixin selector
      named getRightText Lnet/minecraft/client/gui/hud/DebugHud;getRightText()Ljava/util/List;
      intermediary method_1839 Lnet/minecraft/class_340;method_1839()Ljava/util/List;
      official c Lfiu;c()Ljava/util/List;
    • propertyToString

      private String propertyToString(Map.Entry<Property<?>,Comparable<?>> propEntry)
      Mappings:
      Namespace Name Mixin selector
      named propertyToString Lnet/minecraft/client/gui/hud/DebugHud;propertyToString(Ljava/util/Map$Entry;)Ljava/lang/String;
      intermediary method_1845 Lnet/minecraft/class_340;method_1845(Ljava/util/Map$Entry;)Ljava/lang/String;
      official a Lfiu;a(Ljava/util/Map$Entry;)Ljava/lang/String;
    • toMiB

      private static long toMiB(long bytes)
      Mappings:
      Namespace Name Mixin selector
      named toMiB Lnet/minecraft/client/gui/hud/DebugHud;toMiB(J)J
      intermediary method_1838 Lnet/minecraft/class_340;method_1838(J)J
      official b Lfiu;b(J)J
    • shouldShowDebugHud

      public boolean shouldShowDebugHud()
      Mappings:
      Namespace Name Mixin selector
      named shouldShowDebugHud Lnet/minecraft/client/gui/hud/DebugHud;shouldShowDebugHud()Z
      intermediary method_53536 Lnet/minecraft/class_340;method_53536()Z
      official d Lfiu;d()Z
    • shouldShowRenderingChart

      public boolean shouldShowRenderingChart()
      Mappings:
      Namespace Name Mixin selector
      named shouldShowRenderingChart Lnet/minecraft/client/gui/hud/DebugHud;shouldShowRenderingChart()Z
      intermediary method_53537 Lnet/minecraft/class_340;method_53537()Z
      official e Lfiu;e()Z
    • shouldShowPacketSizeAndPingCharts

      public boolean shouldShowPacketSizeAndPingCharts()
      Mappings:
      Namespace Name Mixin selector
      named shouldShowPacketSizeAndPingCharts Lnet/minecraft/client/gui/hud/DebugHud;shouldShowPacketSizeAndPingCharts()Z
      intermediary method_53538 Lnet/minecraft/class_340;method_53538()Z
      official f Lfiu;f()Z
    • shouldRenderTickCharts

      public boolean shouldRenderTickCharts()
      Mappings:
      Namespace Name Mixin selector
      named shouldRenderTickCharts Lnet/minecraft/client/gui/hud/DebugHud;shouldRenderTickCharts()Z
      intermediary method_56829 Lnet/minecraft/class_340;method_56829()Z
      official g Lfiu;g()Z
    • toggleDebugHud

      public void toggleDebugHud()
      Mappings:
      Namespace Name Mixin selector
      named toggleDebugHud Lnet/minecraft/client/gui/hud/DebugHud;toggleDebugHud()V
      intermediary method_53539 Lnet/minecraft/class_340;method_53539()V
      official h Lfiu;h()V
    • togglePacketSizeAndPingCharts

      public void togglePacketSizeAndPingCharts()
      Mappings:
      Namespace Name Mixin selector
      named togglePacketSizeAndPingCharts Lnet/minecraft/client/gui/hud/DebugHud;togglePacketSizeAndPingCharts()V
      intermediary method_53540 Lnet/minecraft/class_340;method_53540()V
      official i Lfiu;i()V
    • toggleRenderingAndTickCharts

      public void toggleRenderingAndTickCharts()
      Mappings:
      Namespace Name Mixin selector
      named toggleRenderingAndTickCharts Lnet/minecraft/client/gui/hud/DebugHud;toggleRenderingAndTickCharts()V
      intermediary method_53541 Lnet/minecraft/class_340;method_53541()V
      official j Lfiu;j()V
    • toggleRenderingChart

      public void toggleRenderingChart()
      Mappings:
      Namespace Name Mixin selector
      named toggleRenderingChart Lnet/minecraft/client/gui/hud/DebugHud;toggleRenderingChart()V
      intermediary method_53542 Lnet/minecraft/class_340;method_53542()V
      official k Lfiu;k()V
    • pushToFrameLog

      public void pushToFrameLog(long value)
      Mappings:
      Namespace Name Mixin selector
      named pushToFrameLog Lnet/minecraft/client/gui/hud/DebugHud;pushToFrameLog(J)V
      intermediary method_53534 Lnet/minecraft/class_340;method_53534(J)V
      official a Lfiu;a(J)V
    • getTickNanosLog

      public MultiValueDebugSampleLogImpl getTickNanosLog()
      Mappings:
      Namespace Name Mixin selector
      named getTickNanosLog Lnet/minecraft/client/gui/hud/DebugHud;getTickNanosLog()Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;
      intermediary method_56577 Lnet/minecraft/class_340;method_56577()Lnet/minecraft/class_9191;
      official l Lfiu;l()Lblr;
    • getPingLog

      public MultiValueDebugSampleLogImpl getPingLog()
      Mappings:
      Namespace Name Mixin selector
      named getPingLog Lnet/minecraft/client/gui/hud/DebugHud;getPingLog()Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;
      intermediary method_53543 Lnet/minecraft/class_340;method_53543()Lnet/minecraft/class_9191;
      official m Lfiu;m()Lblr;
    • getPacketSizeLog

      public MultiValueDebugSampleLogImpl getPacketSizeLog()
      Mappings:
      Namespace Name Mixin selector
      named getPacketSizeLog Lnet/minecraft/client/gui/hud/DebugHud;getPacketSizeLog()Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;
      intermediary method_53544 Lnet/minecraft/class_340;method_53544()Lnet/minecraft/class_9191;
      official n Lfiu;n()Lblr;
    • set

      public void set(long[] values, DebugSampleType type)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/client/gui/hud/DebugHud;set([JLnet/minecraft/util/profiler/log/DebugSampleType;)V
      intermediary method_56828 Lnet/minecraft/class_340;method_56828([JLnet/minecraft/class_9192;)V
      official a Lfiu;a([JLbls;)V
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/client/gui/hud/DebugHud;clear()V
      intermediary method_53545 Lnet/minecraft/class_340;method_53545()V
      official o Lfiu;o()V