Class IconWidget.Texture

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget
Enclosing class:
IconWidget

@Environment(CLIENT) private static class IconWidget.Texture extends IconWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/IconWidget$Texture
intermediary net/minecraft/class_8208$class_8660
official fos$b
  • Field Details

    • texture

      private final Identifier texture
      Mappings:
      Namespace Name Mixin selector
      named texture Lnet/minecraft/client/gui/widget/IconWidget$Texture;texture:Lnet/minecraft/util/Identifier;
      intermediary field_45358 Lnet/minecraft/class_8208$class_8660;field_45358:Lnet/minecraft/class_2960;
      official a Lfos$b;a:Lalz;
    • textureWidth

      private final int textureWidth
      Mappings:
      Namespace Name Mixin selector
      named textureWidth Lnet/minecraft/client/gui/widget/IconWidget$Texture;textureWidth:I
      intermediary field_45359 Lnet/minecraft/class_8208$class_8660;field_45359:I
      official b Lfos$b;b:I
    • textureHeight

      private final int textureHeight
      Mappings:
      Namespace Name Mixin selector
      named textureHeight Lnet/minecraft/client/gui/widget/IconWidget$Texture;textureHeight:I
      intermediary field_45360 Lnet/minecraft/class_8208$class_8660;field_45360:I
      official c Lfos$b;c:I
  • Constructor Details

    • Texture

      public Texture(int x, int y, int width, int height, Identifier texture, int textureWidth, int textureHeight)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/widget/IconWidget$Texture;<init>(IIIILnet/minecraft/util/Identifier;II)V
      intermediary <init> Lnet/minecraft/class_8208$class_8660;<init>(IIIILnet/minecraft/class_2960;II)V
      official <init> Lfos$b;<init>(IIIILalz;II)V
  • Method Details

    • renderWidget

      protected void renderWidget(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      renderWidget in class ClickableWidget
      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