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
named net/minecraft/client/gui/widget/TexturedButtonWidget
intermediary net/minecraft/class_344
official foq
  • Field Details

    • textures

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

    • TexturedButtonWidget

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

      public TexturedButtonWidget(int x, int y, int width, int height, ButtonTextures textures, ButtonWidget.PressAction pressAction, Text text)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_344;<init>(IIIILnet/minecraft/class_8666;Lnet/minecraft/class_4185$class_4241;Lnet/minecraft/class_2561;)V
      official <init> Lfoq;<init>(IIIILfps;Lfoe$c;Lxv;)V
    • TexturedButtonWidget

      public TexturedButtonWidget(int width, int height, ButtonTextures textures, ButtonWidget.PressAction pressAction, Text text)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_344;<init>(IILnet/minecraft/class_8666;Lnet/minecraft/class_4185$class_4241;Lnet/minecraft/class_2561;)V
      official <init> Lfoq;<init>(IILfps;Lfoe$c;Lxv;)V
  • Method Details

    • renderWidget

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