Package net.minecraft.client.gui.hud
Class DebugHud
java.lang.Object
net.minecraft.client.gui.hud.DebugHud
- Mappings:
Namespace Name official exointermediary net/minecraft/class_340named net/minecraft/client/gui/hud/DebugHud
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DebugHud.AllocationRateCalculatorprivate HitResultprivate @Nullable WorldChunkprivate @Nullable CompletableFuture<WorldChunk>private final MinecraftClientprivate static final intprivate static final intprivate static final intprivate HitResultprivate final PerformanceLogprivate static final Map<Heightmap.Type,String> private booleanprivate final PacketSizeChartprivate final PerformanceLogprivate final PingChartprivate final PerformanceLogprivate booleanprivate final RenderingChartprivate booleanprivate booleanprivate static final intprivate final TextRendererprivate final TickChartprivate final PerformanceLog -
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) voidpushToTickLog(long value) voidrender(DrawContext context) voidbooleanbooleanbooleanvoidvoidvoidvoidprivate static longtoMiB(long bytes)
-
Field Details
-
TEXT_COLOR
private static final int TEXT_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official aLexo;a:Iintermediary field_32187Lnet/minecraft/class_340;field_32187:Inamed TEXT_COLORLnet/minecraft/client/gui/hud/DebugHud;TEXT_COLOR:I
-
field_32188
private static final int field_32188- See Also:
- Mappings:
Namespace Name Mixin selector official bLexo;b:Iintermediary field_32188Lnet/minecraft/class_340;field_32188:Inamed field_32188Lnet/minecraft/client/gui/hud/DebugHud;field_32188:I
-
field_32189
private static final int field_32189- See Also:
- Mappings:
Namespace Name Mixin selector official cLexo;c:Iintermediary field_32189Lnet/minecraft/class_340;field_32189:Inamed field_32189Lnet/minecraft/client/gui/hud/DebugHud;field_32189:I
-
field_32190
private static final int field_32190- See Also:
- Mappings:
Namespace Name Mixin selector official dLexo;d:Iintermediary field_32190Lnet/minecraft/class_340;field_32190:Inamed field_32190Lnet/minecraft/client/gui/hud/DebugHud;field_32190:I
-
HEIGHT_MAP_TYPES
- Mappings:
Namespace Name Mixin selector official eLexo;e:Ljava/util/Map;intermediary field_19274Lnet/minecraft/class_340;field_19274:Ljava/util/Map;named HEIGHT_MAP_TYPESLnet/minecraft/client/gui/hud/DebugHud;HEIGHT_MAP_TYPES:Ljava/util/Map;
-
client
- Mappings:
Namespace Name Mixin selector official fLexo;f:Levi;intermediary field_2079Lnet/minecraft/class_340;field_2079:Lnet/minecraft/class_310;named clientLnet/minecraft/client/gui/hud/DebugHud;client:Lnet/minecraft/client/MinecraftClient;
-
allocationRateCalculator
- Mappings:
Namespace Name Mixin selector official gLexo;g:Lexo$a;intermediary field_38985Lnet/minecraft/class_340;field_38985:Lnet/minecraft/class_340$class_7412;named allocationRateCalculatorLnet/minecraft/client/gui/hud/DebugHud;allocationRateCalculator:Lnet/minecraft/client/gui/hud/DebugHud$AllocationRateCalculator;
-
textRenderer
- Mappings:
Namespace Name Mixin selector official hLexo;h:Lews;intermediary field_2081Lnet/minecraft/class_340;field_2081:Lnet/minecraft/class_327;named textRendererLnet/minecraft/client/gui/hud/DebugHud;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
blockHit
- Mappings:
Namespace Name Mixin selector official iLexo;i:Lelr;intermediary field_2082Lnet/minecraft/class_340;field_2082:Lnet/minecraft/class_239;named blockHitLnet/minecraft/client/gui/hud/DebugHud;blockHit:Lnet/minecraft/util/hit/HitResult;
-
fluidHit
- Mappings:
Namespace Name Mixin selector official jLexo;j:Lelr;intermediary field_2083Lnet/minecraft/class_340;field_2083:Lnet/minecraft/class_239;named fluidHitLnet/minecraft/client/gui/hud/DebugHud;fluidHit:Lnet/minecraft/util/hit/HitResult;
-
pos
- Mappings:
Namespace Name Mixin selector official kLexo;k:Lcsw;intermediary field_2085Lnet/minecraft/class_340;field_2085:Lnet/minecraft/class_1923;named posLnet/minecraft/client/gui/hud/DebugHud;pos:Lnet/minecraft/util/math/ChunkPos;
-
chunk
- Mappings:
Namespace Name Mixin selector official lLexo;l:Ldlo;intermediary field_2084Lnet/minecraft/class_340;field_2084:Lnet/minecraft/class_2818;named chunkLnet/minecraft/client/gui/hud/DebugHud;chunk:Lnet/minecraft/world/chunk/WorldChunk;
-
chunkFuture
- Mappings:
Namespace Name Mixin selector official mLexo;m:Ljava/util/concurrent/CompletableFuture;intermediary field_2080Lnet/minecraft/class_340;field_2080:Ljava/util/concurrent/CompletableFuture;named chunkFutureLnet/minecraft/client/gui/hud/DebugHud;chunkFuture:Ljava/util/concurrent/CompletableFuture;
-
showDebugHud
private boolean showDebugHud- Mappings:
Namespace Name Mixin selector official nLexo;n:Zintermediary field_45988Lnet/minecraft/class_340;field_45988:Znamed showDebugHudLnet/minecraft/client/gui/hud/DebugHud;showDebugHud:Z
-
renderingChartVisible
private boolean renderingChartVisible- Mappings:
Namespace Name Mixin selector official oLexo;o:Zintermediary field_45989Lnet/minecraft/class_340;field_45989:Znamed renderingChartVisibleLnet/minecraft/client/gui/hud/DebugHud;renderingChartVisible:Z
-
renderingAndTickChartsVisible
private boolean renderingAndTickChartsVisible- Mappings:
Namespace Name Mixin selector official pLexo;p:Zintermediary field_45990Lnet/minecraft/class_340;field_45990:Znamed renderingAndTickChartsVisibleLnet/minecraft/client/gui/hud/DebugHud;renderingAndTickChartsVisible:Z
-
packetSizeAndPingChartsVisible
private boolean packetSizeAndPingChartsVisible- Mappings:
Namespace Name Mixin selector official qLexo;q:Zintermediary field_45991Lnet/minecraft/class_340;field_45991:Znamed packetSizeAndPingChartsVisibleLnet/minecraft/client/gui/hud/DebugHud;packetSizeAndPingChartsVisible:Z
-
frameNanosLog
- Mappings:
Namespace Name Mixin selector official rLexo;r:Lauy;intermediary field_45992Lnet/minecraft/class_340;field_45992:Lnet/minecraft/class_8743;named frameNanosLogLnet/minecraft/client/gui/hud/DebugHud;frameNanosLog:Lnet/minecraft/util/profiler/PerformanceLog;
-
tickNanosLog
- Mappings:
Namespace Name Mixin selector official sLexo;s:Lauy;intermediary field_45993Lnet/minecraft/class_340;field_45993:Lnet/minecraft/class_8743;named tickNanosLogLnet/minecraft/client/gui/hud/DebugHud;tickNanosLog:Lnet/minecraft/util/profiler/PerformanceLog;
-
pingLog
- Mappings:
Namespace Name Mixin selector official tLexo;t:Lauy;intermediary field_45994Lnet/minecraft/class_340;field_45994:Lnet/minecraft/class_8743;named pingLogLnet/minecraft/client/gui/hud/DebugHud;pingLog:Lnet/minecraft/util/profiler/PerformanceLog;
-
packetSizeLog
- Mappings:
Namespace Name Mixin selector official uLexo;u:Lauy;intermediary field_45995Lnet/minecraft/class_340;field_45995:Lnet/minecraft/class_8743;named packetSizeLogLnet/minecraft/client/gui/hud/DebugHud;packetSizeLog:Lnet/minecraft/util/profiler/PerformanceLog;
-
renderingChart
- Mappings:
Namespace Name Mixin selector official vLexo;v:Leyw;intermediary field_45910Lnet/minecraft/class_340;field_45910:Lnet/minecraft/class_8757;named renderingChartLnet/minecraft/client/gui/hud/DebugHud;renderingChart:Lnet/minecraft/client/gui/hud/debug/RenderingChart;
-
tickChart
- Mappings:
Namespace Name Mixin selector official wLexo;w:Leyy;intermediary field_45913Lnet/minecraft/class_340;field_45913:Lnet/minecraft/class_8759;named tickChartLnet/minecraft/client/gui/hud/DebugHud;tickChart:Lnet/minecraft/client/gui/hud/debug/TickChart;
-
pingChart
- Mappings:
Namespace Name Mixin selector official xLexo;x:Leyx;intermediary field_45911Lnet/minecraft/class_340;field_45911:Lnet/minecraft/class_8758;named pingChartLnet/minecraft/client/gui/hud/DebugHud;pingChart:Lnet/minecraft/client/gui/hud/debug/PingChart;
-
packetSizeChart
- Mappings:
Namespace Name Mixin selector official yLexo;y:Leyv;intermediary field_45912Lnet/minecraft/class_340;field_45912:Lnet/minecraft/class_8756;named packetSizeChartLnet/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;)Vintermediary <init>Lnet/minecraft/class_340;<init>(Lnet/minecraft/class_310;)Vnamed <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 aLexo;a()Vintermediary method_1842Lnet/minecraft/class_340;method_1842()Vnamed resetChunkLnet/minecraft/client/gui/hud/DebugHud;resetChunk()V
-
render
- Mappings:
Namespace Name Mixin selector official aLexo;a(Lewu;)Vintermediary method_1846Lnet/minecraft/class_340;method_1846(Lnet/minecraft/class_332;)Vnamed renderLnet/minecraft/client/gui/hud/DebugHud;render(Lnet/minecraft/client/gui/DrawContext;)V
-
drawLeftText
- Mappings:
Namespace Name Mixin selector official bLexo;b(Lewu;)Vintermediary method_1847Lnet/minecraft/class_340;method_1847(Lnet/minecraft/class_332;)Vnamed drawLeftTextLnet/minecraft/client/gui/hud/DebugHud;drawLeftText(Lnet/minecraft/client/gui/DrawContext;)V
-
drawRightText
- Mappings:
Namespace Name Mixin selector official cLexo;c(Lewu;)Vintermediary method_1848Lnet/minecraft/class_340;method_1848(Lnet/minecraft/class_332;)Vnamed drawRightTextLnet/minecraft/client/gui/hud/DebugHud;drawRightText(Lnet/minecraft/client/gui/DrawContext;)V
-
drawText
- Mappings:
Namespace Name Mixin selector official aLexo;a(Lewu;Ljava/util/List;Z)Vintermediary method_51745Lnet/minecraft/class_340;method_51745(Lnet/minecraft/class_332;Ljava/util/List;Z)Vnamed drawTextLnet/minecraft/client/gui/hud/DebugHud;drawText(Lnet/minecraft/client/gui/DrawContext;Ljava/util/List;Z)V
-
getLeftText
- Mappings:
Namespace Name Mixin selector official bLexo;b()Ljava/util/List;intermediary method_1835Lnet/minecraft/class_340;method_1835()Ljava/util/List;named getLeftTextLnet/minecraft/client/gui/hud/DebugHud;getLeftText()Ljava/util/List;
-
getBiomeString
- Mappings:
Namespace Name Mixin selector official aLexo;a(Lih;)Ljava/lang/String;intermediary method_40205Lnet/minecraft/class_340;method_40205(Lnet/minecraft/class_6880;)Ljava/lang/String;named getBiomeStringLnet/minecraft/client/gui/hud/DebugHud;getBiomeString(Lnet/minecraft/registry/entry/RegistryEntry;)Ljava/lang/String;
-
getServerWorld
- Mappings:
Namespace Name Mixin selector official nLexo;n()Land;intermediary method_20603Lnet/minecraft/class_340;method_20603()Lnet/minecraft/class_3218;named getServerWorldLnet/minecraft/client/gui/hud/DebugHud;getServerWorld()Lnet/minecraft/server/world/ServerWorld;
-
getServerWorldDebugString
- Mappings:
Namespace Name Mixin selector official oLexo;o()Ljava/lang/String;intermediary method_27871Lnet/minecraft/class_340;method_27871()Ljava/lang/String;named getServerWorldDebugStringLnet/minecraft/client/gui/hud/DebugHud;getServerWorldDebugString()Ljava/lang/String;
-
getWorld
- Mappings:
Namespace Name Mixin selector official pLexo;p()Lctp;intermediary method_1840Lnet/minecraft/class_340;method_1840()Lnet/minecraft/class_1937;named getWorldLnet/minecraft/client/gui/hud/DebugHud;getWorld()Lnet/minecraft/world/World;
-
getChunk
- Mappings:
Namespace Name Mixin selector official qLexo;q()Ldlo;intermediary method_1834Lnet/minecraft/class_340;method_1834()Lnet/minecraft/class_2818;named getChunkLnet/minecraft/client/gui/hud/DebugHud;getChunk()Lnet/minecraft/world/chunk/WorldChunk;
-
getClientChunk
- Mappings:
Namespace Name Mixin selector official rLexo;r()Ldlo;intermediary method_1836Lnet/minecraft/class_340;method_1836()Lnet/minecraft/class_2818;named getClientChunkLnet/minecraft/client/gui/hud/DebugHud;getClientChunk()Lnet/minecraft/world/chunk/WorldChunk;
-
getRightText
- Mappings:
Namespace Name Mixin selector official cLexo;c()Ljava/util/List;intermediary method_1839Lnet/minecraft/class_340;method_1839()Ljava/util/List;named getRightTextLnet/minecraft/client/gui/hud/DebugHud;getRightText()Ljava/util/List;
-
propertyToString
- Mappings:
Namespace Name Mixin selector official aLexo;a(Ljava/util/Map$Entry;)Ljava/lang/String;intermediary method_1845Lnet/minecraft/class_340;method_1845(Ljava/util/Map$Entry;)Ljava/lang/String;named propertyToStringLnet/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 cLexo;c(J)Jintermediary method_1838Lnet/minecraft/class_340;method_1838(J)Jnamed toMiBLnet/minecraft/client/gui/hud/DebugHud;toMiB(J)J
-
shouldShowDebugHud
public boolean shouldShowDebugHud()- Mappings:
Namespace Name Mixin selector official dLexo;d()Zintermediary method_53536Lnet/minecraft/class_340;method_53536()Znamed shouldShowDebugHudLnet/minecraft/client/gui/hud/DebugHud;shouldShowDebugHud()Z
-
shouldShowRenderingChart
public boolean shouldShowRenderingChart()- Mappings:
Namespace Name Mixin selector official eLexo;e()Zintermediary method_53537Lnet/minecraft/class_340;method_53537()Znamed shouldShowRenderingChartLnet/minecraft/client/gui/hud/DebugHud;shouldShowRenderingChart()Z
-
shouldShowPacketSizeAndPingCharts
public boolean shouldShowPacketSizeAndPingCharts()- Mappings:
Namespace Name Mixin selector official fLexo;f()Zintermediary method_53538Lnet/minecraft/class_340;method_53538()Znamed shouldShowPacketSizeAndPingChartsLnet/minecraft/client/gui/hud/DebugHud;shouldShowPacketSizeAndPingCharts()Z
-
toggleDebugHud
public void toggleDebugHud()- Mappings:
Namespace Name Mixin selector official gLexo;g()Vintermediary method_53539Lnet/minecraft/class_340;method_53539()Vnamed toggleDebugHudLnet/minecraft/client/gui/hud/DebugHud;toggleDebugHud()V
-
togglePacketSizeAndPingCharts
public void togglePacketSizeAndPingCharts()- Mappings:
Namespace Name Mixin selector official hLexo;h()Vintermediary method_53540Lnet/minecraft/class_340;method_53540()Vnamed togglePacketSizeAndPingChartsLnet/minecraft/client/gui/hud/DebugHud;togglePacketSizeAndPingCharts()V
-
toggleRenderingAndTickCharts
public void toggleRenderingAndTickCharts()- Mappings:
Namespace Name Mixin selector official iLexo;i()Vintermediary method_53541Lnet/minecraft/class_340;method_53541()Vnamed toggleRenderingAndTickChartsLnet/minecraft/client/gui/hud/DebugHud;toggleRenderingAndTickCharts()V
-
toggleRenderingChart
public void toggleRenderingChart()- Mappings:
Namespace Name Mixin selector official jLexo;j()Vintermediary method_53542Lnet/minecraft/class_340;method_53542()Vnamed toggleRenderingChartLnet/minecraft/client/gui/hud/DebugHud;toggleRenderingChart()V
-
pushToFrameLog
public void pushToFrameLog(long value) - Mappings:
Namespace Name Mixin selector official aLexo;a(J)Vintermediary method_53534Lnet/minecraft/class_340;method_53534(J)Vnamed pushToFrameLogLnet/minecraft/client/gui/hud/DebugHud;pushToFrameLog(J)V
-
pushToTickLog
public void pushToTickLog(long value) - Mappings:
Namespace Name Mixin selector official bLexo;b(J)Vintermediary method_53535Lnet/minecraft/class_340;method_53535(J)Vnamed pushToTickLogLnet/minecraft/client/gui/hud/DebugHud;pushToTickLog(J)V
-
getPingLog
- Mappings:
Namespace Name Mixin selector official kLexo;k()Lauy;intermediary method_53543Lnet/minecraft/class_340;method_53543()Lnet/minecraft/class_8743;named getPingLogLnet/minecraft/client/gui/hud/DebugHud;getPingLog()Lnet/minecraft/util/profiler/PerformanceLog;
-
getPacketSizeLog
- Mappings:
Namespace Name Mixin selector official lLexo;l()Lauy;intermediary method_53544Lnet/minecraft/class_340;method_53544()Lnet/minecraft/class_8743;named getPacketSizeLogLnet/minecraft/client/gui/hud/DebugHud;getPacketSizeLog()Lnet/minecraft/util/profiler/PerformanceLog;
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector official mLexo;m()Vintermediary method_53545Lnet/minecraft/class_340;method_53545()Vnamed clearLnet/minecraft/client/gui/hud/DebugHud;clear()V
-