net.minecraft.client.gui.components

public abstract class AbstractButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

ewx
net.minecraft.client.gui.components.AbstractButton
net.minecraft.class_4264
net.minecraft.client.gui.widget.PressableWidget
net.minecraft.src.C_3441_

Field summary

Modifier and TypeField
protected static final int
e
TEXT_MARGIN
field_43050
field_43050
f_273867_
private static final WidgetSprites
a
SPRITES
field_45339
TEXTURES
f_290895_

Constructor summary

ModifierConstructor
public (int p_93366_, int p_93367_, int p_93368_, int p_93369_, Component arg4)

Method summary

Modifier and TypeMethod
public abstract void
b()
onPress()
method_25306()
onPress()
m_5691_()
protected void
b(ewu 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_282682_, int p_281714_, int p_282542_, float arg3)
public void
a(ewu arg0, ews arg1, int arg2)
renderString(GuiGraphics arg0, Font arg1, int arg2)
method_48589(class_332 arg0, class_327 arg1, int arg2)
drawMessage(DrawContext context, TextRenderer textRenderer, int color)
m_280465_(C_279497_ p_283054_, C_3429_ p_281656_, int arg2)
public void
a(double arg0, double arg1)
onClick(double arg0, double arg1)
method_25348(double arg0, double arg1)
onClick(double arg0, double arg1)
m_5716_(double p_93372_, double arg1)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_93375_, int p_93376_, int arg2)