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 fhn
-
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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;f:Lffg;
-
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
Lfhn;g:Lfhn$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
Lfhn;h:Lfgq;
-
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
Lfhn;i:Levq;
-
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
Lfhn;j:Levq;
-
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
Lfhn;k:Ldbg;
-
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
Lfhn;l:Lduj;
-
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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;r:Lblv;
-
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
Lfhn;s:Lblv;
-
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
Lfhn;t:Lblv;
-
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
Lfhn;u:Lblv;
-
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
Lfhn;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
Lfhn;w:Lfiw;
-
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
Lfhn;x:Lfiy;
-
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
Lfhn;y:Lfix;
-
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
Lfhn;z:Lfiv;
-
-
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>
Lfhn;<init>(Lffg;)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
Lfhn;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
Lfhn;a(Lfgs;)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
Lfhn;b(Lfgs;)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
Lfhn;c(Lfgs;)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
Lfhn;a(Lfgs;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;r()Ldbz;
-
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
Lfhn;s()Lduj;
-
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
Lfhn;t()Lduj;
-
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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;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
Lfhn;l()Lblv;
-
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
Lfhn;m()Lblv;
-
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
Lfhn;n()Lblv;
-
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
Lfhn;a([JLblw;)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
Lfhn;o()V
-