Package net.minecraft.client.gui.hud
Class DebugHud
java.lang.Object
net.minecraft.client.gui.hud.DebugHud
- Mappings:
Namespace Name official exo
intermediary net/minecraft/class_340
named net/minecraft/client/gui/hud/DebugHud
-
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 PerformanceLog
private static final Map<Heightmap.Type,
String> private boolean
private final PacketSizeChart
private final PerformanceLog
private final PingChart
private final PerformanceLog
private boolean
private final RenderingChart
private boolean
private boolean
private static final int
private final TextRenderer
private final TickChart
private final PerformanceLog
-
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
pushToTickLog
(long value) void
render
(DrawContext context) void
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 official a
Lexo;a:I
intermediary field_32187
Lnet/minecraft/class_340;field_32187:I
named TEXT_COLOR
Lnet/minecraft/client/gui/hud/DebugHud;TEXT_COLOR:I
-
field_32188
private static final int field_32188- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lexo;b:I
intermediary field_32188
Lnet/minecraft/class_340;field_32188:I
named field_32188
Lnet/minecraft/client/gui/hud/DebugHud;field_32188:I
-
field_32189
private static final int field_32189- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lexo;c:I
intermediary field_32189
Lnet/minecraft/class_340;field_32189:I
named field_32189
Lnet/minecraft/client/gui/hud/DebugHud;field_32189:I
-
field_32190
private static final int field_32190- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lexo;d:I
intermediary field_32190
Lnet/minecraft/class_340;field_32190:I
named field_32190
Lnet/minecraft/client/gui/hud/DebugHud;field_32190:I
-
HEIGHT_MAP_TYPES
- Mappings:
Namespace Name Mixin selector official e
Lexo;e:Ljava/util/Map;
intermediary field_19274
Lnet/minecraft/class_340;field_19274:Ljava/util/Map;
named HEIGHT_MAP_TYPES
Lnet/minecraft/client/gui/hud/DebugHud;HEIGHT_MAP_TYPES:Ljava/util/Map;
-
client
- Mappings:
Namespace Name Mixin selector official f
Lexo;f:Levi;
intermediary field_2079
Lnet/minecraft/class_340;field_2079:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/gui/hud/DebugHud;client:Lnet/minecraft/client/MinecraftClient;
-
allocationRateCalculator
- Mappings:
Namespace Name Mixin selector official g
Lexo;g:Lexo$a;
intermediary field_38985
Lnet/minecraft/class_340;field_38985:Lnet/minecraft/class_340$class_7412;
named allocationRateCalculator
Lnet/minecraft/client/gui/hud/DebugHud;allocationRateCalculator:Lnet/minecraft/client/gui/hud/DebugHud$AllocationRateCalculator;
-
textRenderer
- Mappings:
Namespace Name Mixin selector official h
Lexo;h:Lews;
intermediary field_2081
Lnet/minecraft/class_340;field_2081:Lnet/minecraft/class_327;
named textRenderer
Lnet/minecraft/client/gui/hud/DebugHud;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
blockHit
- Mappings:
Namespace Name Mixin selector official i
Lexo;i:Lelr;
intermediary field_2082
Lnet/minecraft/class_340;field_2082:Lnet/minecraft/class_239;
named blockHit
Lnet/minecraft/client/gui/hud/DebugHud;blockHit:Lnet/minecraft/util/hit/HitResult;
-
fluidHit
- Mappings:
Namespace Name Mixin selector official j
Lexo;j:Lelr;
intermediary field_2083
Lnet/minecraft/class_340;field_2083:Lnet/minecraft/class_239;
named fluidHit
Lnet/minecraft/client/gui/hud/DebugHud;fluidHit:Lnet/minecraft/util/hit/HitResult;
-
pos
- Mappings:
Namespace Name Mixin selector official k
Lexo;k:Lcsw;
intermediary field_2085
Lnet/minecraft/class_340;field_2085:Lnet/minecraft/class_1923;
named pos
Lnet/minecraft/client/gui/hud/DebugHud;pos:Lnet/minecraft/util/math/ChunkPos;
-
chunk
- Mappings:
Namespace Name Mixin selector official l
Lexo;l:Ldlo;
intermediary field_2084
Lnet/minecraft/class_340;field_2084:Lnet/minecraft/class_2818;
named chunk
Lnet/minecraft/client/gui/hud/DebugHud;chunk:Lnet/minecraft/world/chunk/WorldChunk;
-
chunkFuture
- Mappings:
Namespace Name Mixin selector official m
Lexo;m:Ljava/util/concurrent/CompletableFuture;
intermediary field_2080
Lnet/minecraft/class_340;field_2080:Ljava/util/concurrent/CompletableFuture;
named chunkFuture
Lnet/minecraft/client/gui/hud/DebugHud;chunkFuture:Ljava/util/concurrent/CompletableFuture;
-
showDebugHud
private boolean showDebugHud- Mappings:
Namespace Name Mixin selector official n
Lexo;n:Z
intermediary field_45988
Lnet/minecraft/class_340;field_45988:Z
named showDebugHud
Lnet/minecraft/client/gui/hud/DebugHud;showDebugHud:Z
-
renderingChartVisible
private boolean renderingChartVisible- Mappings:
Namespace Name Mixin selector official o
Lexo;o:Z
intermediary field_45989
Lnet/minecraft/class_340;field_45989:Z
named renderingChartVisible
Lnet/minecraft/client/gui/hud/DebugHud;renderingChartVisible:Z
-
renderingAndTickChartsVisible
private boolean renderingAndTickChartsVisible- Mappings:
Namespace Name Mixin selector official p
Lexo;p:Z
intermediary field_45990
Lnet/minecraft/class_340;field_45990:Z
named renderingAndTickChartsVisible
Lnet/minecraft/client/gui/hud/DebugHud;renderingAndTickChartsVisible:Z
-
packetSizeAndPingChartsVisible
private boolean packetSizeAndPingChartsVisible- Mappings:
Namespace Name Mixin selector official q
Lexo;q:Z
intermediary field_45991
Lnet/minecraft/class_340;field_45991:Z
named packetSizeAndPingChartsVisible
Lnet/minecraft/client/gui/hud/DebugHud;packetSizeAndPingChartsVisible:Z
-
frameNanosLog
- Mappings:
Namespace Name Mixin selector official r
Lexo;r:Lauy;
intermediary field_45992
Lnet/minecraft/class_340;field_45992:Lnet/minecraft/class_8743;
named frameNanosLog
Lnet/minecraft/client/gui/hud/DebugHud;frameNanosLog:Lnet/minecraft/util/profiler/PerformanceLog;
-
tickNanosLog
- Mappings:
Namespace Name Mixin selector official s
Lexo;s:Lauy;
intermediary field_45993
Lnet/minecraft/class_340;field_45993:Lnet/minecraft/class_8743;
named tickNanosLog
Lnet/minecraft/client/gui/hud/DebugHud;tickNanosLog:Lnet/minecraft/util/profiler/PerformanceLog;
-
pingLog
- Mappings:
Namespace Name Mixin selector official t
Lexo;t:Lauy;
intermediary field_45994
Lnet/minecraft/class_340;field_45994:Lnet/minecraft/class_8743;
named pingLog
Lnet/minecraft/client/gui/hud/DebugHud;pingLog:Lnet/minecraft/util/profiler/PerformanceLog;
-
packetSizeLog
- Mappings:
Namespace Name Mixin selector official u
Lexo;u:Lauy;
intermediary field_45995
Lnet/minecraft/class_340;field_45995:Lnet/minecraft/class_8743;
named packetSizeLog
Lnet/minecraft/client/gui/hud/DebugHud;packetSizeLog:Lnet/minecraft/util/profiler/PerformanceLog;
-
renderingChart
- Mappings:
Namespace Name Mixin selector official v
Lexo;v:Leyw;
intermediary field_45910
Lnet/minecraft/class_340;field_45910:Lnet/minecraft/class_8757;
named renderingChart
Lnet/minecraft/client/gui/hud/DebugHud;renderingChart:Lnet/minecraft/client/gui/hud/debug/RenderingChart;
-
tickChart
- Mappings:
Namespace Name Mixin selector official w
Lexo;w:Leyy;
intermediary field_45913
Lnet/minecraft/class_340;field_45913:Lnet/minecraft/class_8759;
named tickChart
Lnet/minecraft/client/gui/hud/DebugHud;tickChart:Lnet/minecraft/client/gui/hud/debug/TickChart;
-
pingChart
- Mappings:
Namespace Name Mixin selector official x
Lexo;x:Leyx;
intermediary field_45911
Lnet/minecraft/class_340;field_45911:Lnet/minecraft/class_8758;
named pingChart
Lnet/minecraft/client/gui/hud/DebugHud;pingChart:Lnet/minecraft/client/gui/hud/debug/PingChart;
-
packetSizeChart
- Mappings:
Namespace Name Mixin selector official y
Lexo;y:Leyv;
intermediary field_45912
Lnet/minecraft/class_340;field_45912:Lnet/minecraft/class_8756;
named packetSizeChart
Lnet/minecraft/client/gui/hud/DebugHud;packetSizeChart:Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;
-
-
Constructor Details
-
DebugHud
- Mappings:
Namespace Name Mixin selector official <init>
Lexo;<init>(Levi;)V
intermediary <init>
Lnet/minecraft/class_340;<init>(Lnet/minecraft/class_310;)V
named <init>
Lnet/minecraft/client/gui/hud/DebugHud;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
resetChunk
public void resetChunk()- Mappings:
Namespace Name Mixin selector official a
Lexo;a()V
intermediary method_1842
Lnet/minecraft/class_340;method_1842()V
named resetChunk
Lnet/minecraft/client/gui/hud/DebugHud;resetChunk()V
-
render
- Mappings:
Namespace Name Mixin selector official a
Lexo;a(Lewu;)V
intermediary method_1846
Lnet/minecraft/class_340;method_1846(Lnet/minecraft/class_332;)V
named render
Lnet/minecraft/client/gui/hud/DebugHud;render(Lnet/minecraft/client/gui/DrawContext;)V
-
drawLeftText
- Mappings:
Namespace Name Mixin selector official b
Lexo;b(Lewu;)V
intermediary method_1847
Lnet/minecraft/class_340;method_1847(Lnet/minecraft/class_332;)V
named drawLeftText
Lnet/minecraft/client/gui/hud/DebugHud;drawLeftText(Lnet/minecraft/client/gui/DrawContext;)V
-
drawRightText
- Mappings:
Namespace Name Mixin selector official c
Lexo;c(Lewu;)V
intermediary method_1848
Lnet/minecraft/class_340;method_1848(Lnet/minecraft/class_332;)V
named drawRightText
Lnet/minecraft/client/gui/hud/DebugHud;drawRightText(Lnet/minecraft/client/gui/DrawContext;)V
-
drawText
- Mappings:
Namespace Name Mixin selector official a
Lexo;a(Lewu;Ljava/util/List;Z)V
intermediary method_51745
Lnet/minecraft/class_340;method_51745(Lnet/minecraft/class_332;Ljava/util/List;Z)V
named drawText
Lnet/minecraft/client/gui/hud/DebugHud;drawText(Lnet/minecraft/client/gui/DrawContext;Ljava/util/List;Z)V
-
getLeftText
- Mappings:
Namespace Name Mixin selector official b
Lexo;b()Ljava/util/List;
intermediary method_1835
Lnet/minecraft/class_340;method_1835()Ljava/util/List;
named getLeftText
Lnet/minecraft/client/gui/hud/DebugHud;getLeftText()Ljava/util/List;
-
getBiomeString
- Mappings:
Namespace Name Mixin selector official a
Lexo;a(Lih;)Ljava/lang/String;
intermediary method_40205
Lnet/minecraft/class_340;method_40205(Lnet/minecraft/class_6880;)Ljava/lang/String;
named getBiomeString
Lnet/minecraft/client/gui/hud/DebugHud;getBiomeString(Lnet/minecraft/registry/entry/RegistryEntry;)Ljava/lang/String;
-
getServerWorld
- Mappings:
Namespace Name Mixin selector official n
Lexo;n()Land;
intermediary method_20603
Lnet/minecraft/class_340;method_20603()Lnet/minecraft/class_3218;
named getServerWorld
Lnet/minecraft/client/gui/hud/DebugHud;getServerWorld()Lnet/minecraft/server/world/ServerWorld;
-
getServerWorldDebugString
- Mappings:
Namespace Name Mixin selector official o
Lexo;o()Ljava/lang/String;
intermediary method_27871
Lnet/minecraft/class_340;method_27871()Ljava/lang/String;
named getServerWorldDebugString
Lnet/minecraft/client/gui/hud/DebugHud;getServerWorldDebugString()Ljava/lang/String;
-
getWorld
- Mappings:
Namespace Name Mixin selector official p
Lexo;p()Lctp;
intermediary method_1840
Lnet/minecraft/class_340;method_1840()Lnet/minecraft/class_1937;
named getWorld
Lnet/minecraft/client/gui/hud/DebugHud;getWorld()Lnet/minecraft/world/World;
-
getChunk
- Mappings:
Namespace Name Mixin selector official q
Lexo;q()Ldlo;
intermediary method_1834
Lnet/minecraft/class_340;method_1834()Lnet/minecraft/class_2818;
named getChunk
Lnet/minecraft/client/gui/hud/DebugHud;getChunk()Lnet/minecraft/world/chunk/WorldChunk;
-
getClientChunk
- Mappings:
Namespace Name Mixin selector official r
Lexo;r()Ldlo;
intermediary method_1836
Lnet/minecraft/class_340;method_1836()Lnet/minecraft/class_2818;
named getClientChunk
Lnet/minecraft/client/gui/hud/DebugHud;getClientChunk()Lnet/minecraft/world/chunk/WorldChunk;
-
getRightText
- Mappings:
Namespace Name Mixin selector official c
Lexo;c()Ljava/util/List;
intermediary method_1839
Lnet/minecraft/class_340;method_1839()Ljava/util/List;
named getRightText
Lnet/minecraft/client/gui/hud/DebugHud;getRightText()Ljava/util/List;
-
propertyToString
- Mappings:
Namespace Name Mixin selector official a
Lexo;a(Ljava/util/Map$Entry;)Ljava/lang/String;
intermediary method_1845
Lnet/minecraft/class_340;method_1845(Ljava/util/Map$Entry;)Ljava/lang/String;
named propertyToString
Lnet/minecraft/client/gui/hud/DebugHud;propertyToString(Ljava/util/Map$Entry;)Ljava/lang/String;
-
toMiB
private static long toMiB(long bytes) - Mappings:
Namespace Name Mixin selector official c
Lexo;c(J)J
intermediary method_1838
Lnet/minecraft/class_340;method_1838(J)J
named toMiB
Lnet/minecraft/client/gui/hud/DebugHud;toMiB(J)J
-
shouldShowDebugHud
public boolean shouldShowDebugHud()- Mappings:
Namespace Name Mixin selector official d
Lexo;d()Z
intermediary method_53536
Lnet/minecraft/class_340;method_53536()Z
named shouldShowDebugHud
Lnet/minecraft/client/gui/hud/DebugHud;shouldShowDebugHud()Z
-
shouldShowRenderingChart
public boolean shouldShowRenderingChart()- Mappings:
Namespace Name Mixin selector official e
Lexo;e()Z
intermediary method_53537
Lnet/minecraft/class_340;method_53537()Z
named shouldShowRenderingChart
Lnet/minecraft/client/gui/hud/DebugHud;shouldShowRenderingChart()Z
-
shouldShowPacketSizeAndPingCharts
public boolean shouldShowPacketSizeAndPingCharts()- Mappings:
Namespace Name Mixin selector official f
Lexo;f()Z
intermediary method_53538
Lnet/minecraft/class_340;method_53538()Z
named shouldShowPacketSizeAndPingCharts
Lnet/minecraft/client/gui/hud/DebugHud;shouldShowPacketSizeAndPingCharts()Z
-
toggleDebugHud
public void toggleDebugHud()- Mappings:
Namespace Name Mixin selector official g
Lexo;g()V
intermediary method_53539
Lnet/minecraft/class_340;method_53539()V
named toggleDebugHud
Lnet/minecraft/client/gui/hud/DebugHud;toggleDebugHud()V
-
togglePacketSizeAndPingCharts
public void togglePacketSizeAndPingCharts()- Mappings:
Namespace Name Mixin selector official h
Lexo;h()V
intermediary method_53540
Lnet/minecraft/class_340;method_53540()V
named togglePacketSizeAndPingCharts
Lnet/minecraft/client/gui/hud/DebugHud;togglePacketSizeAndPingCharts()V
-
toggleRenderingAndTickCharts
public void toggleRenderingAndTickCharts()- Mappings:
Namespace Name Mixin selector official i
Lexo;i()V
intermediary method_53541
Lnet/minecraft/class_340;method_53541()V
named toggleRenderingAndTickCharts
Lnet/minecraft/client/gui/hud/DebugHud;toggleRenderingAndTickCharts()V
-
toggleRenderingChart
public void toggleRenderingChart()- Mappings:
Namespace Name Mixin selector official j
Lexo;j()V
intermediary method_53542
Lnet/minecraft/class_340;method_53542()V
named toggleRenderingChart
Lnet/minecraft/client/gui/hud/DebugHud;toggleRenderingChart()V
-
pushToFrameLog
public void pushToFrameLog(long value) - Mappings:
Namespace Name Mixin selector official a
Lexo;a(J)V
intermediary method_53534
Lnet/minecraft/class_340;method_53534(J)V
named pushToFrameLog
Lnet/minecraft/client/gui/hud/DebugHud;pushToFrameLog(J)V
-
pushToTickLog
public void pushToTickLog(long value) - Mappings:
Namespace Name Mixin selector official b
Lexo;b(J)V
intermediary method_53535
Lnet/minecraft/class_340;method_53535(J)V
named pushToTickLog
Lnet/minecraft/client/gui/hud/DebugHud;pushToTickLog(J)V
-
getPingLog
- Mappings:
Namespace Name Mixin selector official k
Lexo;k()Lauy;
intermediary method_53543
Lnet/minecraft/class_340;method_53543()Lnet/minecraft/class_8743;
named getPingLog
Lnet/minecraft/client/gui/hud/DebugHud;getPingLog()Lnet/minecraft/util/profiler/PerformanceLog;
-
getPacketSizeLog
- Mappings:
Namespace Name Mixin selector official l
Lexo;l()Lauy;
intermediary method_53544
Lnet/minecraft/class_340;method_53544()Lnet/minecraft/class_8743;
named getPacketSizeLog
Lnet/minecraft/client/gui/hud/DebugHud;getPacketSizeLog()Lnet/minecraft/util/profiler/PerformanceLog;
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector official m
Lexo;m()V
intermediary method_53545
Lnet/minecraft/class_340;method_53545()V
named clear
Lnet/minecraft/client/gui/hud/DebugHud;clear()V
-