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_298747_, SampleStorage p_323505_)
  • Method Details

    • renderAdditionalLinesAndLabels

      protected void renderAdditionalLinesAndLabels(GuiGraphics p_298777_, int p_298875_, int p_298575_, int p_298572_)
      Overrides:
      renderAdditionalLinesAndLabels in class AbstractDebugChart
    • drawLabeledLineAtValue

      private void drawLabeledLineAtValue(GuiGraphics p_298765_, int p_298499_, int p_299090_, int p_299218_, int p_299096_)
    • drawLineWithLabel

      private void drawLineWithLabel(GuiGraphics p_298513_, int p_299197_, int p_298663_, int p_299258_, String p_298779_)
    • toDisplayString

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

      private static String toDisplayStringInternal(double p_299224_)
    • getSampleHeight

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

      private static int getSampleHeightInternal(double p_298204_)
    • getSampleColor

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

      private static double toBytesPerSecond(double p_298720_)