net.minecraft.client.gui.widget

public abstract class Widget

extends AbstractGui implements IRenderable, IGuiEventListener

All mapped superinterfaces:

IRenderable, IGuiEventListener

cwm
net.minecraft.class_339
net.minecraft.client.gui.widget.Widget

Field summary

Modifier and TypeField
public static final MinecraftKey
WIDGETS_LOCATION
WIDGETS_LOCATION
private static final int
NARRATE_DELAY_MOUSE
NARRATE_DELAY_MOUSE
private static final int
NARRATE_DELAY_FOCUS
NARRATE_DELAY_FOCUS
protected int
width
width
protected int
height
height
public int
x
x
x
public int
y
y
y
private String
message
message
private boolean
wasHovered
wasHovered
protected boolean
isHovered
isHovered
public boolean
active
active
public boolean
visible
visible
protected float
alpha
alpha
protected long
nextNarration
nextNarration
private boolean
focused
focused

Constructor summary

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

Method summary

Modifier and TypeMethod
protected int
getYImage(boolean arg0)
getYImage(boolean arg0)
public void
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
protected void
narrate()
narrate()
protected String
getNarrationMessage()
getNarrationMessage()
public void
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
protected void
renderBg(cvi arg0, int arg1, int arg2)
renderBg(Minecraft arg0, int arg1, int arg2)
public void
onClick(double arg0, double arg1)
onClick(double arg0, double arg1)
public void
onRelease(double arg0, double arg1)
onRelease(double arg0, double arg1)
protected void
onDrag(double arg0, double arg1, double arg2, double arg3)
onDrag(double arg0, double arg1, double arg2, double arg3)
public boolean
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
public boolean
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
protected boolean
isValidClickButton(int arg0)
isValidClickButton(int arg0)
public boolean
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
protected boolean
clicked(double arg0, double arg1)
clicked(double arg0, double arg1)
public boolean
isHovered()
isHovered()
public boolean
changeFocus(boolean arg0)
changeFocus(boolean arg0)
protected void
onFocusedChanged(boolean arg0)
onFocusedChanged(boolean arg0)
public boolean
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
public void
renderToolTip(int arg0, int arg1)
renderToolTip(int arg0, int arg1)
public void
playDownSound(dxu arg0)
playDownSound(SoundHandler arg0)
public int
getWidth()
getWidth()
public void
setWidth(int arg0)
setWidth(int arg0)
public void
setAlpha(float arg0)
setAlpha(float arg0)
public void
setMessage(String arg0)
setMessage(String arg0)
public String
getMessage()
getMessage()
public boolean
isFocused()
isFocused()
protected void
setFocused(boolean arg0)
setFocused(boolean arg0)