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 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 booleanprivate @Nullable CompletableFuture<LevelChunk> private final LocalSampleLoggerprivate final TpsDebugChart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidextractLines(GuiGraphicsExtractor graphics, List<String> lines, boolean alignLeft) voidextractRenderState(GuiGraphicsExtractor graphics) private static StringformatChart(KeyMapping keyDebugModifier, KeyMapping keybind, String name, boolean status) private static StringformatKeybind(KeyMapping keyDebugModifier, KeyMapping keybind) private @Nullable LevelChunkgetLevel()private @Nullable LevelChunkprivate @Nullable ServerLevelvoidlogFrameDuration(long frameDuration) voidlogRemoteSample(long[] sample, RemoteDebugSampleType type) voidrender3dCrosshair(CameraRenderState cameraState, int guiScale) voidreset()booleanbooleanbooleanbooleanbooleanvoidvoidvoidvoid
-
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 -
renderLightmapTexture
private boolean renderLightmapTexture -
frameTimeLogger
-
tickTimeLogger
-
pingLogger
-
bandwidthLogger
-
remoteSupportingLoggers
-
fpsChart
-
tpsChart
-
pingChart
-
bandwidthChart
-
profilerPieChart
-
-
Constructor Details
-
DebugScreenOverlay
-
-
Method Details
-
clearChunkCache
public void clearChunkCache() -
extractRenderState
-
formatChart
private static String formatChart(KeyMapping keyDebugModifier, KeyMapping keybind, String name, boolean status) -
formatKeybind
-
extractLines
-
getServerLevel
-
getLevel
-
getServerChunk
-
getClientChunk
-
showDebugScreen
public boolean showDebugScreen() -
showProfilerChart
public boolean showProfilerChart() -
showNetworkCharts
public boolean showNetworkCharts() -
showFpsCharts
public boolean showFpsCharts() -
showLightmapTexture
public boolean showLightmapTexture() -
toggleNetworkCharts
public void toggleNetworkCharts() -
toggleFpsCharts
public void toggleFpsCharts() -
toggleLightmapTexture
public void toggleLightmapTexture() -
toggleProfilerChart
public void toggleProfilerChart() -
logFrameDuration
public void logFrameDuration(long frameDuration) -
getTickTimeLogger
-
getPingLogger
-
getBandwidthLogger
-
getProfilerPieChart
-
logRemoteSample
-
reset
public void reset() -
render3dCrosshair
-