Class DebugScreenOverlay
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.DebugScreenOverlay
- Direct Known Subclasses:
ForgeIngameGui.ForgeDebugScreenOverlay
-
Field Summary
Modifier and TypeFieldDescriptionprotected 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
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
private static String
printBiome
(Holder<Biome> p_205375_) 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:
-
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
-
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_)
-