Package net.minecraft.client.gui.hud
Class DebugHud
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.hud.DebugHud
- Mappings:
Namespace Name official eok
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 static final int
private static final int
private static final int
private HitResult
private static final Map<Heightmap.Type,
String> private static final int
private final TextRenderer
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, LIGHT_DIRT_BACKGROUND_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawMetricsData
(MatrixStack matrices, MetricsData metricsData, int x, int width, boolean showFps) private static String
getBiomeString
(RegistryEntry<Biome> biome) private @Nullable WorldChunk
getChunk()
private WorldChunk
private int
getMetricsLineColor
(int value, int greenValue, int yellowValue, int redValue) private @Nullable ServerWorld
private World
getWorld()
private int
interpolateColor
(int color1, int color2, float dt) private String
propertyToString
(Map.Entry<Property<?>, Comparable<?>> propEntry) void
render
(MatrixStack matrices) protected void
renderLeftText
(MatrixStack matrices) protected void
renderRightText
(MatrixStack matrices) void
private static long
toMiB
(long bytes) Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawBorder, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient
-
Field Details
-
TEXT_COLOR
private static final int TEXT_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leok;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
Leok;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
Leok;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
Leok;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
Leok;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;
-
field_32191
private static final int field_32191- See Also:
- Mappings:
Namespace Name Mixin selector official r
Leok;r:I
intermediary field_32191
Lnet/minecraft/class_340;field_32191:I
named field_32191
Lnet/minecraft/client/gui/hud/DebugHud;field_32191:I
-
field_32192
private static final int field_32192- See Also:
- Mappings:
Namespace Name Mixin selector official s
Leok;s:I
intermediary field_32192
Lnet/minecraft/class_340;field_32192:I
named field_32192
Lnet/minecraft/client/gui/hud/DebugHud;field_32192:I
-
field_32193
private static final int field_32193- See Also:
- Mappings:
Namespace Name Mixin selector official t
Leok;t:I
intermediary field_32193
Lnet/minecraft/class_340;field_32193:I
named field_32193
Lnet/minecraft/client/gui/hud/DebugHud;field_32193:I
-
client
- Mappings:
Namespace Name Mixin selector official f
Leok;f:Lemh;
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 k
Leok;k:Leok$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 l
Leok;l:Lenp;
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 m
Leok;m:Ledc;
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 n
Leok;n:Ledc;
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 o
Leok;o:Lclp;
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 p
Leok;p:Lddy;
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 q
Leok;q: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;
-
-
Constructor Details
-
DebugHud
- Mappings:
Namespace Name Mixin selector official <init>
Leok;<init>(Lemh;)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
Leok;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
Leok;a(Lehe;)V
intermediary method_1846
Lnet/minecraft/class_340;method_1846(Lnet/minecraft/class_4587;)V
named render
Lnet/minecraft/client/gui/hud/DebugHud;render(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderLeftText
- Mappings:
Namespace Name Mixin selector official b
Leok;b(Lehe;)V
intermediary method_1847
Lnet/minecraft/class_340;method_1847(Lnet/minecraft/class_4587;)V
named renderLeftText
Lnet/minecraft/client/gui/hud/DebugHud;renderLeftText(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderRightText
- Mappings:
Namespace Name Mixin selector official c
Leok;c(Lehe;)V
intermediary method_1848
Lnet/minecraft/class_340;method_1848(Lnet/minecraft/class_4587;)V
named renderRightText
Lnet/minecraft/client/gui/hud/DebugHud;renderRightText(Lnet/minecraft/client/util/math/MatrixStack;)V
-
getLeftText
- Mappings:
Namespace Name Mixin selector official b
Leok;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
Leok;a(Lhd;)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 d
Leok;d()Laip;
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 e
Leok;e()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 f
Leok;f()Lcmi;
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 g
Leok;g()Lddy;
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 h
Leok;h()Lddy;
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
Leok;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
Leok;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;
-
drawMetricsData
private void drawMetricsData(MatrixStack matrices, MetricsData metricsData, int x, int width, boolean showFps) - Mappings:
Namespace Name Mixin selector official a
Leok;a(Lehe;Laox;IIZ)V
intermediary method_15870
Lnet/minecraft/class_340;method_15870(Lnet/minecraft/class_4587;Lnet/minecraft/class_3517;IIZ)V
named drawMetricsData
Lnet/minecraft/client/gui/hud/DebugHud;drawMetricsData(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/MetricsData;IIZ)V
-
getMetricsLineColor
private int getMetricsLineColor(int value, int greenValue, int yellowValue, int redValue) - Mappings:
Namespace Name Mixin selector official b
Leok;b(IIII)I
intermediary method_1833
Lnet/minecraft/class_340;method_1833(IIII)I
named getMetricsLineColor
Lnet/minecraft/client/gui/hud/DebugHud;getMetricsLineColor(IIII)I
-
interpolateColor
private int interpolateColor(int color1, int color2, float dt) - Mappings:
Namespace Name Mixin selector official a
Leok;a(IIF)I
intermediary method_1843
Lnet/minecraft/class_340;method_1843(IIF)I
named interpolateColor
Lnet/minecraft/client/gui/hud/DebugHud;interpolateColor(IIF)I
-
toMiB
private static long toMiB(long bytes) - Mappings:
Namespace Name Mixin selector official a
Leok;a(J)J
intermediary method_1838
Lnet/minecraft/class_340;method_1838(J)J
named toMiB
Lnet/minecraft/client/gui/hud/DebugHud;toMiB(J)J
-