Class IconButtonWidget.Builder

java.lang.Object
net.minecraft.client.gui.widget.IconButtonWidget.Builder
Enclosing class:
IconButtonWidget

@Environment(CLIENT) public static class IconButtonWidget.Builder extends Object
Mappings:
Namespace Name
official epz$a
intermediary net/minecraft/class_8084$class_8085
named net/minecraft/client/gui/widget/IconButtonWidget$Builder
  • Field Details

    • message

      private final Text message
      Mappings:
      Namespace Name Mixin selector
      official a Lepz$a;a:Lsw;
      intermediary field_42127 Lnet/minecraft/class_8084$class_8085;field_42127:Lnet/minecraft/class_2561;
      named message Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;message:Lnet/minecraft/text/Text;
    • texture

      private final Identifier texture
      Mappings:
      Namespace Name Mixin selector
      official b Lepz$a;b:Lacq;
      intermediary field_42128 Lnet/minecraft/class_8084$class_8085;field_42128:Lnet/minecraft/class_2960;
      named texture Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;texture:Lnet/minecraft/util/Identifier;
    • pressAction

      private final ButtonWidget.PressAction pressAction
      Mappings:
      Namespace Name Mixin selector
      official c Lepz$a;c:Leou$c;
      intermediary field_42129 Lnet/minecraft/class_8084$class_8085;field_42129:Lnet/minecraft/class_4185$class_4241;
      named pressAction Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;pressAction:Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;
    • u

      private int u
      Mappings:
      Namespace Name Mixin selector
      official d Lepz$a;d:I
      intermediary field_42130 Lnet/minecraft/class_8084$class_8085;field_42130:I
      named u Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;u:I
    • v

      private int v
      Mappings:
      Namespace Name Mixin selector
      official e Lepz$a;e:I
      intermediary field_42131 Lnet/minecraft/class_8084$class_8085;field_42131:I
      named v Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;v:I
    • hoveredVOffset

      private int hoveredVOffset
      Mappings:
      Namespace Name Mixin selector
      official f Lepz$a;f:I
      intermediary field_42132 Lnet/minecraft/class_8084$class_8085;field_42132:I
      named hoveredVOffset Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;hoveredVOffset:I
    • iconWidth

      private int iconWidth
      Mappings:
      Namespace Name Mixin selector
      official g Lepz$a;g:I
      intermediary field_42133 Lnet/minecraft/class_8084$class_8085;field_42133:I
      named iconWidth Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;iconWidth:I
    • iconHeight

      private int iconHeight
      Mappings:
      Namespace Name Mixin selector
      official h Lepz$a;h:I
      intermediary field_42134 Lnet/minecraft/class_8084$class_8085;field_42134:I
      named iconHeight Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;iconHeight:I
    • textureWidth

      private int textureWidth
      Mappings:
      Namespace Name Mixin selector
      official i Lepz$a;i:I
      intermediary field_42135 Lnet/minecraft/class_8084$class_8085;field_42135:I
      named textureWidth Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;textureWidth:I
    • textureHeight

      private int textureHeight
      Mappings:
      Namespace Name Mixin selector
      official j Lepz$a;j:I
      intermediary field_42136 Lnet/minecraft/class_8084$class_8085;field_42136:I
      named textureHeight Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;textureHeight:I
    • xOffset

      private int xOffset
      Mappings:
      Namespace Name Mixin selector
      official k Lepz$a;k:I
      intermediary field_42137 Lnet/minecraft/class_8084$class_8085;field_42137:I
      named xOffset Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;xOffset:I
    • yOffset

      private int yOffset
      Mappings:
      Namespace Name Mixin selector
      official l Lepz$a;l:I
      intermediary field_42138 Lnet/minecraft/class_8084$class_8085;field_42138:I
      named yOffset Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;yOffset:I
  • Constructor Details

    • Builder

      public Builder(Text message, Identifier texture, ButtonWidget.PressAction pressAction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lepz$a;<init>(Lsw;Lacq;Leou$c;)V
      intermediary <init> Lnet/minecraft/class_8084$class_8085;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2960;Lnet/minecraft/class_4185$class_4241;)V
      named <init> Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
  • Method Details

    • uv

      public IconButtonWidget.Builder uv(int u, int v)
      Mappings:
      Namespace Name Mixin selector
      official a Lepz$a;a(II)Lepz$a;
      intermediary method_48605 Lnet/minecraft/class_8084$class_8085;method_48605(II)Lnet/minecraft/class_8084$class_8085;
      named uv Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;uv(II)Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;
    • xyOffset

      public IconButtonWidget.Builder xyOffset(int xOffset, int yOffset)
      Mappings:
      Namespace Name Mixin selector
      official b Lepz$a;b(II)Lepz$a;
      intermediary method_48606 Lnet/minecraft/class_8084$class_8085;method_48606(II)Lnet/minecraft/class_8084$class_8085;
      named xyOffset Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;xyOffset(II)Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;
    • hoveredVOffset

      public IconButtonWidget.Builder hoveredVOffset(int hoveredVOffset)
      Mappings:
      Namespace Name Mixin selector
      official a Lepz$a;a(I)Lepz$a;
      intermediary method_48604 Lnet/minecraft/class_8084$class_8085;method_48604(I)Lnet/minecraft/class_8084$class_8085;
      named hoveredVOffset Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;hoveredVOffset(I)Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;
    • iconSize

      public IconButtonWidget.Builder iconSize(int iconWidth, int iconHeight)
      Mappings:
      Namespace Name Mixin selector
      official c Lepz$a;c(II)Lepz$a;
      intermediary method_48607 Lnet/minecraft/class_8084$class_8085;method_48607(II)Lnet/minecraft/class_8084$class_8085;
      named iconSize Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;iconSize(II)Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;
    • textureSize

      public IconButtonWidget.Builder textureSize(int textureWidth, int textureHeight)
      Mappings:
      Namespace Name Mixin selector
      official d Lepz$a;d(II)Lepz$a;
      intermediary method_48608 Lnet/minecraft/class_8084$class_8085;method_48608(II)Lnet/minecraft/class_8084$class_8085;
      named textureSize Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;textureSize(II)Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;
    • build

      public IconButtonWidget build()
      Mappings:
      Namespace Name Mixin selector
      official a Lepz$a;a()Lepz;
      intermediary method_48603 Lnet/minecraft/class_8084$class_8085;method_48603()Lnet/minecraft/class_8084;
      named build Lnet/minecraft/client/gui/widget/IconButtonWidget$Builder;build()Lnet/minecraft/client/gui/widget/IconButtonWidget;