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 exs
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 Lexs;a:Leyt;
      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> Lexs;<init>(IIIILeyt;Lexg$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> Lexs;<init>(IIIILeyt;Lexg$c;Lvf;)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> Lexs;<init>(IILeyt;Lexg$c;Lvf;)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

    • renderWidget

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