Class BandwidthDebugChart

java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.client.gui.components.debugchart.BandwidthDebugChart

public class BandwidthDebugChart extends AbstractDebugChart
  • Field Details

  • Constructor Details

    • BandwidthDebugChart

      public BandwidthDebugChart(Font p_298629_, SampleStorage p_328760_)
  • Method Details

    • renderAdditionalLinesAndLabels

      protected void renderAdditionalLinesAndLabels(GuiGraphics p_298580_, int p_298671_, int p_301018_, int p_300317_)
      Overrides:
      renderAdditionalLinesAndLabels in class AbstractDebugChart
    • drawLabeledLineAtValue

      private void drawLabeledLineAtValue(GuiGraphics p_297903_, int p_297652_, int p_298530_, int p_300952_, int p_298161_)
    • drawLineWithLabel

      private void drawLineWithLabel(GuiGraphics p_298208_, int p_300180_, int p_297727_, int p_299631_, String p_301319_)
    • toDisplayString

      protected String toDisplayString(double p_299768_)
      Specified by:
      toDisplayString in class AbstractDebugChart
    • toDisplayStringInternal

      private static String toDisplayStringInternal(double p_299142_)
    • getSampleHeight

      protected int getSampleHeight(double p_299298_)
      Specified by:
      getSampleHeight in class AbstractDebugChart
    • getSampleHeightInternal

      private static int getSampleHeightInternal(double p_298407_)
    • getSampleColor

      protected int getSampleColor(long p_297628_)
      Specified by:
      getSampleColor in class AbstractDebugChart
    • toBytesPerSecond

      private static double toBytesPerSecond(double p_298688_)