Class IconWidget

java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.IconWidget
All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget

@Environment(CLIENT) public class IconWidget extends ClickableWidget
Mappings:
Namespace Name
official epu
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 Lepu;a:Lacq;
      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> Lepu;<init>(IILacq;)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> Lepu;<init>(IIIILacq;)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 Lepf;a(Lesp;)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(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      renderButton in class ClickableWidget
      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