Package net.minecraft.client.gui.hud
Class DebugHud
java.lang.Object
net.minecraft.client.gui.hud.DebugHud
- Mappings:
Namespace Name named net/minecraft/client/gui/hud/DebugHud
intermediary net/minecraft/class_340
official fho
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DebugHud.AllocationRateCalculator
private HitResult
private @Nullable WorldChunk
private @Nullable CompletableFuture
<WorldChunk> private final MinecraftClient
private static final int
private static final int
private static final int
private HitResult
private final MultiValueDebugSampleLogImpl
private static final Map
<Heightmap.Type, String> private boolean
private final PacketSizeChart
private final MultiValueDebugSampleLogImpl
private final PingChart
private final MultiValueDebugSampleLogImpl
private final Map
<DebugSampleType, MultiValueDebugSampleLogImpl> private boolean
private final RenderingChart
private boolean
private boolean
private static final int
private final TextRenderer
private final TickChart
private final MultiValueDebugSampleLogImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
protected void
drawLeftText
(DrawContext context) protected void
drawRightText
(DrawContext context) private void
drawText
(DrawContext context, List<String> text, boolean left) private static String
getBiomeString
(RegistryEntry<Biome> biome) private @Nullable WorldChunk
getChunk()
private WorldChunk
private @Nullable ServerWorld
private World
getWorld()
private String
propertyToString
(Map.Entry<Property<?>, Comparable<?>> propEntry) void
pushToFrameLog
(long value) void
render
(DrawContext context) void
void
set
(long[] values, DebugSampleType type) boolean
boolean
boolean
boolean
void
void
void
void
private static long
toMiB
(long bytes)
-
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
Lfho;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
Lfho;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
Lfho;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
Lfho;d:I
-
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
Lfho;e:Ljava/util/Map;
-
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
Lfho;f:Lffh;
-
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
Lfho;g:Lfho$a;
-
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
Lfho;h:Lfgr;
-
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
Lfho;i:Levr;
-
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
Lfho;j:Levr;
-
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
Lfho;k:Ldbh;
-
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
Lfho;l:Lduk;
-
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
Lfho;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
Lfho;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
Lfho;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
Lfho;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
Lfho;q:Z
-
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
Lfho;r:Lblw;
-
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
Lfho;s:Lblw;
-
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
Lfho;t:Lblw;
-
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
Lfho;u:Lblw;
-
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
Lfho;v:Ljava/util/Map;
-
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
Lfho;w:Lfix;
-
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
Lfho;x:Lfiz;
-
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
Lfho;y:Lfiy;
-
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
Lfho;z:Lfiw;
-
-
Constructor Details
-
DebugHud
- 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>
Lfho;<init>(Lffh;)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
Lfho;a()V
-
render
- 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
Lfho;a(Lfgt;)V
-
drawLeftText
- 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
Lfho;b(Lfgt;)V
-
drawRightText
- 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
Lfho;c(Lfgt;)V
-
drawText
- 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
Lfho;a(Lfgt;Ljava/util/List;Z)V
-
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
Lfho;b()Ljava/util/List;
-
getBiomeString
- 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
Lfho;a(Lji;)Ljava/lang/String;
-
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
Lfho;p()Larf;
-
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
Lfho;q()Ljava/lang/String;
-
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
Lfho;r()Ldca;
-
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
Lfho;s()Lduk;
-
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
Lfho;t()Lduk;
-
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
Lfho;c()Ljava/util/List;
-
propertyToString
- 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
Lfho;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
Lfho;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
Lfho;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
Lfho;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
Lfho;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
Lfho;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
Lfho;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
Lfho;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
Lfho;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
Lfho;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
Lfho;a(J)V
-
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
Lfho;l()Lblw;
-
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
Lfho;m()Lblw;
-
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
Lfho;n()Lblw;
-
set
- 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
Lfho;a([JLblx;)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
Lfho;o()V
-