类 AbstractDebugChart

java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
直接已知子类:
BandwidthDebugChart, FpsDebugChart, PingDebugChart, TpsDebugChart

public abstract class AbstractDebugChart extends Object
  • 字段详细资料

    • COLOR_GREY

      protected static final int COLOR_GREY
      另请参阅:
    • CHART_HEIGHT

      protected static final int CHART_HEIGHT
      另请参阅:
    • LINE_WIDTH

      protected static final int LINE_WIDTH
      另请参阅:
    • font

      protected final Font font
    • sampleStorage

      protected final SampleStorage sampleStorage
  • 构造器详细资料

    • AbstractDebugChart

      protected AbstractDebugChart(Font p_297994_, SampleStorage p_333599_)
  • 方法详细资料

    • getWidth

      public int getWidth(int p_300792_)
    • getFullHeight

      public int getFullHeight()
    • drawChart

      public void drawChart(GuiGraphics p_300681_, int p_298472_, int p_298870_)
    • drawDimensions

      protected void drawDimensions(GuiGraphics p_332509_, int p_335817_, int p_329430_, int p_328589_)
    • drawMainDimension

      protected void drawMainDimension(GuiGraphics p_336289_, int p_328284_, int p_335372_, int p_331181_)
    • drawAdditionalDimensions

      protected void drawAdditionalDimensions(GuiGraphics p_332338_, int p_333190_, int p_332312_, int p_328542_)
    • getValueForAggregation

      protected long getValueForAggregation(int p_335854_)
    • renderAdditionalLinesAndLabels

      protected void renderAdditionalLinesAndLabels(GuiGraphics p_300007_, int p_299062_, int p_300355_, int p_297248_)
    • drawStringWithShade

      protected void drawStringWithShade(GuiGraphics p_300760_, String p_299957_, int p_301259_, int p_298524_)
    • toDisplayString

      protected abstract String toDisplayString(double p_299846_)
    • getSampleHeight

      protected abstract int getSampleHeight(double p_298917_)
    • getSampleColor

      protected abstract int getSampleColor(long p_301058_)
    • getSampleColor

      protected int getSampleColor(double p_300651_, double p_300082_, int p_298618_, double p_299706_, int p_300095_, double p_298068_, int p_299403_)