net.minecraft.client.gui.components

public abstract class AbstractWidget

extends GuiComponent implements Widget, GuiEventListener

All mapped superinterfaces:

Widget, GuiEventListener

dng
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.class_339
net.minecraft.client.gui.widget.AbstractButtonWidget
net.minecraft.client.gui.widget.Widget

Field summary

Modifier and TypeField
public static final ResourceLocation
i
WIDGETS_LOCATION
field_22757
WIDGETS_LOCATION
field_230687_i_
protected int
j
width
field_22758
width
field_230688_j_
protected int
k
height
field_22759
height
field_230689_k_
public int
l
x
field_22760
x
field_230690_l_
public int
m
y
field_22761
y
field_230691_m_
private Component
a
message
field_22754
message
field_230684_a_
private boolean
b
wasHovered
field_22755
wasHovered
field_230685_b_
protected boolean
n
isHovered
field_22762
hovered
field_230692_n_
public boolean
o
active
field_22763
active
field_230693_o_
public boolean
p
visible
field_22764
visible
field_230694_p_
protected float
q
alpha
field_22765
alpha
field_230695_q_
protected long
r
nextNarration
field_22766
nextNarration
field_230696_r_
private boolean
c
focused
field_22756
focused
field_230686_c_

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Component message)

Method summary

Modifier and TypeMethod
public int
e()
getHeight()
method_25364()
getHeight()
func_238483_d_()
protected int
a(boolean arg0)
getYImage(boolean arg0)
method_25356(boolean arg0)
getYImage(boolean isHovered)
func_230989_a_(boolean arg0)
public void
a(dhl arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
func_230430_a_(MatrixStack arg0, int arg1, int arg2, float arg3)
protected void
f()
narrate()
method_25366()
narrate()
func_230997_f_()
protected MutableComponent
c()
createNarrationMessage()
method_25360()
getNarrationMessage()
func_230442_c_()
public void
b(dhl arg0, int arg1, int arg2, float arg3)
renderButton(PoseStack arg0, int arg1, int arg2, float arg3)
method_25359(class_4587 arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
func_230431_b_(MatrixStack arg0, int arg1, int arg2, float arg3)
protected void
a(dhl arg0, dlx arg1, int arg2, int arg3)
renderBg(PoseStack arg0, Minecraft arg1, int arg2, int arg3)
method_25353(class_4587 arg0, class_310 arg1, int arg2, int arg3)
renderBg(MatrixStack matrices, MinecraftClient client, int mouseX, int mouseY)
func_230441_a_(MatrixStack arg0, Minecraft arg1, int arg2, int arg3)
public void
a(double arg0, double arg1)
onClick(double arg0, double arg1)
method_25348(double arg0, double arg1)
onClick(double mouseX, double mouseY)
func_230982_a_(double arg0, double arg1)
public void
a_(double arg0, double arg1)
onRelease(double arg0, double arg1)
method_25357(double arg0, double arg1)
onRelease(double mouseX, double mouseY)
func_231000_a__(double arg0, double arg1)
protected void
a(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)
onDrag(double mouseX, double mouseY, double deltaX, double deltaY)
func_230983_a_(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)
mouseClicked(double arg0, double arg1, int arg2)
func_231044_a_(double arg0, double arg1, int arg2)
public boolean
c(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
method_25406(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
func_231048_c_(double arg0, double arg1, int arg2)
protected boolean
a(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
isValidClickButton(int button)
func_230987_a_(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)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
func_231045_a_(double arg0, double arg1, int arg2, double arg3, double arg4)
protected boolean
c(double arg0, double arg1)
clicked(double arg0, double arg1)
method_25361(double arg0, double arg1)
clicked(double mouseX, double mouseY)
func_230992_c_(double arg0, double arg1)
public boolean
g()
isHovered()
method_25367()
isHovered()
func_230449_g_()
public boolean
c_(boolean arg0)
changeFocus(boolean arg0)
method_25407(boolean arg0)
changeFocus(boolean arg0)
func_231049_c__(boolean arg0)
protected void
c(boolean arg0)
onFocusedChanged(boolean arg0)
method_25363(boolean arg0)
onFocusedChanged(boolean arg0)
func_230995_c_(boolean arg0)
public boolean
b(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
func_231047_b_(double arg0, double arg1)
public void
a(dhl arg0, int arg1, int arg2)
renderToolTip(PoseStack arg0, int arg1, int arg2)
method_25352(class_4587 arg0, int arg1, int arg2)
renderToolTip(MatrixStack matrices, int mouseX, int mouseY)
func_230443_a_(MatrixStack arg0, int arg1, int arg2)
public void
a(epn arg0)
playDownSound(SoundManager arg0)
method_25354(class_1144 arg0)
playDownSound(SoundManager soundManager)
func_230988_a_(SoundHandler arg0)
public int
h()
getWidth()
method_25368()
getWidth()
func_230998_h_()
public void
b(int arg0)
setWidth(int arg0)
method_25358(int arg0)
setWidth(int value)
func_230991_b_(int arg0)
public void
a(float arg0)
setAlpha(float arg0)
method_25350(float arg0)
setAlpha(float value)
func_230986_a_(float arg0)
public void
a(mr arg0)
setMessage(Component arg0)
method_25355(class_2561 arg0)
setMessage(Text arg0)
func_238482_a_(ITextComponent arg0)
public void
c(int arg0)
queueNarration(int arg0)
method_25362(int arg0)
queueNarration(int delay)
func_230994_c_(int arg0)
public Component
i()
getMessage()
method_25369()
getMessage()
func_230458_i_()
public boolean
j()
isFocused()
method_25370()
isFocused()
func_230999_j_()
protected void
d(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
setFocused(boolean focused)
func_230996_d_(boolean arg0)