Class TexturedButtonWidget

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

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

    • texture

      protected final Identifier texture
      Mappings:
      Namespace Name Mixin selector
      official b Lept;b:Lacq;
      intermediary field_2127 Lnet/minecraft/class_344;field_2127:Lnet/minecraft/class_2960;
      named texture Lnet/minecraft/client/gui/widget/TexturedButtonWidget;texture:Lnet/minecraft/util/Identifier;
    • u

      protected final int u
      Mappings:
      Namespace Name Mixin selector
      official c Lept;c:I
      intermediary field_2126 Lnet/minecraft/class_344;field_2126:I
      named u Lnet/minecraft/client/gui/widget/TexturedButtonWidget;u:I
    • v

      protected final int v
      Mappings:
      Namespace Name Mixin selector
      official d Lept;d:I
      intermediary field_2125 Lnet/minecraft/class_344;field_2125:I
      named v Lnet/minecraft/client/gui/widget/TexturedButtonWidget;v:I
    • hoveredVOffset

      protected final int hoveredVOffset
      Mappings:
      Namespace Name Mixin selector
      official e Lept;e:I
      intermediary field_19079 Lnet/minecraft/class_344;field_19079:I
      named hoveredVOffset Lnet/minecraft/client/gui/widget/TexturedButtonWidget;hoveredVOffset:I
    • textureWidth

      protected final int textureWidth
      Mappings:
      Namespace Name Mixin selector
      official f Lept;f:I
      intermediary field_2124 Lnet/minecraft/class_344;field_2124:I
      named textureWidth Lnet/minecraft/client/gui/widget/TexturedButtonWidget;textureWidth:I
    • textureHeight

      protected final int textureHeight
      Mappings:
      Namespace Name Mixin selector
      official A Lept;A:I
      intermediary field_19080 Lnet/minecraft/class_344;field_19080:I
      named textureHeight Lnet/minecraft/client/gui/widget/TexturedButtonWidget;textureHeight:I
  • Constructor Details

    • TexturedButtonWidget

      public TexturedButtonWidget(int x, int y, int width, int height, int u, int v, Identifier texture, ButtonWidget.PressAction pressAction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lept;<init>(IIIIIILacq;Lepi$c;)V
      intermediary <init> Lnet/minecraft/class_344;<init>(IIIIIILnet/minecraft/class_2960;Lnet/minecraft/class_4185$class_4241;)V
      named <init> Lnet/minecraft/client/gui/widget/TexturedButtonWidget;<init>(IIIIIILnet/minecraft/util/Identifier;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
    • TexturedButtonWidget

      public TexturedButtonWidget(int x, int y, int width, int height, int u, int v, int hoveredVOffset, Identifier texture, ButtonWidget.PressAction pressAction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lept;<init>(IIIIIIILacq;Lepi$c;)V
      intermediary <init> Lnet/minecraft/class_344;<init>(IIIIIIILnet/minecraft/class_2960;Lnet/minecraft/class_4185$class_4241;)V
      named <init> Lnet/minecraft/client/gui/widget/TexturedButtonWidget;<init>(IIIIIIILnet/minecraft/util/Identifier;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
    • TexturedButtonWidget

      public TexturedButtonWidget(int x, int y, int width, int height, int u, int v, int hoveredVOffset, Identifier texture, int textureWidth, int textureHeight, ButtonWidget.PressAction pressAction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lept;<init>(IIIIIIILacq;IILepi$c;)V
      intermediary <init> Lnet/minecraft/class_344;<init>(IIIIIIILnet/minecraft/class_2960;IILnet/minecraft/class_4185$class_4241;)V
      named <init> Lnet/minecraft/client/gui/widget/TexturedButtonWidget;<init>(IIIIIIILnet/minecraft/util/Identifier;IILnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
    • TexturedButtonWidget

      public TexturedButtonWidget(int x, int y, int width, int height, int u, int v, int hoveredVOffset, Identifier texture, int textureWidth, int textureHeight, ButtonWidget.PressAction pressAction, Text message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lept;<init>(IIIIIIILacq;IILepi$c;Lsw;)V
      intermediary <init> Lnet/minecraft/class_344;<init>(IIIIIIILnet/minecraft/class_2960;IILnet/minecraft/class_4185$class_4241;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/gui/widget/TexturedButtonWidget;<init>(IIIIIIILnet/minecraft/util/Identifier;IILnet/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 Lepf;b(Leox;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