Package net.minecraft.client.gui
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
- Mappings:
Namespace Name official bctintermediary net/minecraft/class_372named net/minecraft/client/gui/DrawableHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IdentifierThe texture of various icons and widgets used for rendering ingame indicators.static final IdentifierThe texture used by options for background.static final IdentifierThe texture of icons used in the stats screen.protected float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawCenteredString(TextRenderer textRenderer, String text, int centerX, int y, int color) protected voiddrawHorizontalLine(int x1, int x2, int y, int color) voiddrawSprite(int x, int y, Sprite sprite, int width, int height) voiddrawTexture(float x, float y, int u, int v, int width, int height) static voiddrawTexture(int x, int y, float u, float v, int width, int height, float float2, float float3) static voiddrawTexture(int x, int y, float u, float v, int int2, int int3, int width, int height, float float2, float float3) voiddrawTexture(int x, int y, int u, int v, int width, int height) protected voiddrawVerticalLine(int x, int y1, int y2, int color) voiddrawWithShadow(TextRenderer textRenderer, String text, int x, int y, int color) static voidfill(int x1, int y1, int x2, int y2, int color) protected voidfillGradient(int x1, int y1, int x2, int y2, int color1, int color2)
-
Field Details
-
OPTIONS_BACKGROUND_TEXTURE
The texture used by options for background.- Mappings:
Namespace Name Mixin selector official bLbct;b:Lkl;intermediary field_6290Lnet/minecraft/class_372;field_6290:Lnet/minecraft/class_1653;named OPTIONS_BACKGROUND_TEXTURELnet/minecraft/client/gui/DrawableHelper;OPTIONS_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
-
STATS_ICON_TEXTURE
The texture of icons used in the stats screen.- Mappings:
Namespace Name Mixin selector official cLbct;c:Lkl;intermediary field_6291Lnet/minecraft/class_372;field_6291:Lnet/minecraft/class_1653;named STATS_ICON_TEXTURELnet/minecraft/client/gui/DrawableHelper;STATS_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
-
GUI_ICONS_TEXTURE
The texture of various icons and widgets used for rendering ingame indicators.- Mappings:
Namespace Name Mixin selector official dLbct;d:Lkl;intermediary field_6292Lnet/minecraft/class_372;field_6292:Lnet/minecraft/class_1653;named GUI_ICONS_TEXTURELnet/minecraft/client/gui/DrawableHelper;GUI_ICONS_TEXTURE:Lnet/minecraft/util/Identifier;
-
zOffset
protected float zOffset- Mappings:
Namespace Name Mixin selector official eLbct;e:Fintermediary field_1172Lnet/minecraft/class_372;field_1172:Fnamed zOffsetLnet/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 aLbct;a(IIII)Vintermediary method_987Lnet/minecraft/class_372;method_987(IIII)Vnamed drawHorizontalLineLnet/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 bLbct;b(IIII)Vintermediary method_991Lnet/minecraft/class_372;method_991(IIII)Vnamed drawVerticalLineLnet/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 aLbct;a(IIIII)Vintermediary method_988Lnet/minecraft/class_372;method_988(IIIII)Vnamed fillLnet/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 aLbct;a(IIIIII)Vintermediary method_989Lnet/minecraft/class_372;method_989(IIIIII)Vnamed fillGradientLnet/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 aLbct;a(Lbcr;Ljava/lang/String;III)Vintermediary method_990Lnet/minecraft/class_372;method_990(Lnet/minecraft/class_370;Ljava/lang/String;III)Vnamed drawCenteredStringLnet/minecraft/client/gui/DrawableHelper;drawCenteredString(Lnet/minecraft/client/font/TextRenderer;Ljava/lang/String;III)V
-
drawWithShadow
- Mappings:
Namespace Name Mixin selector official cLbct;c(Lbcr;Ljava/lang/String;III)Vintermediary method_993Lnet/minecraft/class_372;method_993(Lnet/minecraft/class_370;Ljava/lang/String;III)Vnamed drawWithShadowLnet/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 bLbct;b(IIIIII)Vintermediary method_992Lnet/minecraft/class_372;method_992(IIIIII)Vnamed drawTextureLnet/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 aLbct;a(FFIIII)Vintermediary method_9441Lnet/minecraft/class_372;method_9441(FFIIII)Vnamed drawTextureLnet/minecraft/client/gui/DrawableHelper;drawTexture(FFIIII)V
-
drawSprite
- Mappings:
Namespace Name Mixin selector official aLbct;a(IILbve;II)Vintermediary method_9442Lnet/minecraft/class_372;method_9442(IILnet/minecraft/class_1639;II)Vnamed drawSpriteLnet/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 aLbct;a(IIFFIIFF)Vintermediary method_6674Lnet/minecraft/class_372;method_6674(IIFFIIFF)Vnamed drawTextureLnet/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 aLbct;a(IIFFIIIIFF)Vintermediary method_6675Lnet/minecraft/class_372;method_6675(IIFFIIIIFF)Vnamed drawTextureLnet/minecraft/client/gui/DrawableHelper;drawTexture(IIFFIIIIFF)V
-