net.minecraft.client.gui.hud

public class DebugHud

net.minecraft.client.gui.components.DebugScreenOverlay
net.minecraft.client.gui.components.DebugScreenOverlay
net.minecraft.class_340
net.minecraft.client.gui.hud.DebugHud

Field summary

Modifier and TypeField
private static final int
MARGIN_RIGHT
MARGIN_RIGHT
field_32188
field_32188
private static final int
MARGIN_LEFT
MARGIN_LEFT
field_32189
field_32189
private static final int
MARGIN_TOP
MARGIN_TOP
field_32190
field_32190
private final MinecraftClient
minecraft
minecraft
field_2079
client
private final TextRenderer
font
font
field_2081
textRenderer
private ChunkPos
lastPos
lastPos
field_2085
pos
private WorldChunk
clientChunk
clientChunk
field_2084
chunk
private CompletableFuture<WorldChunk>
serverChunk
serverChunk
field_2080
chunkFuture
private boolean
renderProfilerChart
renderProfilerChart
field_45989
renderingChartVisible
private boolean
renderFpsCharts
renderFpsCharts
field_45990
renderingAndTickChartsVisible
private boolean
renderNetworkCharts
renderNetworkCharts
field_45991
packetSizeAndPingChartsVisible
private boolean
renderLightmapTexture
renderLightmapTexture
field_1_679
lightmapTextureVisible
private final MultiValueDebugSampleLogImpl
frameTimeLogger
frameTimeLogger
field_45992
frameNanosLog
private final MultiValueDebugSampleLogImpl
tickTimeLogger
tickTimeLogger
field_45993
tickNanosLog
private final MultiValueDebugSampleLogImpl
pingLogger
pingLogger
field_45994
pingLog
private final MultiValueDebugSampleLogImpl
bandwidthLogger
bandwidthLogger
field_45995
packetSizeLog
private final Map<DebugSampleType, MultiValueDebugSampleLogImpl>
remoteSupportingLoggers
remoteSupportingLoggers
field_48931
receivedDebugSamples
private final RenderingChart
fpsChart
fpsChart
field_45910
renderingChart
private final TickChart
tpsChart
tpsChart
field_45913
tickChart
private final PingChart
pingChart
pingChart
field_45911
pingChart
private final PacketSizeChart
bandwidthChart
bandwidthChart
field_45912
packetSizeChart
private final PieChart
profilerPieChart
profilerPieChart
field_52772
pieChart

Constructor summary

ModifierConstructor
public (MinecraftClient client)

Method summary

Modifier and TypeMethod
public void
clearChunkCache()
clearChunkCache()
method_1842()
resetChunk()
public void
extractRenderState(GuiGraphicsExtractor graphics)
extractRenderState(GuiGraphicsExtractor graphics)
method_1846(class_332 arg0)
render(DrawContext context)
private static String
formatChart(KeyMapping keyDebugModifier, KeyMapping keybind, String name, boolean status)
formatChart(KeyMapping keyDebugModifier, KeyMapping keybind, String name, boolean status)
method_1_644(class_304 arg0, class_304 arg1, String arg2, boolean arg3)
getChartLabel(KeyBinding debugKey, KeyBinding chartKey, String description, boolean visible)
private static String
formatKeybind(KeyMapping keyDebugModifier, KeyMapping keybind)
formatKeybind(KeyMapping keyDebugModifier, KeyMapping keybind)
method_1_645(class_304 arg0, class_304 arg1)
getKeyComboText(KeyBinding debugKey, KeyBinding chartKey)
private void
extractLines(GuiGraphicsExtractor graphics, List<String> lines, boolean alignLeft, int scaledScreenWidth)
extractLines(GuiGraphicsExtractor graphics, List<String> lines, boolean alignLeft, int scaledScreenWidth)
method_51745(class_332 arg0, List<String> arg1, boolean arg2, int arg3)
drawText(DrawContext context, List<String> text, boolean left, int arg3)
private ServerWorld
getServerLevel()
getServerLevel()
method_20603()
getServerWorld()
private World
getLevel()
getLevel()
method_1840()
getWorld()
private WorldChunk
getServerChunk()
getServerChunk()
method_1834()
getChunk()
private WorldChunk
getClientChunk()
getClientChunk()
method_1836()
getClientChunk()
public boolean
showDebugScreen()
showDebugScreen()
method_53536()
shouldShowDebugHud()
public boolean
showProfilerChart()
showProfilerChart()
method_53537()
shouldShowRenderingChart()
public boolean
showNetworkCharts()
showNetworkCharts()
method_53538()
shouldShowPacketSizeAndPingCharts()
public boolean
showFpsCharts()
showFpsCharts()
method_56829()
shouldRenderTickCharts()
public boolean
showLightmapTexture()
showLightmapTexture()
method_1_646()
shouldRenderLightmapTexture()
public void
toggleNetworkCharts()
toggleNetworkCharts()
method_53540()
togglePacketSizeAndPingCharts()
public void
toggleFpsCharts()
toggleFpsCharts()
method_53541()
toggleRenderingAndTickCharts()
public void
toggleLightmapTexture()
toggleLightmapTexture()
method_1_647()
toggleLightmapTexture()
public void
toggleProfilerChart()
toggleProfilerChart()
method_53542()
toggleRenderingChart()
public void
logFrameDuration(long frameDuration)
logFrameDuration(long frameDuration)
method_53534(long arg0)
pushToFrameLog(long value)
public MultiValueDebugSampleLogImpl
getTickTimeLogger()
getTickTimeLogger()
method_56577()
getTickNanosLog()
public MultiValueDebugSampleLogImpl
getPingLogger()
getPingLogger()
method_53543()
getPingLog()
public MultiValueDebugSampleLogImpl
getBandwidthLogger()
getBandwidthLogger()
method_53544()
getPacketSizeLog()
public PieChart
getProfilerPieChart()
getProfilerPieChart()
method_61981()
getPieChart()
public void
logRemoteSample(long[] sample, RemoteDebugSampleType type)
logRemoteSample(long[] sample, RemoteDebugSampleType type)
method_56828(long[] arg0, class_9192 arg1)
set(long[] values, DebugSampleType type)
public void
reset()
reset()
method_53545()
clear()