Class IconWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget

@Environment(CLIENT) public class IconWidget extends ClickableWidget
Mappings:
Namespace Name
official eon
intermediary net/minecraft/class_8208
named net/minecraft/client/gui/widget/IconWidget
  • Field Details

    • texture

      private final Identifier texture
      Mappings:
      Namespace Name Mixin selector
      official a Leon;a:Ladd;
      intermediary field_43057 Lnet/minecraft/class_8208;field_43057:Lnet/minecraft/class_2960;
      named texture Lnet/minecraft/client/gui/widget/IconWidget;texture:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • IconWidget

      public IconWidget(int width, int height, Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leon;<init>(IILadd;)V
      intermediary <init> Lnet/minecraft/class_8208;<init>(IILnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/client/gui/widget/IconWidget;<init>(IILnet/minecraft/util/Identifier;)V
    • IconWidget

      public IconWidget(int x, int y, int width, int height, Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leon;<init>(IIIILadd;)V
      intermediary <init> Lnet/minecraft/class_8208;<init>(IIIILnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/client/gui/widget/IconWidget;<init>(IIIILnet/minecraft/util/Identifier;)V
  • Method Details

    • appendClickableNarrations

      protected void appendClickableNarrations(NarrationMessageBuilder builder)
      Specified by:
      appendClickableNarrations in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lenz;a(Lere;)V
      intermediary method_47399 Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V
      named appendClickableNarrations Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
    • renderButton

      public void renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      renderButton in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lenz;b(Lehe;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_4587;IIF)V
      named renderButton Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V