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/DebugHudintermediary net/minecraft/class_340official fxw
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DebugHud.AllocationRateCalculatorprivate HitResultprivate @Nullable WorldChunkprivate @Nullable CompletableFuture<WorldChunk> private final MinecraftClientprivate static final floatprivate final GpuBufferprivate final RenderSystem.ShapeIndexBufferprivate static final intprivate static final intprivate static final intprivate static final intprivate HitResultprivate final MultiValueDebugSampleLogImplprivate static final Map<Heightmap.Type, String> private booleanprivate final PacketSizeChartprivate final MultiValueDebugSampleLogImplprivate final PieChartprivate final PingChartprivate final MultiValueDebugSampleLogImplprivate final Map<DebugSampleType, MultiValueDebugSampleLogImpl> private booleanprivate final RenderingChartprivate booleanprivate booleanprivate static final intprivate final TextRendererprivate final TickChartprivate final MultiValueDebugSampleLogImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()protected voiddrawLeftText(DrawContext context) protected voiddrawRightText(DrawContext context) private voiddrawText(DrawContext context, List<String> text, boolean left) private static StringgetBiomeString(RegistryEntry<Biome> biome) private @Nullable WorldChunkgetChunk()private WorldChunkprivate @Nullable ServerWorldprivate WorldgetWorld()private StringpropertyToString(Map.Entry<Property<?>, Comparable<?>> propEntry) voidpushToFrameLog(long value) voidrender(DrawContext context) voidrenderDebugCrosshair(Camera camera) voidvoidset(long[] values, DebugSampleType type) booleanbooleanbooleanbooleanvoidvoidvoidvoidprivate static longtoMiB(long bytes)
-
Field Details
-
DEBUG_CROSSHAIR_SCALE
private static final float DEBUG_CROSSHAIR_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector named DEBUG_CROSSHAIR_SCALELnet/minecraft/client/gui/hud/DebugHud;DEBUG_CROSSHAIR_SCALE:Fintermediary field_59832Lnet/minecraft/class_340;field_59832:Fofficial aLfxw;a:F
-
field_57920
private static final int field_57920- See Also:
- Mappings:
Namespace Name Mixin selector named field_57920Lnet/minecraft/client/gui/hud/DebugHud;field_57920:Iintermediary field_57920Lnet/minecraft/class_340;field_57920:Iofficial bLfxw;b:I
-
TEXT_COLOR
private static final int TEXT_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector named TEXT_COLORLnet/minecraft/client/gui/hud/DebugHud;TEXT_COLOR:Iintermediary field_32187Lnet/minecraft/class_340;field_32187:Iofficial cLfxw;c:I
-
field_32188
private static final int field_32188- See Also:
- Mappings:
Namespace Name Mixin selector named field_32188Lnet/minecraft/client/gui/hud/DebugHud;field_32188:Iintermediary field_32188Lnet/minecraft/class_340;field_32188:Iofficial dLfxw;d:I
-
field_32189
private static final int field_32189- See Also:
- Mappings:
Namespace Name Mixin selector named field_32189Lnet/minecraft/client/gui/hud/DebugHud;field_32189:Iintermediary field_32189Lnet/minecraft/class_340;field_32189:Iofficial eLfxw;e:I
-
field_32190
private static final int field_32190- See Also:
- Mappings:
Namespace Name Mixin selector named field_32190Lnet/minecraft/client/gui/hud/DebugHud;field_32190:Iintermediary field_32190Lnet/minecraft/class_340;field_32190:Iofficial fLfxw;f:I
-
HEIGHT_MAP_TYPES
- Mappings:
Namespace Name Mixin selector named HEIGHT_MAP_TYPESLnet/minecraft/client/gui/hud/DebugHud;HEIGHT_MAP_TYPES:Ljava/util/Map;intermediary field_19274Lnet/minecraft/class_340;field_19274:Ljava/util/Map;official gLfxw;g:Ljava/util/Map;
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/gui/hud/DebugHud;client:Lnet/minecraft/client/MinecraftClient;intermediary field_2079Lnet/minecraft/class_340;field_2079:Lnet/minecraft/class_310;official hLfxw;h:Lfue;
-
allocationRateCalculator
- Mappings:
Namespace Name Mixin selector named allocationRateCalculatorLnet/minecraft/client/gui/hud/DebugHud;allocationRateCalculator:Lnet/minecraft/client/gui/hud/DebugHud$AllocationRateCalculator;intermediary field_38985Lnet/minecraft/class_340;field_38985:Lnet/minecraft/class_340$class_7412;official iLfxw;i:Lfxw$a;
-
textRenderer
- Mappings:
Namespace Name Mixin selector named textRendererLnet/minecraft/client/gui/hud/DebugHud;textRenderer:Lnet/minecraft/client/font/TextRenderer;intermediary field_2081Lnet/minecraft/class_340;field_2081:Lnet/minecraft/class_327;official jLfxw;j:Lfwz;
-
debugCrosshairBuffer
- Mappings:
Namespace Name Mixin selector named debugCrosshairBufferLnet/minecraft/client/gui/hud/DebugHud;debugCrosshairBuffer:Lcom/mojang/blaze3d/buffers/GpuBuffer;intermediary field_56578Lnet/minecraft/class_340;field_56578:Lcom/mojang/blaze3d/buffers/GpuBuffer;official kLfxw;k:Lcom/mojang/blaze3d/buffers/GpuBuffer;
-
debugCrosshairIndexBuffer
- Mappings:
Namespace Name Mixin selector named debugCrosshairIndexBufferLnet/minecraft/client/gui/hud/DebugHud;debugCrosshairIndexBuffer:Lcom/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer;intermediary field_57921Lnet/minecraft/class_340;field_57921:Lcom/mojang/blaze3d/systems/RenderSystem$class_5590;official lLfxw;l:Lcom/mojang/blaze3d/systems/RenderSystem$a;
-
blockHit
- Mappings:
Namespace Name Mixin selector named blockHitLnet/minecraft/client/gui/hud/DebugHud;blockHit:Lnet/minecraft/util/hit/HitResult;intermediary field_2082Lnet/minecraft/class_340;field_2082:Lnet/minecraft/class_239;official mLfxw;m:Lfiq;
-
fluidHit
- Mappings:
Namespace Name Mixin selector named fluidHitLnet/minecraft/client/gui/hud/DebugHud;fluidHit:Lnet/minecraft/util/hit/HitResult;intermediary field_2083Lnet/minecraft/class_340;field_2083:Lnet/minecraft/class_239;official nLfxw;n:Lfiq;
-
pos
- Mappings:
Namespace Name Mixin selector named posLnet/minecraft/client/gui/hud/DebugHud;pos:Lnet/minecraft/util/math/ChunkPos;intermediary field_2085Lnet/minecraft/class_340;field_2085:Lnet/minecraft/class_1923;official oLfxw;o:Ldlz;
-
chunk
- Mappings:
Namespace Name Mixin selector named chunkLnet/minecraft/client/gui/hud/DebugHud;chunk:Lnet/minecraft/world/chunk/WorldChunk;intermediary field_2084Lnet/minecraft/class_340;field_2084:Lnet/minecraft/class_2818;official pLfxw;p:Legi;
-
chunkFuture
- Mappings:
Namespace Name Mixin selector named chunkFutureLnet/minecraft/client/gui/hud/DebugHud;chunkFuture:Ljava/util/concurrent/CompletableFuture;intermediary field_2080Lnet/minecraft/class_340;field_2080:Ljava/util/concurrent/CompletableFuture;official qLfxw;q:Ljava/util/concurrent/CompletableFuture;
-
showDebugHud
private boolean showDebugHud- Mappings:
Namespace Name Mixin selector named showDebugHudLnet/minecraft/client/gui/hud/DebugHud;showDebugHud:Zintermediary field_45988Lnet/minecraft/class_340;field_45988:Zofficial rLfxw;r:Z
-
renderingChartVisible
private boolean renderingChartVisible- Mappings:
Namespace Name Mixin selector named renderingChartVisibleLnet/minecraft/client/gui/hud/DebugHud;renderingChartVisible:Zintermediary field_45989Lnet/minecraft/class_340;field_45989:Zofficial sLfxw;s:Z
-
renderingAndTickChartsVisible
private boolean renderingAndTickChartsVisible- Mappings:
Namespace Name Mixin selector named renderingAndTickChartsVisibleLnet/minecraft/client/gui/hud/DebugHud;renderingAndTickChartsVisible:Zintermediary field_45990Lnet/minecraft/class_340;field_45990:Zofficial tLfxw;t:Z
-
packetSizeAndPingChartsVisible
private boolean packetSizeAndPingChartsVisible- Mappings:
Namespace Name Mixin selector named packetSizeAndPingChartsVisibleLnet/minecraft/client/gui/hud/DebugHud;packetSizeAndPingChartsVisible:Zintermediary field_45991Lnet/minecraft/class_340;field_45991:Zofficial uLfxw;u:Z
-
frameNanosLog
- Mappings:
Namespace Name Mixin selector named frameNanosLogLnet/minecraft/client/gui/hud/DebugHud;frameNanosLog:Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;intermediary field_45992Lnet/minecraft/class_340;field_45992:Lnet/minecraft/class_9191;official vLfxw;v:Lbru;
-
tickNanosLog
- Mappings:
Namespace Name Mixin selector named tickNanosLogLnet/minecraft/client/gui/hud/DebugHud;tickNanosLog:Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;intermediary field_45993Lnet/minecraft/class_340;field_45993:Lnet/minecraft/class_9191;official wLfxw;w:Lbru;
-
pingLog
- Mappings:
Namespace Name Mixin selector named pingLogLnet/minecraft/client/gui/hud/DebugHud;pingLog:Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;intermediary field_45994Lnet/minecraft/class_340;field_45994:Lnet/minecraft/class_9191;official xLfxw;x:Lbru;
-
packetSizeLog
- Mappings:
Namespace Name Mixin selector named packetSizeLogLnet/minecraft/client/gui/hud/DebugHud;packetSizeLog:Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;intermediary field_45995Lnet/minecraft/class_340;field_45995:Lnet/minecraft/class_9191;official yLfxw;y:Lbru;
-
receivedDebugSamples
- Mappings:
Namespace Name Mixin selector named receivedDebugSamplesLnet/minecraft/client/gui/hud/DebugHud;receivedDebugSamples:Ljava/util/Map;intermediary field_48931Lnet/minecraft/class_340;field_48931:Ljava/util/Map;official zLfxw;z:Ljava/util/Map;
-
renderingChart
- Mappings:
Namespace Name Mixin selector named renderingChartLnet/minecraft/client/gui/hud/DebugHud;renderingChart:Lnet/minecraft/client/gui/hud/debug/RenderingChart;intermediary field_45910Lnet/minecraft/class_340;field_45910:Lnet/minecraft/class_8757;official ALfxw;A:Lfzh;
-
tickChart
- Mappings:
Namespace Name Mixin selector named tickChartLnet/minecraft/client/gui/hud/DebugHud;tickChart:Lnet/minecraft/client/gui/hud/debug/TickChart;intermediary field_45913Lnet/minecraft/class_340;field_45913:Lnet/minecraft/class_8759;official BLfxw;B:Lfzk;
-
pingChart
- Mappings:
Namespace Name Mixin selector named pingChartLnet/minecraft/client/gui/hud/DebugHud;pingChart:Lnet/minecraft/client/gui/hud/debug/PingChart;intermediary field_45911Lnet/minecraft/class_340;field_45911:Lnet/minecraft/class_8758;official CLfxw;C:Lfzi;
-
packetSizeChart
- Mappings:
Namespace Name Mixin selector named packetSizeChartLnet/minecraft/client/gui/hud/DebugHud;packetSizeChart:Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;intermediary field_45912Lnet/minecraft/class_340;field_45912:Lnet/minecraft/class_8756;official DLfxw;D:Lfzg;
-
pieChart
- Mappings:
Namespace Name Mixin selector named pieChartLnet/minecraft/client/gui/hud/DebugHud;pieChart:Lnet/minecraft/client/gui/hud/debug/PieChart;intermediary field_52772Lnet/minecraft/class_340;field_52772:Lnet/minecraft/class_9931;official ELfxw;E:Lfzj;
-
-
Constructor Details
-
DebugHud
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/hud/DebugHud;<init>(Lnet/minecraft/client/MinecraftClient;)Vintermediary <init>Lnet/minecraft/class_340;<init>(Lnet/minecraft/class_310;)Vofficial <init>Lfxw;<init>(Lfue;)V
-
-
Method Details
-
resetChunk
public void resetChunk()- Mappings:
Namespace Name Mixin selector named resetChunkLnet/minecraft/client/gui/hud/DebugHud;resetChunk()Vintermediary method_1842Lnet/minecraft/class_340;method_1842()Vofficial aLfxw;a()V
-
render
- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/hud/DebugHud;render(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_1846Lnet/minecraft/class_340;method_1846(Lnet/minecraft/class_332;)Vofficial aLfxw;a(Lfxb;)V
-
drawLeftText
- Mappings:
Namespace Name Mixin selector named drawLeftTextLnet/minecraft/client/gui/hud/DebugHud;drawLeftText(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_1847Lnet/minecraft/class_340;method_1847(Lnet/minecraft/class_332;)Vofficial bLfxw;b(Lfxb;)V
-
drawRightText
- Mappings:
Namespace Name Mixin selector named drawRightTextLnet/minecraft/client/gui/hud/DebugHud;drawRightText(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_1848Lnet/minecraft/class_340;method_1848(Lnet/minecraft/class_332;)Vofficial cLfxw;c(Lfxb;)V
-
drawText
- Mappings:
Namespace Name Mixin selector named drawTextLnet/minecraft/client/gui/hud/DebugHud;drawText(Lnet/minecraft/client/gui/DrawContext;Ljava/util/List;Z)Vintermediary method_51745Lnet/minecraft/class_340;method_51745(Lnet/minecraft/class_332;Ljava/util/List;Z)Vofficial aLfxw;a(Lfxb;Ljava/util/List;Z)V
-
getLeftText
- Mappings:
Namespace Name Mixin selector named getLeftTextLnet/minecraft/client/gui/hud/DebugHud;getLeftText()Ljava/util/List;intermediary method_1835Lnet/minecraft/class_340;method_1835()Ljava/util/List;official bLfxw;b()Ljava/util/List;
-
getBiomeString
- Mappings:
Namespace Name Mixin selector named getBiomeStringLnet/minecraft/client/gui/hud/DebugHud;getBiomeString(Lnet/minecraft/registry/entry/RegistryEntry;)Ljava/lang/String;intermediary method_40205Lnet/minecraft/class_340;method_40205(Lnet/minecraft/class_6880;)Ljava/lang/String;official aLfxw;a(Ljl;)Ljava/lang/String;
-
getServerWorld
- Mappings:
Namespace Name Mixin selector named getServerWorldLnet/minecraft/client/gui/hud/DebugHud;getServerWorld()Lnet/minecraft/server/world/ServerWorld;intermediary method_20603Lnet/minecraft/class_340;method_20603()Lnet/minecraft/class_3218;official qLfxw;q()Laub;
-
getServerWorldDebugString
- Mappings:
Namespace Name Mixin selector named getServerWorldDebugStringLnet/minecraft/client/gui/hud/DebugHud;getServerWorldDebugString()Ljava/lang/String;intermediary method_27871Lnet/minecraft/class_340;method_27871()Ljava/lang/String;official rLfxw;r()Ljava/lang/String;
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorldLnet/minecraft/client/gui/hud/DebugHud;getWorld()Lnet/minecraft/world/World;intermediary method_1840Lnet/minecraft/class_340;method_1840()Lnet/minecraft/class_1937;official sLfxw;s()Ldmu;
-
getChunk
- Mappings:
Namespace Name Mixin selector named getChunkLnet/minecraft/client/gui/hud/DebugHud;getChunk()Lnet/minecraft/world/chunk/WorldChunk;intermediary method_1834Lnet/minecraft/class_340;method_1834()Lnet/minecraft/class_2818;official tLfxw;t()Legi;
-
getClientChunk
- Mappings:
Namespace Name Mixin selector named getClientChunkLnet/minecraft/client/gui/hud/DebugHud;getClientChunk()Lnet/minecraft/world/chunk/WorldChunk;intermediary method_1836Lnet/minecraft/class_340;method_1836()Lnet/minecraft/class_2818;official uLfxw;u()Legi;
-
getRightText
- Mappings:
Namespace Name Mixin selector named getRightTextLnet/minecraft/client/gui/hud/DebugHud;getRightText()Ljava/util/List;intermediary method_1839Lnet/minecraft/class_340;method_1839()Ljava/util/List;official cLfxw;c()Ljava/util/List;
-
propertyToString
- Mappings:
Namespace Name Mixin selector named propertyToStringLnet/minecraft/client/gui/hud/DebugHud;propertyToString(Ljava/util/Map$Entry;)Ljava/lang/String;intermediary method_1845Lnet/minecraft/class_340;method_1845(Ljava/util/Map$Entry;)Ljava/lang/String;official aLfxw;a(Ljava/util/Map$Entry;)Ljava/lang/String;
-
toMiB
private static long toMiB(long bytes) - Mappings:
Namespace Name Mixin selector named toMiBLnet/minecraft/client/gui/hud/DebugHud;toMiB(J)Jintermediary method_1838Lnet/minecraft/class_340;method_1838(J)Jofficial bLfxw;b(J)J
-
shouldShowDebugHud
public boolean shouldShowDebugHud()- Mappings:
Namespace Name Mixin selector named shouldShowDebugHudLnet/minecraft/client/gui/hud/DebugHud;shouldShowDebugHud()Zintermediary method_53536Lnet/minecraft/class_340;method_53536()Zofficial dLfxw;d()Z
-
shouldShowRenderingChart
public boolean shouldShowRenderingChart()- Mappings:
Namespace Name Mixin selector named shouldShowRenderingChartLnet/minecraft/client/gui/hud/DebugHud;shouldShowRenderingChart()Zintermediary method_53537Lnet/minecraft/class_340;method_53537()Zofficial eLfxw;e()Z
-
shouldShowPacketSizeAndPingCharts
public boolean shouldShowPacketSizeAndPingCharts()- Mappings:
Namespace Name Mixin selector named shouldShowPacketSizeAndPingChartsLnet/minecraft/client/gui/hud/DebugHud;shouldShowPacketSizeAndPingCharts()Zintermediary method_53538Lnet/minecraft/class_340;method_53538()Zofficial fLfxw;f()Z
-
shouldRenderTickCharts
public boolean shouldRenderTickCharts()- Mappings:
Namespace Name Mixin selector named shouldRenderTickChartsLnet/minecraft/client/gui/hud/DebugHud;shouldRenderTickCharts()Zintermediary method_56829Lnet/minecraft/class_340;method_56829()Zofficial gLfxw;g()Z
-
toggleDebugHud
public void toggleDebugHud()- Mappings:
Namespace Name Mixin selector named toggleDebugHudLnet/minecraft/client/gui/hud/DebugHud;toggleDebugHud()Vintermediary method_53539Lnet/minecraft/class_340;method_53539()Vofficial hLfxw;h()V
-
togglePacketSizeAndPingCharts
public void togglePacketSizeAndPingCharts()- Mappings:
Namespace Name Mixin selector named togglePacketSizeAndPingChartsLnet/minecraft/client/gui/hud/DebugHud;togglePacketSizeAndPingCharts()Vintermediary method_53540Lnet/minecraft/class_340;method_53540()Vofficial iLfxw;i()V
-
toggleRenderingAndTickCharts
public void toggleRenderingAndTickCharts()- Mappings:
Namespace Name Mixin selector named toggleRenderingAndTickChartsLnet/minecraft/client/gui/hud/DebugHud;toggleRenderingAndTickCharts()Vintermediary method_53541Lnet/minecraft/class_340;method_53541()Vofficial jLfxw;j()V
-
toggleRenderingChart
public void toggleRenderingChart()- Mappings:
Namespace Name Mixin selector named toggleRenderingChartLnet/minecraft/client/gui/hud/DebugHud;toggleRenderingChart()Vintermediary method_53542Lnet/minecraft/class_340;method_53542()Vofficial kLfxw;k()V
-
pushToFrameLog
public void pushToFrameLog(long value) - Mappings:
Namespace Name Mixin selector named pushToFrameLogLnet/minecraft/client/gui/hud/DebugHud;pushToFrameLog(J)Vintermediary method_53534Lnet/minecraft/class_340;method_53534(J)Vofficial aLfxw;a(J)V
-
getTickNanosLog
- Mappings:
Namespace Name Mixin selector named getTickNanosLogLnet/minecraft/client/gui/hud/DebugHud;getTickNanosLog()Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;intermediary method_56577Lnet/minecraft/class_340;method_56577()Lnet/minecraft/class_9191;official lLfxw;l()Lbru;
-
getPingLog
- Mappings:
Namespace Name Mixin selector named getPingLogLnet/minecraft/client/gui/hud/DebugHud;getPingLog()Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;intermediary method_53543Lnet/minecraft/class_340;method_53543()Lnet/minecraft/class_9191;official mLfxw;m()Lbru;
-
getPacketSizeLog
- Mappings:
Namespace Name Mixin selector named getPacketSizeLogLnet/minecraft/client/gui/hud/DebugHud;getPacketSizeLog()Lnet/minecraft/util/profiler/MultiValueDebugSampleLogImpl;intermediary method_53544Lnet/minecraft/class_340;method_53544()Lnet/minecraft/class_9191;official nLfxw;n()Lbru;
-
getPieChart
- Mappings:
Namespace Name Mixin selector named getPieChartLnet/minecraft/client/gui/hud/DebugHud;getPieChart()Lnet/minecraft/client/gui/hud/debug/PieChart;intermediary method_61981Lnet/minecraft/class_340;method_61981()Lnet/minecraft/class_9931;official oLfxw;o()Lfzj;
-
set
- Mappings:
Namespace Name Mixin selector named setLnet/minecraft/client/gui/hud/DebugHud;set([JLnet/minecraft/util/profiler/log/DebugSampleType;)Vintermediary method_56828Lnet/minecraft/class_340;method_56828([JLnet/minecraft/class_9192;)Vofficial aLfxw;a([JLbrv;)V
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector named clearLnet/minecraft/client/gui/hud/DebugHud;clear()Vintermediary method_53545Lnet/minecraft/class_340;method_53545()Vofficial pLfxw;p()V
-
renderDebugCrosshair
- Mappings:
Namespace Name Mixin selector named renderDebugCrosshairLnet/minecraft/client/gui/hud/DebugHud;renderDebugCrosshair(Lnet/minecraft/client/render/Camera;)Vintermediary method_67545Lnet/minecraft/class_340;method_67545(Lnet/minecraft/class_4184;)Vofficial aLfxw;a(Lftm;)V
-