net.minecraft.client.gui.components

public class Checkbox

extends AbstractButton

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fhi
net.minecraft.client.gui.components.Checkbox
net.minecraft.class_4286
net.minecraft.client.gui.widget.CheckboxWidget
net.minecraft.src.C_3455_

Field summary

Modifier and TypeField
private static final ResourceLocation
a
CHECKBOX_SELECTED_HIGHLIGHTED_SPRITE
field_45348
SELECTED_HIGHLIGHTED_TEXTURE
f_291205_
private static final ResourceLocation
b
CHECKBOX_SELECTED_SPRITE
field_45349
SELECTED_TEXTURE
f_290627_
private static final ResourceLocation
c
CHECKBOX_HIGHLIGHTED_SPRITE
field_45350
HIGHLIGHTED_TEXTURE
f_290543_
private static final ResourceLocation
d
CHECKBOX_SPRITE
field_45351
TEXTURE
f_291208_
private static final int
f
TEXT_COLOR
field_32181
TEXT_COLOR
f_168844_
private static final int
m
SPACING
field_47105
field_47105
f_302543_
private static final int
n
BOX_PADDING
field_47106
field_47106
f_302538_
private boolean
o
selected
field_19230
checked
f_93822_
private final Checkbox$OnValueChange
p
onValueChange
field_47107
callback
f_302693_

Constructor summary

ModifierConstructor
(int x, int y, Component message, Font textRenderer, boolean checked, Checkbox$OnValueChange callback)

Method summary

Modifier and TypeMethod
public static Checkbox$Builder
a(xp arg0, fgr arg1)
builder(Component arg0, Font arg1)
method_54787(class_2561 arg0, class_327 arg1)
builder(Text text, TextRenderer textRenderer)
m_306644_(C_4996_ p_309446_, C_3429_ p_309998_)
public static int
a(fgr arg0)
getBoxSize(Font arg0)
method_54786(class_327 arg0)
getSize(TextRenderer textRenderer)
m_305019_(C_3429_ p_310239_)
public void
b()
onPress()
method_25306()
onPress()
m_5691_()
public boolean
a()
selected()
method_20372()
isChecked()
m_93840_()
public void
a(flc arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public void
b(fgt arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_282925_, int p_282705_, int p_282612_, float arg3)