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 named net/minecraft/client/gui/widget/ButtonWidget$Builder
intermediary net/minecraft/class_4185$class_7840
official fig$a
-
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 named message
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;message:Lnet/minecraft/text/Text;
intermediary field_40756
Lnet/minecraft/class_4185$class_7840;field_40756:Lnet/minecraft/class_2561;
official a
Lfig$a;a:Lwy;
-
onPress
- Mappings:
Namespace Name Mixin selector named onPress
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;onPress:Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;
intermediary field_40757
Lnet/minecraft/class_4185$class_7840;field_40757:Lnet/minecraft/class_4185$class_4241;
official b
Lfig$a;b:Lfig$c;
-
tooltip
- Mappings:
Namespace Name Mixin selector named tooltip
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;tooltip:Lnet/minecraft/client/gui/tooltip/Tooltip;
intermediary field_41099
Lnet/minecraft/class_4185$class_7840;field_41099:Lnet/minecraft/class_7919;
official c
Lfig$a;c:Lfjr;
-
x
private int x- Mappings:
Namespace Name Mixin selector named x
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;x:I
intermediary field_40759
Lnet/minecraft/class_4185$class_7840;field_40759:I
official d
Lfig$a;d:I
-
y
private int y- Mappings:
Namespace Name Mixin selector named y
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;y:I
intermediary field_40760
Lnet/minecraft/class_4185$class_7840;field_40760:I
official e
Lfig$a;e:I
-
width
private int width- Mappings:
Namespace Name Mixin selector named width
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;width:I
intermediary field_40761
Lnet/minecraft/class_4185$class_7840;field_40761:I
official f
Lfig$a;f:I
-
height
private int height- Mappings:
Namespace Name Mixin selector named height
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;height:I
intermediary field_40762
Lnet/minecraft/class_4185$class_7840;field_40762:I
official g
Lfig$a;g:I
-
narrationSupplier
- Mappings:
Namespace Name Mixin selector named narrationSupplier
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;narrationSupplier:Lnet/minecraft/client/gui/widget/ButtonWidget$NarrationSupplier;
intermediary field_40763
Lnet/minecraft/class_4185$class_7840;field_40763:Lnet/minecraft/class_4185$class_7841;
official h
Lfig$a;h:Lfig$b;
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
intermediary <init>
Lnet/minecraft/class_4185$class_7840;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_4185$class_4241;)V
official <init>
Lfig$a;<init>(Lwy;Lfig$c;)V
-
-
Method Details
-
position
- Mappings:
Namespace Name Mixin selector named position
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;position(II)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
intermediary method_46433
Lnet/minecraft/class_4185$class_7840;method_46433(II)Lnet/minecraft/class_4185$class_7840;
official a
Lfig$a;a(II)Lfig$a;
-
width
- Mappings:
Namespace Name Mixin selector named width
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;width(I)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
intermediary method_46432
Lnet/minecraft/class_4185$class_7840;method_46432(I)Lnet/minecraft/class_4185$class_7840;
official a
Lfig$a;a(I)Lfig$a;
-
size
- Mappings:
Namespace Name Mixin selector named size
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;size(II)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
intermediary method_46437
Lnet/minecraft/class_4185$class_7840;method_46437(II)Lnet/minecraft/class_4185$class_7840;
official b
Lfig$a;b(II)Lfig$a;
-
dimensions
- Mappings:
Namespace Name Mixin selector named dimensions
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;dimensions(IIII)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
intermediary method_46434
Lnet/minecraft/class_4185$class_7840;method_46434(IIII)Lnet/minecraft/class_4185$class_7840;
official a
Lfig$a;a(IIII)Lfig$a;
-
tooltip
- Mappings:
Namespace Name Mixin selector named tooltip
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;tooltip(Lnet/minecraft/client/gui/tooltip/Tooltip;)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
intermediary method_46436
Lnet/minecraft/class_4185$class_7840;method_46436(Lnet/minecraft/class_7919;)Lnet/minecraft/class_4185$class_7840;
official a
Lfig$a;a(Lfjr;)Lfig$a;
-
narrationSupplier
- Mappings:
Namespace Name Mixin selector named narrationSupplier
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;narrationSupplier(Lnet/minecraft/client/gui/widget/ButtonWidget$NarrationSupplier;)Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;
intermediary method_46435
Lnet/minecraft/class_4185$class_7840;method_46435(Lnet/minecraft/class_4185$class_7841;)Lnet/minecraft/class_4185$class_7840;
official a
Lfig$a;a(Lfig$b;)Lfig$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/client/gui/widget/ButtonWidget$Builder;build()Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary method_46431
Lnet/minecraft/class_4185$class_7840;method_46431()Lnet/minecraft/class_4185;
official a
Lfig$a;a()Lfig;
-