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 fog$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 Lfog$a;a:Lxv;
    • 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 Lfog$a;b:Lfnp;
    • maxWidth

      private int maxWidth
      Mappings:
      Namespace Name Mixin selector
      named maxWidth Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;maxWidth:I
      intermediary field_52294 Lnet/minecraft/class_4286$class_8929;field_52294:I
      official c Lfog$a;c:I
    • 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 d Lfog$a;d: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 e Lfog$a;e: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 f Lfog$a;f:Lfog$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 g Lfog$a;g: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 h Lfog$a;h:Lfmi;
    • 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 i Lfog$a;i:Lfpq;
  • 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> Lfog$a;<init>(Lxv;Lfnp;)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 Lfog$a;a(II)Lfog$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 Lfog$a;a(Lfog$b;)Lfog$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 Lfog$a;a(Z)Lfog$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 Lfog$a;a(Lfmi;)Lfog$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 Lfog$a;a(Lfpq;)Lfog$a;
    • maxWidth

      public CheckboxWidget.Builder maxWidth(int maxWidth)
      Mappings:
      Namespace Name Mixin selector
      named maxWidth Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;maxWidth(I)Lnet/minecraft/client/gui/widget/CheckboxWidget$Builder;
      intermediary method_61131 Lnet/minecraft/class_4286$class_8929;method_61131(I)Lnet/minecraft/class_4286$class_8929;
      official a Lfog$a;a(I)Lfog$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 Lfog$a;a()Lfog;