net.minecraft.client.gui.components

public class Button

extends AbstractButton

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fim
net.minecraft.client.gui.components.Button
net.minecraft.class_4185
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.src.C_3451_

Field summary

Modifier and TypeField
public static final int
f
SMALL_WIDTH
field_39499
DEFAULT_WIDTH_SMALL
f_238663_
public static final int
m
DEFAULT_WIDTH
field_39500
DEFAULT_WIDTH
f_238716_
public static final int
n
BIG_WIDTH
field_49479
field_49479
f_315630_
public static final int
o
DEFAULT_HEIGHT
field_39501
DEFAULT_HEIGHT
f_238808_
public static final int
p
DEFAULT_SPACING
field_46856
field_46856
f_303561_
protected static final Button$CreateNarration
q
DEFAULT_NARRATION
field_40754
DEFAULT_NARRATION_SUPPLIER
f_252438_
protected final Button$OnPress
r
onPress
field_22767
onPress
f_93717_
protected final Button$CreateNarration
s
createNarration
field_40755
narrationSupplier
f_252416_

Constructor summary

ModifierConstructor
protected (int x, int y, int width, int height, Component message, Button$OnPress onPress, Button$CreateNarration narrationSupplier)

Method summary

Modifier and TypeMethod
public static Button$Builder
a(wz arg0, fim$c arg1)
builder(Component arg0, Button$OnPress arg1)
method_46430(class_2561 arg0, class_4185$class_4241 arg1)
builder(Text message, ButtonWidget$PressAction onPress)
m_253074_(C_4996_ p_254439_, C_3451_$C_3452_ p_254567_)
public void
b()
onPress()
method_25306()
onPress()
m_5691_()
protected MutableComponent
aQ_()
createNarrationMessage()
method_25360()
getNarrationMessage()
m_5646_()
public void
a(fmi arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)