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 fom
  • 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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;f:Lfmf;
    • 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 Lfom;g:Lfom$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 Lfom;h:Lfnp;
    • 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 Lfom;i:Lfbv;
    • 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 Lfom;j:Lfbv;
    • 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 Lfom;k:Ldgn;
    • 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 Lfom;l:Ldzz;
    • 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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;r:Lboc;
    • 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 Lfom;s:Lboc;
    • 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 Lfom;t:Lboc;
    • 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 Lfom;u:Lboc;
    • 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 Lfom;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 Lfom;w:Lfpw;
    • 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 Lfom;x:Lfpz;
    • 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 Lfom;y:Lfpx;
    • 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 Lfom;z:Lfpv;
    • pieChart

      private final PieChart pieChart
      Mappings:
      Namespace Name Mixin selector
      named pieChart Lnet/minecraft/client/gui/hud/DebugHud;pieChart:Lnet/minecraft/client/gui/hud/debug/PieChart;
      intermediary field_52772 Lnet/minecraft/class_340;field_52772:Lnet/minecraft/class_9931;
      official A Lfom;A:Lfpy;
  • 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> Lfom;<init>(Lfmf;)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 Lfom;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 Lfom;a(Lfnr;)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 Lfom;b(Lfnr;)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 Lfom;c(Lfnr;)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 Lfom;a(Lfnr;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 Lfom;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 Lfom;a(Ljq;)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 q Lfom;q()Lash;
    • 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 r Lfom;r()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 s Lfom;s()Ldhh;
    • 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 t Lfom;t()Ldzz;
    • 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 u Lfom;u()Ldzz;
    • 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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;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 Lfom;l()Lboc;
    • 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 Lfom;m()Lboc;
    • 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 Lfom;n()Lboc;
    • getPieChart

      public PieChart getPieChart()
      Mappings:
      Namespace Name Mixin selector
      named getPieChart Lnet/minecraft/client/gui/hud/DebugHud;getPieChart()Lnet/minecraft/client/gui/hud/debug/PieChart;
      intermediary method_61981 Lnet/minecraft/class_340;method_61981()Lnet/minecraft/class_9931;
      official o Lfom;o()Lfpy;
    • 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 Lfom;a([JLbod;)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 p Lfom;p()V