Class DebugScreenOverlay
java.lang.Object
net.minecraft.client.gui.components.DebugScreenOverlay
- Direct Known Subclasses:
ForgeGui.ForgeDebugScreenOverlay
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DebugScreenOverlay.AllocationRateCalculatorprotected HitResultprivate LevelChunkprivate static final intprivate final Fontprivate static final intprivate static final Map<Heightmap.Types,String> private ChunkPosprotected HitResultprivate static final intprivate static final intprivate static final intprivate final Minecraftprivate static final intprivate CompletableFuture<LevelChunk>private static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static longbytesToMegabytes(long p_94051_) voidprivate intcolorLerp(int p_94042_, int p_94043_, float p_94044_) private voiddrawChart(GuiGraphics p_282273_, FrameTimer p_281838_, int p_283392_, int p_282726_, boolean p_282824_) protected voiddrawGameInformation(GuiGraphics p_281525_) protected voiddrawSystemInformation(GuiGraphics p_281261_) private LevelChunkprivate LevelgetLevel()private StringgetPropertyValueString(Map.Entry<Property<?>, Comparable<?>> p_94072_) private intgetSampleColor(int p_94046_, int p_94047_, int p_94048_, int p_94049_) private LevelChunkprivate Stringprivate ServerLevelprivate static StringprintBiome(Holder<Biome> p_205375_) voidrender(GuiGraphics p_281427_) private voidrenderLines(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_)
-