Package net.minecraft.client.gui.hud
Class DebugHud
java.lang.Object
net.minecraft.client.gui.hud.DebugHud
- Mappings:
Namespace Name official ess
intermediary net/minecraft/class_340
named net/minecraft/client/gui/hud/DebugHud
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier 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 @Nullable ChunkPos
private boolean
private final RenderingChart
private boolean
private boolean
private static final int
private final TextRenderer
private final TickChart
private final PerformanceLog
-
Constructor Summary
Constructors -
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 @Nullable String
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
Less;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
Less;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
Less;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
Less;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
Less;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
Less;f:Leqp;
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
Less;g:Less$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
Less;h:Lerx;
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
Less;i:Lehf;
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
Less;j:Lehf;
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
Less;k:Lcpi;
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
Less;l:Ldhk;
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
Less;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
Less;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
Less;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
Less;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
Less;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
Less;r:Lasj;
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
Less;s:Lasj;
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
Less;t:Lasj;
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
Less;u:Lasj;
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
Less;v:Leua;
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
Less;w:Leuc;
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
Less;x:Leub;
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
Less;y:Letz;
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>
Less;<init>(Leqp;)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
Less;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
Less;a(Lerz;)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
Less;b(Lerz;)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
Less;c(Lerz;)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
Less;a(Lerz;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
Less;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
Less;a(Lhe;)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
Less;n()Lakt;
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
Less;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
Less;p()Lcqb;
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
Less;q()Ldhk;
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
Less;r()Ldhk;
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
Less;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
Less;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
Less;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
Less;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
Less;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
Less;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
Less;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
Less;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
Less;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
Less;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
Less;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
Less;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
Less;k()Lasj;
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
Less;l()Lasj;
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
Less;m()V
intermediary method_53545
Lnet/minecraft/class_340;method_53545()V
named clear
Lnet/minecraft/client/gui/hud/DebugHud;clear()V
-