net.minecraft.client.gui.widget

public class CheckboxWidget$Builder

net.minecraft.client.gui.components.Checkbox$Builder
net.minecraft.class_4286$class_8929
net.minecraft.client.gui.widget.CheckboxWidget$Builder

Field summary

Modifier and TypeField
private final Text
message
field_47108
message
private final TextRenderer
font
field_47109
textRenderer
private int
maxWidth
field_52294
maxWidth
private int
x
field_47110
x
private int
y
field_47111
y
private CheckboxWidget$Callback
onValueChange
field_47112
callback
private boolean
selected
field_47113
checked
private SimpleOption<Boolean>
option
field_47114
option
private Tooltip
tooltip
field_47115
tooltip

Constructor summary

ModifierConstructor
private (Text message, TextRenderer textRenderer)

Method summary

Modifier and TypeMethod
public CheckboxWidget$Builder
pos(int x, int y)
method_54789(int arg0, int arg1)
pos(int x, int y)
public CheckboxWidget$Builder
onValueChange(Checkbox$OnValueChange onValueChange)
method_54791(class_4286$class_8930 arg0)
callback(CheckboxWidget$Callback callback)
public CheckboxWidget$Builder
selected(boolean selected)
method_54794(boolean arg0)
checked(boolean checked)
public CheckboxWidget$Builder
selected(OptionInstance<Boolean> option)
method_54790(class_7172<Boolean> arg0)
option(SimpleOption<Boolean> option)
public CheckboxWidget$Builder
tooltip(Tooltip tooltip)
method_54793(class_7919 arg0)
tooltip(Tooltip tooltip)
public CheckboxWidget$Builder
maxWidth(int maxWidth)
method_61131(int arg0)
maxWidth(int maxWidth)
public CheckboxWidget
build()
method_54788()
build()
private void
lambda$build$0(Checkbox arg0, boolean arg1)
method_54792(class_4286 arg0, boolean arg1)
method_54792(CheckboxWidget checkbox, boolean checked)