类 DebugScreenOverlay
java.lang.Object
net.minecraft.client.gui.components.DebugScreenOverlay
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final DebugScreenOverlay.AllocationRateCalculator
private final BandwidthDebugChart
private final LocalSampleLogger
protected HitResult
private LevelChunk
private static final int
private final Font
private final FpsDebugChart
private final LocalSampleLogger
private static final Map
<Heightmap.Types, String> private ChunkPos
protected HitResult
private static final int
private static final int
private static final int
private final Minecraft
private final PingDebugChart
private final LocalSampleLogger
private final ProfilerPieChart
private final Map
<RemoteDebugSampleType, LocalSampleLogger> private boolean
protected boolean
protected boolean
protected boolean
private CompletableFuture
<LevelChunk> private final LocalSampleLogger
private final TpsDebugChart
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static long
bytesToMegabytes
(long p_94051_) void
protected void
drawFPSCharts
(ProfilerFiller profilerfiller, GuiGraphics p_281427_) protected void
drawGameInformation
(GuiGraphics p_281525_) protected void
drawNetworkCharts
(ProfilerFiller profilerfiller, GuiGraphics p_281427_) protected void
drawSystemInformation
(GuiGraphics p_281261_) protected void
drawText
(ProfilerFiller profilerfiller, GuiGraphics p_281427_) private LevelChunk
private Level
getLevel()
private String
getPropertyValueString
(Map.Entry<Property<?>, Comparable<?>> p_94072_) private LevelChunk
private String
private ServerLevel
void
logFrameDuration
(long p_300948_) void
logRemoteSample
(long[] p_333428_, RemoteDebugSampleType p_333591_) private static String
printBiome
(Holder<Biome> p_205375_) void
render
(GuiGraphics p_281427_) protected void
renderLines
(GuiGraphics p_286519_, List<String> p_286665_, boolean p_286644_) void
reset()
boolean
boolean
boolean
boolean
void
void
void
void
protected void
update()
-
字段详细资料
-
COLOR_GREY
private static final int COLOR_GREY- 另请参阅:
-
MARGIN_RIGHT
private static final int MARGIN_RIGHT- 另请参阅:
-
MARGIN_LEFT
private static final int MARGIN_LEFT- 另请参阅:
-
MARGIN_TOP
private static final int MARGIN_TOP- 另请参阅:
-
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
-
profilerPieChart
-
-
构造器详细资料
-
DebugScreenOverlay
-
-
方法详细资料
-
clearChunkCache
public void clearChunkCache() -
update
protected void update() -
drawText
-
drawFPSCharts
-
drawNetworkCharts
-
render
-
getOverlayHelp
-
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_300948_) -
getTickTimeLogger
-
getPingLogger
-
getBandwidthLogger
-
getProfilerPieChart
-
logRemoteSample
-
reset
public void reset()
-