Class DebugScreenOverlay
java.lang.Object
net.minecraft.client.gui.components.DebugScreenOverlay
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BandwidthDebugChartprivate final LocalSampleLoggerprivate @Nullable LevelChunkprivate static final intprivate static final floatprivate final GpuBufferprivate final RenderSystem.AutoStorageIndexBufferprivate final Fontprivate final FpsDebugChartprivate final LocalSampleLoggerprivate @Nullable ChunkPosprivate static final intprivate static final intprivate static final intprivate final Minecraftprivate final PingDebugChartprivate final LocalSampleLoggerprivate final ProfilerPieChartprivate final Map<RemoteDebugSampleType, LocalSampleLogger> private booleanprivate booleanprivate booleanprivate @Nullable CompletableFuture<LevelChunk> private final LocalSampleLoggerprivate final TpsDebugChart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate @Nullable LevelChunkprivate @Nullable LevelgetLevel()private @Nullable LevelChunkprivate @Nullable ServerLevelvoidlogFrameDuration(long pFrameDuration) voidlogRemoteSample(long[] pSample, RemoteDebugSampleType pSampleType) voidrender(GuiGraphics pGuiGraphics) voidrender3dCrosshair(Camera pCamera) private voidrenderLines(GuiGraphics pGuiGraphics, List<String> pLines, boolean pLeftSide) voidreset()booleanbooleanbooleanbooleanvoidvoidvoid
-
Field Details
-
CROSSHAIR_SCALE
private static final float CROSSHAIR_SCALE- See Also:
-
CROSSHAIR_INDEX_COUNT
private static final int CROSSHAIR_INDEX_COUNT- 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:
-
minecraft
-
font
-
crosshairBuffer
-
crosshairIndicies
-
lastPos
-
clientChunk
-
serverChunk
-
renderProfilerChart
private boolean renderProfilerChart -
renderFpsCharts
private boolean renderFpsCharts -
renderNetworkCharts
private boolean renderNetworkCharts -
frameTimeLogger
-
tickTimeLogger
-
pingLogger
-
bandwidthLogger
-
remoteSupportingLoggers
-
fpsChart
-
tpsChart
-
pingChart
-
bandwidthChart
-
profilerPieChart
-
-
Constructor Details
-
DebugScreenOverlay
-
-
Method Details
-
clearChunkCache
public void clearChunkCache() -
render
-
renderLines
-
getServerLevel
-
getLevel
-
getServerChunk
-
getClientChunk
-
showDebugScreen
public boolean showDebugScreen() -
showProfilerChart
public boolean showProfilerChart() -
showNetworkCharts
public boolean showNetworkCharts() -
showFpsCharts
public boolean showFpsCharts() -
toggleNetworkCharts
public void toggleNetworkCharts() -
toggleFpsCharts
public void toggleFpsCharts() -
toggleProfilerChart
public void toggleProfilerChart() -
logFrameDuration
public void logFrameDuration(long pFrameDuration) -
getTickTimeLogger
-
getPingLogger
-
getBandwidthLogger
-
getProfilerPieChart
-
logRemoteSample
-
reset
public void reset() -
render3dCrosshair
-