Class DebugScreenOverlay
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.DebugScreenOverlay
- Direct Known Subclasses:
ForgeIngameGui.GuiOverlayDebugForge
-
Field Summary
Modifier and TypeFieldDescriptionprotected HitResult
private LevelChunk
private static int
private Font
private static int
private static Map<Heightmap.Types,String>
private ChunkPos
protected HitResult
private static int
private static int
private static int
private Minecraft
private static int
private CompletableFuture<LevelChunk>
private static int
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static long
bytesToMegabytes(long p_94051_)
void
private int
colorLerp(int p_94042_, int p_94043_, float p_94044_)
private void
drawChart(PoseStack p_94059_, FrameTimer p_94060_, int p_94061_, int p_94062_, boolean p_94063_)
protected void
drawGameInformation(PoseStack p_94077_)
protected void
drawSystemInformation(PoseStack p_94080_)
private LevelChunk
private Level
getLevel()
private String
getPropertyValueString(Map.Entry<Property<?>,Comparable<?>> p_94072_)
private int
getSampleColor(int p_94046_, int p_94047_, int p_94048_, int p_94049_)
private LevelChunk
private String
private ServerLevel
void
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Field Details
-
COLOR_GREY
private static final int COLOR_GREY- See Also:
- Constant Field Values
-
MARGIN_RIGHT
private static final int MARGIN_RIGHT- See Also:
- Constant Field Values
-
MARGIN_LEFT
private static final int MARGIN_LEFT- See Also:
- Constant Field Values
-
MARGIN_TOP
private static final int MARGIN_TOP- See Also:
- Constant Field Values
-
HEIGHTMAP_NAMES
-
minecraft
-
font
-
block
-
liquid
-
lastPos
-
clientChunk
-
serverChunk
-
RED
private static final int RED- See Also:
- Constant Field Values
-
YELLOW
private static final int YELLOW- See Also:
- Constant Field Values
-
GREEN
private static final int GREEN- See Also:
- Constant Field Values
-
-
Constructor Details
-
DebugScreenOverlay
-
-
Method Details
-
clearChunkCache
public void clearChunkCache() -
render
-
drawGameInformation
-
drawSystemInformation
-
getGameInformation
-
getServerLevel
-
getServerChunkStats
-
getLevel
-
getServerChunk
-
getClientChunk
-
getSystemInformation
-
getPropertyValueString
-
drawChart
private void drawChart(PoseStack p_94059_, FrameTimer p_94060_, int p_94061_, int p_94062_, boolean p_94063_) -
getSampleColor
private int getSampleColor(int p_94046_, int p_94047_, int p_94048_, int p_94049_) -
colorLerp
private int colorLerp(int p_94042_, int p_94043_, float p_94044_) -
bytesToMegabytes
private static long bytesToMegabytes(long p_94051_)
-