Class DrawableHelper

java.lang.Object
net.minecraft.client.gui.DrawableHelper
Direct Known Subclasses:
ButtonWidget, class_35, class_594, InGameHud, Screen, TextFieldWidget

@Environment(CLIENT) public class DrawableHelper extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_584
glue class_669
server net/minecraft/class_584
client ub
named net/minecraft/client/gui/DrawableHelper
  • Field Details

    • zOffset

      protected float zOffset
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2522 Lnet/minecraft/class_584;field_2522:F
      glue field_2738 Lclass_669;field_2738:F
      server field_2522 Lnet/minecraft/class_584;field_2522:F
      client k Lub;k:F
      named zOffset Lnet/minecraft/client/gui/DrawableHelper;zOffset:F
  • Constructor Details

    • DrawableHelper

      public DrawableHelper()
  • Method Details

    • drawHorizontalLine

      protected void drawHorizontalLine(int x1, int x2, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1931 Lnet/minecraft/class_584;method_1931(IIII)V
      glue method_2193 Lclass_669;method_2193(IIII)V
      server method_1931 Lnet/minecraft/class_584;method_1931(IIII)V
      client a Lub;a(IIII)V
      named drawHorizontalLine Lnet/minecraft/client/gui/DrawableHelper;drawHorizontalLine(IIII)V
    • drawVerticalLine

      protected void drawVerticalLine(int x, int y1, int y2, int color)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1935 Lnet/minecraft/class_584;method_1935(IIII)V
      glue method_2197 Lclass_669;method_2197(IIII)V
      server method_1935 Lnet/minecraft/class_584;method_1935(IIII)V
      client b Lub;b(IIII)V
      named drawVerticalLine Lnet/minecraft/client/gui/DrawableHelper;drawVerticalLine(IIII)V
    • fill

      protected void fill(int x1, int x2, int y1, int y2, int color)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1932 Lnet/minecraft/class_584;method_1932(IIIII)V
      glue method_2194 Lclass_669;method_2194(IIIII)V
      server method_1932 Lnet/minecraft/class_584;method_1932(IIIII)V
      client a Lub;a(IIIII)V
      named fill Lnet/minecraft/client/gui/DrawableHelper;fill(IIIII)V
    • fillGradient

      protected void fillGradient(int startX, int startY, int endX, int endY, int colorStart, int colorEnd)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1933 Lnet/minecraft/class_584;method_1933(IIIIII)V
      glue method_2195 Lclass_669;method_2195(IIIIII)V
      server method_1933 Lnet/minecraft/class_584;method_1933(IIIIII)V
      client a Lub;a(IIIIII)V
      named fillGradient Lnet/minecraft/client/gui/DrawableHelper;fillGradient(IIIIII)V
    • drawCenteredTextWithShadow

      public void drawCenteredTextWithShadow(TextRenderer textRenderer, String text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1934 Lnet/minecraft/class_584;method_1934(Lnet/minecraft/class_34;Ljava/lang/String;III)V
      glue method_2196 Lclass_669;method_2196(Lclass_648;Ljava/lang/String;III)V
      server method_1934 Lnet/minecraft/class_584;method_1934(Lnet/minecraft/class_34;Ljava/lang/String;III)V
      client a Lub;a(Lsj;Ljava/lang/String;III)V
      named drawCenteredTextWithShadow Lnet/minecraft/client/gui/DrawableHelper;drawCenteredTextWithShadow(Lnet/minecraft/client/font/TextRenderer;Ljava/lang/String;III)V
    • drawStringWithShadow

      public void drawStringWithShadow(TextRenderer textRenderer, String text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1937 Lnet/minecraft/class_584;method_1937(Lnet/minecraft/class_34;Ljava/lang/String;III)V
      glue method_2199 Lclass_669;method_2199(Lclass_648;Ljava/lang/String;III)V
      server method_1937 Lnet/minecraft/class_584;method_1937(Lnet/minecraft/class_34;Ljava/lang/String;III)V
      client b Lub;b(Lsj;Ljava/lang/String;III)V
      named drawStringWithShadow Lnet/minecraft/client/gui/DrawableHelper;drawStringWithShadow(Lnet/minecraft/client/font/TextRenderer;Ljava/lang/String;III)V
    • drawTexture

      public void drawTexture(int x, int y, int u, int v, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1936 Lnet/minecraft/class_584;method_1936(IIIIII)V
      glue method_2198 Lclass_669;method_2198(IIIIII)V
      server method_1936 Lnet/minecraft/class_584;method_1936(IIIIII)V
      client b Lub;b(IIIIII)V
      named drawTexture Lnet/minecraft/client/gui/DrawableHelper;drawTexture(IIIIII)V