Class DebugScreenOverlay
java.lang.Object
net.minecraft.client.gui.components.DebugScreenOverlay
- Direct Known Subclasses:
ForgeGui.ForgeDebugScreenOverlay
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DebugScreenOverlay.AllocationRateCalculator
protected HitResult
private LevelChunk
private static final int
private final Font
private static final int
private static final Map<Heightmap.Types,
String> private ChunkPos
protected HitResult
private static final int
private static final int
private static final int
private final Minecraft
private static final int
private CompletableFuture<LevelChunk>
private static final int
-
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
(GuiGraphics p_282273_, FrameTimer p_281838_, int p_283392_, int p_282726_, boolean p_282824_) protected void
drawGameInformation
(GuiGraphics p_281525_) protected void
drawSystemInformation
(GuiGraphics p_281261_) 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
private static String
printBiome
(Holder<Biome> p_205375_) void
render
(GuiGraphics p_281427_) private void
renderLines
(GuiGraphics p_286519_, List<String> p_286665_, boolean p_286644_)
-
Field Details
-
COLOR_GREY
private static final int COLOR_GREY- See Also:
-
MARGIN_RIGHT
private static final int MARGIN_RIGHT- See Also:
-
MARGIN_LEFT
private static final int MARGIN_LEFT- See Also:
-
MARGIN_TOP
private static final int MARGIN_TOP- See Also:
-
HEIGHTMAP_NAMES
-
minecraft
-
allocationRateCalculator
-
font
-
block
-
liquid
-
lastPos
-
clientChunk
-
serverChunk
-
RED
private static final int RED- See Also:
-
YELLOW
private static final int YELLOW- See Also:
-
GREEN
private static final int GREEN- See Also:
-
-
Constructor Details
-
DebugScreenOverlay
-
-
Method Details
-
clearChunkCache
public void clearChunkCache() -
render
-
drawGameInformation
-
drawSystemInformation
-
renderLines
-
getGameInformation
-
printBiome
-
getServerLevel
-
getServerChunkStats
-
getLevel
-
getServerChunk
-
getClientChunk
-
getSystemInformation
-
getPropertyValueString
-
drawChart
private void drawChart(GuiGraphics p_282273_, FrameTimer p_281838_, int p_283392_, int p_282726_, boolean p_282824_) -
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_)
-