Class DebugScreenOverlay
java.lang.Object
net.minecraft.client.gui.components.DebugScreenOverlay
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DebugScreenOverlay.AllocationRateCalculatorprivate final BandwidthDebugChartprivate final LocalSampleLoggerprotected HitResultprivate LevelChunkprivate static final intprivate final Fontprivate final FpsDebugChartprivate final LocalSampleLoggerprivate static final Map<Heightmap.Types, String> private ChunkPosprotected HitResultprivate static final intprivate static final intprivate static final intprivate final Minecraftprivate final PingDebugChartprivate final LocalSampleLoggerprivate final Map<RemoteDebugSampleType, LocalSampleLogger> private booleanprotected booleanprotected booleanprotected booleanprivate CompletableFuture<LevelChunk> private final LocalSampleLoggerprivate final TpsDebugChart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static longbytesToMegabytes(long p_94051_) voidprotected voiddrawGameInformation(GuiGraphics p_281525_, List<String> gameInformation) protected voiddrawSystemInformation(GuiGraphics p_281261_, List<String> systemInformation) private LevelChunkprivate LevelgetLevel()private StringgetPropertyValueString(Map.Entry<Property<?>, Comparable<?>> p_94072_) private LevelChunkprivate Stringprivate ServerLevelvoidlogFrameDuration(long p_299936_) voidlogRemoteSample(long[] p_324375_, RemoteDebugSampleType p_324309_) private static StringprintBiome(Holder<Biome> p_205375_) voidrender(GuiGraphics p_281427_) private voidrenderLines(GuiGraphics p_286519_, List<String> p_286665_, boolean p_286644_) voidreset()booleanbooleanbooleanbooleanvoidvoidvoidvoid
-
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
-
renderDebug
private boolean renderDebug -
renderProfilerChart
protected boolean renderProfilerChart -
renderFpsCharts
protected boolean renderFpsCharts -
renderNetworkCharts
protected boolean renderNetworkCharts -
frameTimeLogger
-
tickTimeLogger
-
pingLogger
-
bandwidthLogger
-
remoteSupportingLoggers
-
fpsChart
-
tpsChart
-
pingChart
-
bandwidthChart
-
-
Constructor Details
-
DebugScreenOverlay
-
-
Method Details
-
clearChunkCache
public void clearChunkCache() -
render
-
drawGameInformation
-
drawSystemInformation
-
renderLines
-
getGameInformation
-
printBiome
-
getServerLevel
-
getServerChunkStats
-
getLevel
-
getServerChunk
-
getClientChunk
-
getSystemInformation
-
getPropertyValueString
-
bytesToMegabytes
private static long bytesToMegabytes(long p_94051_) -
showDebugScreen
public boolean showDebugScreen() -
showProfilerChart
public boolean showProfilerChart() -
showNetworkCharts
public boolean showNetworkCharts() -
showFpsCharts
public boolean showFpsCharts() -
toggleOverlay
public void toggleOverlay() -
toggleNetworkCharts
public void toggleNetworkCharts() -
toggleFpsCharts
public void toggleFpsCharts() -
toggleProfilerChart
public void toggleProfilerChart() -
logFrameDuration
public void logFrameDuration(long p_299936_) -
getTickTimeLogger
-
getPingLogger
-
getBandwidthLogger
-
logRemoteSample
-
reset
public void reset()
-