Class AbstractDebugChart

java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
Direct Known Subclasses:
BandwidthDebugChart, FpsDebugChart, PingDebugChart, TpsDebugChart

public abstract class AbstractDebugChart extends Object
  • Field Details

  • Constructor Details

    • AbstractDebugChart

      protected AbstractDebugChart(Font font, SampleStorage sampleStorage)
  • Method Details

    • getWidth

      public int getWidth(int maxWidth)
    • drawChart

      public void drawChart(GuiGraphics guiGraphics, int x, int width)
    • drawDimensions

      protected void drawDimensions(GuiGraphics guiGraphics, int height, int x, int index)
    • drawMainDimension

      protected void drawMainDimension(GuiGraphics guiGraphics, int height, int x, int index)
    • drawAdditionalDimensions

      protected void drawAdditionalDimensions(GuiGraphics guiGraphics, int height, int x, int index)
    • getValueForAggregation

      protected long getValueForAggregation(int index)
    • renderAdditionalLinesAndLabels

      protected void renderAdditionalLinesAndLabels(GuiGraphics guiGraphics, int x, int width, int height)
    • drawStringWithShade

      protected void drawStringWithShade(GuiGraphics guiGraphics, String text, int x, int y)
    • toDisplayString

      protected abstract String toDisplayString(double value)
    • getSampleHeight

      protected abstract int getSampleHeight(double value)
    • getSampleColor

      protected abstract int getSampleColor(long value)
    • getSampleColor

      protected int getSampleColor(double value, double minPosition, int minColor, double midPosition, int midColor, double maxPosition, int guiGraphics)