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
Modifier and TypeFieldDescriptionprotected RayTraceResult
private Chunk
private final FontRenderer
private static final Map<Heightmap.Type,
String> private ChunkPos
protected RayTraceResult
private final Minecraft
private CompletableFuture<Chunk>
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static long
bytesToMegabytes
(long p_175240_0_) void
private int
colorLerp
(int p_181553_1_, int p_181553_2_, float p_181553_3_) private void
drawChart
(MatrixStack p_238509_1_, FrameTimer p_238509_2_, int p_238509_3_, int p_238509_4_, boolean p_238509_5_) protected void
drawGameInformation
(MatrixStack p_230024_1_) protected void
drawSystemInformation
(MatrixStack p_230025_1_) private Chunk
private World
getLevel()
private String
getPropertyValueString
(Map.Entry<Property<?>, Comparable<?>> p_211534_1_) private int
getSampleColor
(int p_181552_1_, int p_181552_2_, int p_181552_3_, int p_181552_4_) private Chunk
private String
private ServerWorld
void
render
(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_)
-