Package net.minecraft.client.gui.overlay
Class DebugOverlayGui
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.overlay.DebugOverlayGui
- Direct Known Subclasses:
ForgeIngameGui.GuiOverlayDebugForge
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RayTraceResultprivate Chunkprivate final FontRendererprivate static final Map<Heightmap.Type,String> private ChunkPosprotected RayTraceResultprivate final Minecraftprivate CompletableFuture<Chunk>Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static longbytesToMegabytes(long p_175240_0_) voidprivate intcolorLerp(int p_181553_1_, int p_181553_2_, float p_181553_3_) private voiddrawChart(MatrixStack p_238509_1_, FrameTimer p_238509_2_, int p_238509_3_, int p_238509_4_, boolean p_238509_5_) protected voiddrawGameInformation(MatrixStack p_230024_1_) protected voiddrawSystemInformation(MatrixStack p_230025_1_) private Chunkprivate WorldgetLevel()private StringgetPropertyValueString(Map.Entry<Property<?>, Comparable<?>> p_211534_1_) private intgetSampleColor(int p_181552_1_, int p_181552_2_, int p_181552_3_, int p_181552_4_) private Chunkprivate Stringprivate ServerWorldvoidrender(MatrixStack p_194818_1_) Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Field Details
-
HEIGHTMAP_NAMES
-
minecraft
-
font
-
block
-
liquid
-
lastPos
-
clientChunk
-
serverChunk
-
-
Constructor Details
-
DebugOverlayGui
-
-
Method Details
-
clearChunkCache
public void clearChunkCache() -
render
-
drawGameInformation
-
drawSystemInformation
-
getGameInformation
-
getServerLevel
-
getServerChunkStats
-
getLevel
-
getServerChunk
-
getClientChunk
-
getSystemInformation
-
getPropertyValueString
-
drawChart
private void drawChart(MatrixStack p_238509_1_, FrameTimer p_238509_2_, int p_238509_3_, int p_238509_4_, boolean p_238509_5_) -
getSampleColor
private int getSampleColor(int p_181552_1_, int p_181552_2_, int p_181552_3_, int p_181552_4_) -
colorLerp
private int colorLerp(int p_181553_1_, int p_181553_2_, float p_181553_3_) -
bytesToMegabytes
private static long bytesToMegabytes(long p_175240_0_)
-