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 fhw$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 Lfhw$a;a:Lwu;
    • 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 Lfhw$a;b:Lfhf;
    • 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 Lfhw$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 Lfhw$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 Lfhw$a;e:Lfhw$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 Lfhw$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 Lfhw$a;g:Lffz;
    • 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 Lfhw$a;h:Lfjf;
  • 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> Lfhw$a;<init>(Lwu;Lfhf;)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 Lfhw$a;a(II)Lfhw$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 Lfhw$a;a(Lfhw$b;)Lfhw$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 Lfhw$a;a(Z)Lfhw$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 Lfhw$a;a(Lffz;)Lfhw$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 Lfhw$a;a(Lfjf;)Lfhw$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 Lfhw$a;a()Lfhw;