Class DebugOverlayGui

    • Field Detail

      • HEIGHTMAP_NAMES

        private static final java.util.Map<Heightmap.Type,​java.lang.String> HEIGHTMAP_NAMES
      • minecraft

        private final Minecraft minecraft
      • lastPos

        @Nullable
        private ChunkPos lastPos
      • clientChunk

        @Nullable
        private Chunk clientChunk
      • serverChunk

        @Nullable
        private java.util.concurrent.CompletableFuture<Chunk> serverChunk
    • Constructor Detail

      • DebugOverlayGui

        public DebugOverlayGui​(Minecraft p_i45543_1_)
    • Method Detail

      • clearChunkCache

        public void clearChunkCache()
      • render

        public void render​(MatrixStack p_194818_1_)
      • drawGameInformation

        protected void drawGameInformation​(MatrixStack p_230024_1_)
      • drawSystemInformation

        protected void drawSystemInformation​(MatrixStack p_230025_1_)
      • getGameInformation

        protected java.util.List<java.lang.String> getGameInformation()
      • getServerLevel

        @Nullable
        private ServerWorld getServerLevel()
      • getServerChunkStats

        @Nullable
        private java.lang.String getServerChunkStats()
      • getLevel

        private World getLevel()
      • getServerChunk

        @Nullable
        private Chunk getServerChunk()
      • getClientChunk

        private Chunk getClientChunk()
      • getSystemInformation

        protected java.util.List<java.lang.String> getSystemInformation()
      • getPropertyValueString

        private java.lang.String getPropertyValueString​(java.util.Map.Entry<Property<?>,​java.lang.Comparable<?>> p_211534_1_)
      • drawChart

        private void drawChart​(MatrixStack p_238509_1_,
                               FrameTimer p_238509_2_,
                               int p_238509_3_,
                               int p_238509_4_,
                               boolean p_238509_5_)
      • getSampleColor

        private int getSampleColor​(int p_181552_1_,
                                   int p_181552_2_,
                                   int p_181552_3_,
                                   int p_181552_4_)
      • colorLerp

        private int colorLerp​(int p_181553_1_,
                              int p_181553_2_,
                              float p_181553_3_)
      • bytesToMegabytes

        private static long bytesToMegabytes​(long p_175240_0_)