net.minecraft.client.gui.components

public abstract class AbstractWidget

implements Renderable, GuiEventListener, LayoutElement, NarratableEntry

fvm
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.class_339

Field summary

Modifier and TypeField
private static final double
a
PERIOD_PER_SCROLLED_PIXEL
field_43055
private static final double
b
MIN_SCROLL_PERIOD
field_43056
protected int
g
width
field_22758
protected int
h
height
field_22759
private int
c
x
field_22760
private int
d
y
field_22761
private Component
e
message
field_22754
protected boolean
i
isHovered
field_22762
public boolean
j
active
field_22763
public boolean
k
visible
field_22764
protected float
l
alpha
field_22765
private int
f
tabOrderGroup
field_42116
private boolean
m
focused
field_22756
private final WidgetTooltipHolder
n
tooltip
field_41095

Constructor summary

ModifierConstructor
public (int arg0, int arg1, int arg2, int arg3, Component arg4)

Method summary

Modifier and TypeMethod
public int
y()
getHeight()
method_25364()
public final void
a(fvb arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
public void
a(fwz arg0)
setTooltip(Tooltip arg0)
method_47400(class_7919 arg0)
public void
a(Duration arg0)
setTooltipDelay(Duration arg0)
method_47402(Duration arg0)
protected MutableComponent
d()
createNarrationMessage()
method_25360()
public static MutableComponent
a_(xk arg0)
wrapDefaultNarrationMessage(Component arg0)
method_32602(class_2561 arg0)
protected abstract void
b(fvb 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)
protected static void
a(fvb arg0, fuz arg1, xk arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
renderScrollingString(GuiGraphics arg0, Font arg1, Component arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
method_52718(class_332 arg0, class_327 arg1, class_2561 arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
protected static void
a(fvb arg0, fuz arg1, xk arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
renderScrollingString(GuiGraphics arg0, Font arg1, Component arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
method_49605(class_332 arg0, class_327 arg1, class_2561 arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
protected void
a(fvb arg0, fuz arg1, int arg2, int arg3)
renderScrollingString(GuiGraphics arg0, Font arg1, int arg2, int arg3)
method_49604(class_332 arg0, class_327 arg1, int arg2, int arg3)
public void
a(double arg0, double arg1)
onClick(double arg0, double arg1)
method_25348(double arg0, double arg1)
public void
b(double arg0, double arg1)
onRelease(double arg0, double arg1)
method_25357(double arg0, double arg1)
protected void
b(double arg0, double arg1, double arg2, double arg3)
onDrag(double arg0, double arg1, double arg2, double arg3)
method_25349(double arg0, double arg1, double arg2, double arg3)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
public boolean
b(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
method_25406(double arg0, double arg1, int arg2)
protected boolean
g(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
public boolean
a(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
method_25403(double arg0, double arg1, int arg2, double arg3, double arg4)
public ComponentPath
a(fzv arg0)
nextFocusPath(FocusNavigationEvent arg0)
method_48205(class_8023 arg0)
public boolean
a_(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
public void
a(htg arg0)
playDownSound(SoundManager arg0)
method_25354(class_1144 arg0)
public static void
b(htg arg0)
playButtonClickSound(SoundManager arg0)
method_62888(class_1144 arg0)
public int
z()
getWidth()
method_25368()
public void
h(int arg0)
setWidth(int arg0)
method_25358(int arg0)
public void
i(int arg0)
setHeight(int arg0)
method_53533(int arg0)
public void
a(float arg0)
setAlpha(float arg0)
method_25350(float arg0)
public void
b(xk arg0)
setMessage(Component arg0)
method_25355(class_2561 arg0)
public Component
A()
getMessage()
method_25369()
public boolean
aK_()
isFocused()
method_25370()
public boolean
B()
isHovered()
method_49606()
public boolean
C()
isHoveredOrFocused()
method_25367()
public boolean
D()
isActive()
method_37303()
public void
a(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
public NarratableEntry$NarrationPriority
w()
narrationPriority()
method_37018()
public final void
b(fzp arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
protected abstract void
a(fzp arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
protected void
c(fzp arg0)
defaultButtonNarrationText(NarrationElementOutput arg0)
method_37021(class_6382 arg0)
public int
E()
getX()
method_46426()
public void
j(int arg0)
setX(int arg0)
method_46421(int arg0)
public int
F()
getY()
method_46427()
public void
k(int arg0)
setY(int arg0)
method_46419(int arg0)
public int
G()
getRight()
method_55442()
public int
H()
getBottom()
method_55443()
public void
a(Consumer<fvm> arg0)
visitWidgets(Consumer<AbstractWidget> arg0)
method_48206(Consumer<class_339> arg0)
public void
b(int arg0, int arg1)
setSize(int arg0, int arg1)
method_55445(int arg0, int arg1)
public ScreenRectangle
I()
getRectangle()
method_48202()
public void
a(int arg0, int arg1, int arg2, int arg3)
setRectangle(int arg0, int arg1, int arg2, int arg3)
method_55444(int arg0, int arg1, int arg2, int arg3)
public int
J()
getTabOrderGroup()
method_48590()
public void
l(int arg0)
setTabOrderGroup(int arg0)
method_48591(int arg0)