Class DrawableHelper

java.lang.Object
net.minecraft.client.gui.DrawableHelper
Direct Known Subclasses:
AchievementNotification, ButtonWidget, ChatHud, class_2839, class_2841, DebugHud, InGameHud, LabelWidget, PlayerListHud, Screen, SpectatorHud, TextFieldWidget

@Environment(CLIENT) public class DrawableHelper extends Object
Mappings:
Namespace Name
official bfi
intermediary net/minecraft/class_372
named net/minecraft/client/gui/DrawableHelper
  • Field Details

    • OPTIONS_BACKGROUND_TEXTURE

      public static final Identifier OPTIONS_BACKGROUND_TEXTURE
      The texture used by options for background.
      Mappings:
      Namespace Name Mixin selector
      official b Lbfi;b:Lkq;
      intermediary field_6290 Lnet/minecraft/class_372;field_6290:Lnet/minecraft/class_1653;
      named OPTIONS_BACKGROUND_TEXTURE Lnet/minecraft/client/gui/DrawableHelper;OPTIONS_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
    • STATS_ICON_TEXTURE

      public static final Identifier STATS_ICON_TEXTURE
      The texture of icons used in the stats screen.
      Mappings:
      Namespace Name Mixin selector
      official c Lbfi;c:Lkq;
      intermediary field_6291 Lnet/minecraft/class_372;field_6291:Lnet/minecraft/class_1653;
      named STATS_ICON_TEXTURE Lnet/minecraft/client/gui/DrawableHelper;STATS_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
    • GUI_ICONS_TEXTURE

      public static final Identifier GUI_ICONS_TEXTURE
      The texture of various icons and widgets used for rendering ingame indicators.
      Mappings:
      Namespace Name Mixin selector
      official d Lbfi;d:Lkq;
      intermediary field_6292 Lnet/minecraft/class_372;field_6292:Lnet/minecraft/class_1653;
      named GUI_ICONS_TEXTURE Lnet/minecraft/client/gui/DrawableHelper;GUI_ICONS_TEXTURE:Lnet/minecraft/util/Identifier;
    • zOffset

      protected float zOffset
      Mappings:
      Namespace Name Mixin selector
      official e Lbfi;e:F
      intermediary field_1172 Lnet/minecraft/class_372;field_1172: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
      official a Lbfi;a(IIII)V
      intermediary method_987 Lnet/minecraft/class_372;method_987(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
      official b Lbfi;b(IIII)V
      intermediary method_991 Lnet/minecraft/class_372;method_991(IIII)V
      named drawVerticalLine Lnet/minecraft/client/gui/DrawableHelper;drawVerticalLine(IIII)V
    • fill

      public static void fill(int x1, int y1, int x2, int y2, int color)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfi;a(IIIII)V
      intermediary method_988 Lnet/minecraft/class_372;method_988(IIIII)V
      named fill Lnet/minecraft/client/gui/DrawableHelper;fill(IIIII)V
    • fillGradient

      protected void fillGradient(int x1, int y1, int x2, int y2, int color1, int color2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfi;a(IIIIII)V
      intermediary method_989 Lnet/minecraft/class_372;method_989(IIIIII)V
      named fillGradient Lnet/minecraft/client/gui/DrawableHelper;fillGradient(IIIIII)V
    • drawCenteredString

      public void drawCenteredString(TextRenderer textRenderer, String text, int centerX, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfi;a(Lbfg;Ljava/lang/String;III)V
      intermediary method_990 Lnet/minecraft/class_372;method_990(Lnet/minecraft/class_370;Ljava/lang/String;III)V
      named drawCenteredString Lnet/minecraft/client/gui/DrawableHelper;drawCenteredString(Lnet/minecraft/client/font/TextRenderer;Ljava/lang/String;III)V
    • drawWithShadow

      public void drawWithShadow(TextRenderer textRenderer, String text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      official c Lbfi;c(Lbfg;Ljava/lang/String;III)V
      intermediary method_993 Lnet/minecraft/class_372;method_993(Lnet/minecraft/class_370;Ljava/lang/String;III)V
      named drawWithShadow Lnet/minecraft/client/gui/DrawableHelper;drawWithShadow(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
      official b Lbfi;b(IIIIII)V
      intermediary method_992 Lnet/minecraft/class_372;method_992(IIIIII)V
      named drawTexture Lnet/minecraft/client/gui/DrawableHelper;drawTexture(IIIIII)V
    • drawTexture

      public void drawTexture(float x, float y, int u, int v, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfi;a(FFIIII)V
      intermediary method_9441 Lnet/minecraft/class_372;method_9441(FFIIII)V
      named drawTexture Lnet/minecraft/client/gui/DrawableHelper;drawTexture(FFIIII)V
    • drawSprite

      public void drawSprite(int x, int y, Sprite sprite, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfi;a(IILbyz;II)V
      intermediary method_9442 Lnet/minecraft/class_372;method_9442(IILnet/minecraft/class_1639;II)V
      named drawSprite Lnet/minecraft/client/gui/DrawableHelper;drawSprite(IILnet/minecraft/client/texture/Sprite;II)V
    • drawTexture

      public static void drawTexture(int x, int y, float u, float v, int width, int height, float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfi;a(IIFFIIFF)V
      intermediary method_6674 Lnet/minecraft/class_372;method_6674(IIFFIIFF)V
      named drawTexture Lnet/minecraft/client/gui/DrawableHelper;drawTexture(IIFFIIFF)V
    • drawTexture

      public static void drawTexture(int x, int y, float u, float v, int int2, int int3, int width, int height, float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfi;a(IIFFIIIIFF)V
      intermediary method_6675 Lnet/minecraft/class_372;method_6675(IIFFIIIIFF)V
      named drawTexture Lnet/minecraft/client/gui/DrawableHelper;drawTexture(IIFFIIIIFF)V