Class CustomTextRenderer

java.lang.Object
meteordevelopment.meteorclient.renderer.text.CustomTextRenderer
All Implemented Interfaces:
TextRenderer

public class CustomTextRenderer extends Object implements TextRenderer
  • Field Details

    • SHADOW_COLOR

      public static final Color SHADOW_COLOR
    • fontFace

      public final FontFace fontFace
  • Constructor Details

    • CustomTextRenderer

      public CustomTextRenderer(FontFace fontFace)
  • Method Details

    • setAlpha

      public void setAlpha(double a)
      Specified by:
      setAlpha in interface TextRenderer
    • begin

      public void begin(double scale, boolean scaleOnly, boolean big)
      Specified by:
      begin in interface TextRenderer
    • getWidth

      public double getWidth(String text, int length, boolean shadow)
      Specified by:
      getWidth in interface TextRenderer
    • getHeight

      public double getHeight(boolean shadow)
      Specified by:
      getHeight in interface TextRenderer
    • render

      public double render(String text, double x, double y, Color color, boolean shadow)
      Specified by:
      render in interface TextRenderer
    • isBuilding

      public boolean isBuilding()
      Specified by:
      isBuilding in interface TextRenderer
    • end

      public void end(net.minecraft.client.util.math.MatrixStack matrices)
      Specified by:
      end in interface TextRenderer