Class CheckboxWidget.Builder

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

@Environment(CLIENT) public static class CheckboxWidget.Builder extends Object
Mappings:
Namespace Name
official exi$a
intermediary net/minecraft/class_4286$class_8929
named net/minecraft/client/gui/widget/CheckboxWidget$Builder
  • Field Details

    • message

      private final Text message
      Mappings:
      Namespace Name Mixin selector
      official a Lexi$a;a:Lvf;
      intermediary field_47108 Lnet/minecraft/class_4286$class_8929;field_47108:Lnet/minecraft/class_2561;
      named message Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;message:Lnet/minecraft/text/Text;
    • textRenderer

      private final TextRenderer textRenderer
      Mappings:
      Namespace Name Mixin selector
      official b Lexi$a;b:Lews;
      intermediary field_47109 Lnet/minecraft/class_4286$class_8929;field_47109:Lnet/minecraft/class_327;
      named textRenderer Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;textRenderer:Lnet/minecraft/client/font/TextRenderer;
    • x

      private int x
      Mappings:
      Namespace Name Mixin selector
      official c Lexi$a;c:I
      intermediary field_47110 Lnet/minecraft/class_4286$class_8929;field_47110:I
      named x Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;x:I
    • y

      private int y
      Mappings:
      Namespace Name Mixin selector
      official d Lexi$a;d:I
      intermediary field_47111 Lnet/minecraft/class_4286$class_8929;field_47111:I
      named y Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;y:I
    • callback

      private CheckboxWidget.Callback callback
      Mappings:
      Namespace Name Mixin selector
      official e Lexi$a;e:Lexi$b;
      intermediary field_47112 Lnet/minecraft/class_4286$class_8929;field_47112:Lnet/minecraft/class_4286$class_8930;
      named callback Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;callback:Lnet/minecraft/client/gui/widget/CheckboxWidget$Callback;
    • checked

      private boolean checked
      Mappings:
      Namespace Name Mixin selector
      official f Lexi$a;f:Z
      intermediary field_47113 Lnet/minecraft/class_4286$class_8929;field_47113:Z
      named checked Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;checked:Z
    • option

      Mappings:
      Namespace Name Mixin selector
      official g Lexi$a;g:Levl;
      intermediary field_47114 Lnet/minecraft/class_4286$class_8929;field_47114:Lnet/minecraft/class_7172;
      named option Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;option:Lnet/minecraft/client/option/SimpleOption;
    • tooltip

      @Nullable private @Nullable Tooltip tooltip
      Mappings:
      Namespace Name Mixin selector
      official h Lexi$a;h:Leyr;
      intermediary field_47115 Lnet/minecraft/class_4286$class_8929;field_47115:Lnet/minecraft/class_7919;
      named tooltip Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;tooltip:Lnet/minecraft/client/gui/tooltip/Tooltip;
  • Constructor Details

    • Builder

      Builder(Text message, TextRenderer textRenderer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lexi$a;<init>(Lvf;Lews;)V
      intermediary <init> Lnet/minecraft/class_4286$class_8929;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_327;)V
      named <init> Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;)V
  • Method Details

    • pos

      public CheckboxWidget.Builder pos(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lexi$a;a(II)Lexi$a;
      intermediary method_54789 Lnet/minecraft/class_4286$class_8929;method_54789(II)Lnet/minecraft/class_4286$class_8929;
      named pos Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;pos(II)Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;
    • callback

      public CheckboxWidget.Builder callback(CheckboxWidget.Callback callback)
      Mappings:
      Namespace Name Mixin selector
      official a Lexi$a;a(Lexi$b;)Lexi$a;
      intermediary method_54791 Lnet/minecraft/class_4286$class_8929;method_54791(Lnet/minecraft/class_4286$class_8930;)Lnet/minecraft/class_4286$class_8929;
      named callback Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;callback(Lnet/minecraft/client/gui/widget/CheckboxWidget$Callback;)Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;
    • checked

      public CheckboxWidget.Builder checked(boolean checked)
      Mappings:
      Namespace Name Mixin selector
      official a Lexi$a;a(Z)Lexi$a;
      intermediary method_54794 Lnet/minecraft/class_4286$class_8929;method_54794(Z)Lnet/minecraft/class_4286$class_8929;
      named checked Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;checked(Z)Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;
    • option

      public CheckboxWidget.Builder option(SimpleOption<Boolean> option)
      Mappings:
      Namespace Name Mixin selector
      official a Lexi$a;a(Levl;)Lexi$a;
      intermediary method_54790 Lnet/minecraft/class_4286$class_8929;method_54790(Lnet/minecraft/class_7172;)Lnet/minecraft/class_4286$class_8929;
      named option Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;option(Lnet/minecraft/client/option/SimpleOption;)Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;
    • tooltip

      public CheckboxWidget.Builder tooltip(Tooltip tooltip)
      Mappings:
      Namespace Name Mixin selector
      official a Lexi$a;a(Leyr;)Lexi$a;
      intermediary method_54793 Lnet/minecraft/class_4286$class_8929;method_54793(Lnet/minecraft/class_7919;)Lnet/minecraft/class_4286$class_8929;
      named tooltip Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;tooltip(Lnet/minecraft/client/gui/tooltip/Tooltip;)Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;
    • build

      public CheckboxWidget build()
      Mappings:
      Namespace Name Mixin selector
      official a Lexi$a;a()Lexi;
      intermediary method_54788 Lnet/minecraft/class_4286$class_8929;method_54788()Lnet/minecraft/class_4286;
      named build Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;build()Lnet/minecraft/client/gui/widget/CheckboxWidget;