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 fug
-
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 final GpuBuffer
private final RenderSystem.ShapeIndexBuffer
private static final int
private static final int
private static final int
private static final float
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 PieChart
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
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 World
getWorld()
private String
propertyToString
(Map.Entry<Property<?>, Comparable<?>> propEntry) void
pushToFrameLog
(long value) void
render
(DrawContext context) void
void
void
set
(long[] values, DebugSampleType type) boolean
boolean
boolean
boolean
void
void
void
void
private static long
toMiB
(long bytes)
-
Field Details
-
field_56577
private static final float field_56577- See Also:
- Mappings:
Namespace Name Mixin selector named field_56577
Lnet/minecraft/client/gui/hud/DebugHud;field_56577:F
intermediary field_56577
Lnet/minecraft/class_340;field_56577:F
official a
Lfug;a:F
-
field_57920
private static final int field_57920- See Also:
- Mappings:
Namespace Name Mixin selector named field_57920
Lnet/minecraft/client/gui/hud/DebugHud;field_57920:I
intermediary field_57920
Lnet/minecraft/class_340;field_57920:I
official b
Lfug;b:I
-
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 c
Lfug;c: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 d
Lfug;d: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 e
Lfug;e: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 f
Lfug;f: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 g
Lfug;g: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 h
Lfug;h:Lfqq;
-
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 i
Lfug;i:Lfug$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 j
Lfug;j:Lfti;
-
debugCrosshairBuffer
- Mappings:
Namespace Name Mixin selector named debugCrosshairBuffer
Lnet/minecraft/client/gui/hud/DebugHud;debugCrosshairBuffer:Lcom/mojang/blaze3d/buffers/GpuBuffer;
intermediary field_56578
Lnet/minecraft/class_340;field_56578:Lcom/mojang/blaze3d/buffers/GpuBuffer;
official k
Lfug;k:Lcom/mojang/blaze3d/buffers/GpuBuffer;
-
debugCrosshairIndexBuffer
- Mappings:
Namespace Name Mixin selector named debugCrosshairIndexBuffer
Lnet/minecraft/client/gui/hud/DebugHud;debugCrosshairIndexBuffer:Lcom/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer;
intermediary field_57921
Lnet/minecraft/class_340;field_57921:Lcom/mojang/blaze3d/systems/RenderSystem$class_5590;
official l
Lfug;l:Lcom/mojang/blaze3d/systems/RenderSystem$a;
-
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 m
Lfug;m:Lfga;
-
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 n
Lfug;n:Lfga;
-
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 o
Lfug;o:Ldjo;
-
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 p
Lfug;p:Ledx;
-
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 q
Lfug;q: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 r
Lfug;r: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 s
Lfug;s: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 t
Lfug;t: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 u
Lfug;u: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 v
Lfug;v:Lbpn;
-
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 w
Lfug;w:Lbpn;
-
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 x
Lfug;x:Lbpn;
-
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 y
Lfug;y:Lbpn;
-
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 z
Lfug;z: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 A
Lfug;A:Lfvp;
-
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 B
Lfug;B:Lfvs;
-
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 C
Lfug;C:Lfvq;
-
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 D
Lfug;D:Lfvo;
-
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 E
Lfug;E:Lfvr;
-
-
Constructor Details
-
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
Lfug;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
Lfug;a(Lftk;)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
Lfug;b(Lftk;)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
Lfug;c(Lftk;)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
Lfug;a(Lftk;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
Lfug;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
Lfug;a(Ljg;)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 r
Lfug;r()Lasb;
-
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 s
Lfug;s()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 t
Lfug;t()Ldkj;
-
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 u
Lfug;u()Ledx;
-
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 v
Lfug;v()Ledx;
-
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
Lfug;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
Lfug;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
Lfug;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
Lfug;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
Lfug;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
Lfug;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
Lfug;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
Lfug;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
Lfug;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
Lfug;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
Lfug;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
Lfug;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
Lfug;l()Lbpn;
-
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
Lfug;m()Lbpn;
-
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
Lfug;n()Lbpn;
-
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
Lfug;o()Lfvr;
-
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
Lfug;a([JLbpo;)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
Lfug;p()V
-
renderDebugCrosshair
public void renderDebugCrosshair()- Mappings:
Namespace Name Mixin selector named renderDebugCrosshair
Lnet/minecraft/client/gui/hud/DebugHud;renderDebugCrosshair()V
intermediary method_67545
Lnet/minecraft/class_340;method_67545()V
official q
Lfug;q()V
-