Class DebugScreenOverlay
java.lang.Object
net.minecraft.client.gui.GuiComponent
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 intFields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, LIGHT_DIRT_BACKGROUND, STATS_ICON_LOCATION -
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(PoseStack p_94059_, FrameTimer p_94060_, int p_94061_, int p_94062_, boolean p_94063_) protected voiddrawGameInformation(PoseStack p_94077_) protected voiddrawSystemInformation(PoseStack p_94080_) 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_) voidMethods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blit, blitNineSliced, blitNineSliced, blitNineSliced, blitOutlineBlack, blitRepeating, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, hLine, renderOutline, vLine
-
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
-
getGameInformation
-
printBiome
-
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_)
-