类 DebugScreenOverlay
java.lang.Object
net.minecraft.client.gui.components.DebugScreenOverlay
- 直接已知子类:
ForgeGui.ForgeDebugScreenOverlay
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final DebugScreenOverlay.AllocationRateCalculator
protected HitResult
private LevelChunk
private static final int
private final Font
private static final int
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 static final int
private CompletableFuture<LevelChunk>
private static final int
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static long
bytesToMegabytes
(long pBytes) void
private int
colorLerp
(int pCol1, int pCol2, float pFactor) private void
drawChart
(GuiGraphics pGuiGraphics, FrameTimer pDrawTimer, int p_283392_, int p_282726_, boolean pDrawForFps) protected void
drawGameInformation
(GuiGraphics pGuiGraphics) protected void
drawSystemInformation
(GuiGraphics pGuiGraphics) private LevelChunk
private Level
getLevel()
private String
getPropertyValueString
(Map.Entry<Property<?>, Comparable<?>> pEntry) private int
getSampleColor
(int pHeight, int pHeightMin, int pHeightMid, int pHeightMax) private LevelChunk
private String
private ServerLevel
private static String
printBiome
(Holder<Biome> pBiomeHolder) void
render
(GuiGraphics pGuiGraphics) private void
renderLines
(GuiGraphics pGuiGraphics, List<String> pLines, boolean pLeftSide)
-
字段详细资料
-
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
-
RED
private static final int RED- 另请参阅:
-
YELLOW
private static final int YELLOW- 另请参阅:
-
GREEN
private static final int GREEN- 另请参阅:
-
-
构造器详细资料
-
DebugScreenOverlay
-
-
方法详细资料
-
clearChunkCache
public void clearChunkCache() -
render
-
drawGameInformation
-
drawSystemInformation
-
renderLines
-
getGameInformation
-
printBiome
-
getServerLevel
-
getServerChunkStats
-
getLevel
-
getServerChunk
-
getClientChunk
-
getSystemInformation
-
getPropertyValueString
-
drawChart
private void drawChart(GuiGraphics pGuiGraphics, FrameTimer pDrawTimer, int p_283392_, int p_282726_, boolean pDrawForFps) -
getSampleColor
private int getSampleColor(int pHeight, int pHeightMin, int pHeightMid, int pHeightMax) -
colorLerp
private int colorLerp(int pCol1, int pCol2, float pFactor) -
bytesToMegabytes
private static long bytesToMegabytes(long pBytes)
-