net.minecraft.client.gui.hud

public class DebugHud

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

Constructor summary

ModifierConstructor
public (MinecraftClient client)

Method summary

Modifier and TypeMethod
public void
clearChunkCache()
method_1842()
resetChunk()
public void
extractRenderState(GuiGraphicsExtractor graphics)
method_1846(class_332 arg0)
render(DrawContext context)
private static String
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)
method_1_645(class_304 arg0, class_304 arg1)
getKeyComboText(KeyBinding debugKey, KeyBinding chartKey)
private void
extractLines(GuiGraphicsExtractor graphics, List<String> lines, boolean alignLeft)
method_51745(class_332 arg0, List<String> arg1, boolean arg2)
drawText(DrawContext context, List<String> text, boolean left)
private ServerWorld
getServerLevel()
method_20603()
getServerWorld()
private World
getLevel()
method_1840()
getWorld()
private WorldChunk
getServerChunk()
method_1834()
getChunk()
private WorldChunk
getClientChunk()
method_1836()
getClientChunk()
public boolean
showDebugScreen()
method_53536()
shouldShowDebugHud()
public boolean
showProfilerChart()
method_53537()
shouldShowRenderingChart()
public boolean
showNetworkCharts()
method_53538()
shouldShowPacketSizeAndPingCharts()
public boolean
showFpsCharts()
method_56829()
shouldRenderTickCharts()
public boolean
showLightmapTexture()
method_1_646()
shouldRenderLightmapTexture()
public void
toggleNetworkCharts()
method_53540()
togglePacketSizeAndPingCharts()
public void
toggleFpsCharts()
method_53541()
toggleRenderingAndTickCharts()
public void
toggleLightmapTexture()
method_1_647()
toggleLightmapTexture()
public void
toggleProfilerChart()
method_53542()
toggleRenderingChart()
public void
logFrameDuration(long frameDuration)
method_53534(long arg0)
pushToFrameLog(long value)
public MultiValueDebugSampleLogImpl
getTickTimeLogger()
method_56577()
getTickNanosLog()
public MultiValueDebugSampleLogImpl
getPingLogger()
method_53543()
getPingLog()
public MultiValueDebugSampleLogImpl
getBandwidthLogger()
method_53544()
getPacketSizeLog()
public PieChart
getProfilerPieChart()
method_61981()
getPieChart()
public void
logRemoteSample(long[] sample, RemoteDebugSampleType type)
method_56828(long[] arg0, class_9192 arg1)
set(long[] values, DebugSampleType type)
public void
reset()
method_53545()
clear()
private static WorldChunk
lambda$getServerChunk$0(ChunkResult arg0)
method_20541(class_9259 arg0)
method_20541(OptionalChunk chunk)
private Optional
lambda$getLevel$0(IntegratedServer arg0)
method_1841(class_1132 arg0)
method_1841(IntegratedServer server)
private static Float
lambda$new$0(Minecraft arg0)
method_54796(class_310 arg0)
method_54796(MinecraftClient arg0)