Class TexturedButtonWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget
Direct Known Subclasses:
RealmsMainScreen.CrossButton

@Environment(CLIENT) public class TexturedButtonWidget extends ButtonWidget
Mappings:
Namespace Name
official etc
intermediary net/minecraft/class_344
named net/minecraft/client/gui/widget/TexturedButtonWidget
  • Field Details

    • textures

      protected final ButtonTextures textures
      Mappings:
      Namespace Name Mixin selector
      official a Letc;a:Leuc;
      intermediary field_45356 Lnet/minecraft/class_344;field_45356:Lnet/minecraft/class_8666;
      named textures Lnet/minecraft/client/gui/widget/TexturedButtonWidget;textures:Lnet/minecraft/client/gui/screen/ButtonTextures;
  • Constructor Details

    • TexturedButtonWidget

      public TexturedButtonWidget(int x, int y, int width, int height, ButtonTextures textures, ButtonWidget.PressAction pressAction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Letc;<init>(IIIILeuc;Lesq$c;)V
      intermediary <init> Lnet/minecraft/class_344;<init>(IIIILnet/minecraft/class_8666;Lnet/minecraft/class_4185$class_4241;)V
      named <init> Lnet/minecraft/client/gui/widget/TexturedButtonWidget;<init>(IIIILnet/minecraft/client/gui/screen/ButtonTextures;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
    • TexturedButtonWidget

      public TexturedButtonWidget(int x, int y, int width, int height, ButtonTextures textures, ButtonWidget.PressAction pressAction, Text text)
      Mappings:
      Namespace Name Mixin selector
      official <init> Letc;<init>(IIIILeuc;Lesq$c;Ltl;)V
      intermediary <init> Lnet/minecraft/class_344;<init>(IIIILnet/minecraft/class_8666;Lnet/minecraft/class_4185$class_4241;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/gui/widget/TexturedButtonWidget;<init>(IIIILnet/minecraft/client/gui/screen/ButtonTextures;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;Lnet/minecraft/text/Text;)V
    • TexturedButtonWidget

      public TexturedButtonWidget(int width, int height, ButtonTextures textures, ButtonWidget.PressAction pressAction, Text text)
      Mappings:
      Namespace Name Mixin selector
      official <init> Letc;<init>(IILeuc;Lesq$c;Ltl;)V
      intermediary <init> Lnet/minecraft/class_344;<init>(IILnet/minecraft/class_8666;Lnet/minecraft/class_4185$class_4241;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/gui/widget/TexturedButtonWidget;<init>(IILnet/minecraft/client/gui/screen/ButtonTextures;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;Lnet/minecraft/text/Text;)V
  • Method Details

    • renderButton

      public void renderButton(DrawContext context, int mouseX, int mouseY, float delta)
      Overrides:
      renderButton in class PressableWidget
      Mappings:
      Namespace Name Mixin selector
      official b Leso;b(Lesf;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
      named renderButton Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/gui/DrawContext;IIF)V