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
named net/minecraft/client/gui/widget/CheckboxWidget$Builder
intermediary net/minecraft/class_4286$class_8929
official fhh$a
  • Field Details

    • message

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

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

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

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

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

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

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

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

    • Builder

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

    • pos

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

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

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

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

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

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