Package net.minecraft.client.gui.widget
Class ButtonWidget.Builder
java.lang.Object
net.minecraft.client.gui.widget.ButtonWidget.Builder
- Enclosing class:
ButtonWidget
- Mappings:
Namespace Name official esq$a
intermediary net/minecraft/class_4185$class_7840
named net/minecraft/client/gui/widget/ButtonWidget$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final Text
private ButtonWidget.NarrationSupplier
private final ButtonWidget.PressAction
private int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
dimensions
(int x, int y, int width, int height) narrationSupplier
(ButtonWidget.NarrationSupplier narrationSupplier) position
(int x, int y) size
(int width, int height) width
(int width)
-
Field Details
-
message
- Mappings:
Namespace Name Mixin selector official a
Lesq$a;a:Ltl;
intermediary field_40756
Lnet/minecraft/class_4185$class_7840;field_40756:Lnet/minecraft/class_2561;
named message
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;message:Lnet/minecraft/text/Text;
-
onPress
- Mappings:
Namespace Name Mixin selector official b
Lesq$a;b:Lesq$c;
intermediary field_40757
Lnet/minecraft/class_4185$class_7840;field_40757:Lnet/minecraft/class_4185$class_4241;
named onPress
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;onPress:Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;
-
tooltip
- Mappings:
Namespace Name Mixin selector official c
Lesq$a;c:Leua;
intermediary field_41099
Lnet/minecraft/class_4185$class_7840;field_41099:Lnet/minecraft/class_7919;
named tooltip
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;tooltip:Lnet/minecraft/client/gui/tooltip/Tooltip;
-
x
private int x- Mappings:
Namespace Name Mixin selector official d
Lesq$a;d:I
intermediary field_40759
Lnet/minecraft/class_4185$class_7840;field_40759:I
named x
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;x:I
-
y
private int y- Mappings:
Namespace Name Mixin selector official e
Lesq$a;e:I
intermediary field_40760
Lnet/minecraft/class_4185$class_7840;field_40760:I
named y
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;y:I
-
width
private int width- Mappings:
Namespace Name Mixin selector official f
Lesq$a;f:I
intermediary field_40761
Lnet/minecraft/class_4185$class_7840;field_40761:I
named width
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;width:I
-
height
private int height- Mappings:
Namespace Name Mixin selector official g
Lesq$a;g:I
intermediary field_40762
Lnet/minecraft/class_4185$class_7840;field_40762:I
named height
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;height:I
-
narrationSupplier
- Mappings:
Namespace Name Mixin selector official h
Lesq$a;h:Lesq$b;
intermediary field_40763
Lnet/minecraft/class_4185$class_7840;field_40763:Lnet/minecraft/class_4185$class_7841;
named narrationSupplier
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;narrationSupplier:Lnet/minecraft/client/gui/widget/ButtonWidget$NarrationSupplier;
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector official <init>
Lesq$a;<init>(Ltl;Lesq$c;)V
intermediary <init>
Lnet/minecraft/class_4185$class_7840;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_4185$class_4241;)V
named <init>
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
-
-
Method Details
-
position
- Mappings:
Namespace Name Mixin selector official a
Lesq$a;a(II)Lesq$a;
intermediary method_46433
Lnet/minecraft/class_4185$class_7840;method_46433(II)Lnet/minecraft/class_4185$class_7840;
named position
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;position(II)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
-
width
- Mappings:
Namespace Name Mixin selector official a
Lesq$a;a(I)Lesq$a;
intermediary method_46432
Lnet/minecraft/class_4185$class_7840;method_46432(I)Lnet/minecraft/class_4185$class_7840;
named width
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;width(I)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
-
size
- Mappings:
Namespace Name Mixin selector official b
Lesq$a;b(II)Lesq$a;
intermediary method_46437
Lnet/minecraft/class_4185$class_7840;method_46437(II)Lnet/minecraft/class_4185$class_7840;
named size
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;size(II)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
-
dimensions
- Mappings:
Namespace Name Mixin selector official a
Lesq$a;a(IIII)Lesq$a;
intermediary method_46434
Lnet/minecraft/class_4185$class_7840;method_46434(IIII)Lnet/minecraft/class_4185$class_7840;
named dimensions
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;dimensions(IIII)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
-
tooltip
- Mappings:
Namespace Name Mixin selector official a
Lesq$a;a(Leua;)Lesq$a;
intermediary method_46436
Lnet/minecraft/class_4185$class_7840;method_46436(Lnet/minecraft/class_7919;)Lnet/minecraft/class_4185$class_7840;
named tooltip
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;tooltip(Lnet/minecraft/client/gui/tooltip/Tooltip;)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
-
narrationSupplier
- Mappings:
Namespace Name Mixin selector official a
Lesq$a;a(Lesq$b;)Lesq$a;
intermediary method_46435
Lnet/minecraft/class_4185$class_7840;method_46435(Lnet/minecraft/class_4185$class_7841;)Lnet/minecraft/class_4185$class_7840;
named narrationSupplier
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;narrationSupplier(Lnet/minecraft/client/gui/widget/ButtonWidget$NarrationSupplier;)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official a
Lesq$a;a()Lesq;
intermediary method_46431
Lnet/minecraft/class_4185$class_7840;method_46431()Lnet/minecraft/class_4185;
named build
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;build()Lnet/minecraft/client/gui/widget/ButtonWidget;
-