public class GuiButton extends Gui
Modifier and Type | Field and Description |
---|---|
protected static ResourceLocation |
buttonTextures |
java.lang.String |
displayString |
boolean |
enabled |
protected boolean |
field_146123_n |
int |
height |
int |
id |
int |
packedFGColour |
boolean |
visible |
int |
width |
int |
xPosition |
int |
yPosition |
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiButton(int p_i1021_1_,
int p_i1021_2_,
int p_i1021_3_,
int p_i1021_4_,
int p_i1021_5_,
java.lang.String p_i1021_6_) |
GuiButton(int p_i1020_1_,
int p_i1020_2_,
int p_i1020_3_,
java.lang.String p_i1020_4_) |
Modifier and Type | Method and Description |
---|---|
void |
drawButton(Minecraft p_146112_1_,
int p_146112_2_,
int p_146112_3_) |
void |
func_146111_b(int p_146111_1_,
int p_146111_2_) |
void |
func_146113_a(SoundHandler p_146113_1_) |
boolean |
func_146115_a() |
int |
func_154310_c() |
int |
getButtonWidth() |
int |
getHoverState(boolean p_146114_1_) |
protected void |
mouseDragged(Minecraft p_146119_1_,
int p_146119_2_,
int p_146119_3_) |
boolean |
mousePressed(Minecraft p_146116_1_,
int p_146116_2_,
int p_146116_3_) |
void |
mouseReleased(int p_146118_1_,
int p_146118_2_) |
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine, func_146110_a, func_152125_a
protected static final ResourceLocation buttonTextures
public int width
public int height
public int xPosition
public int yPosition
public java.lang.String displayString
public int id
public boolean enabled
public boolean visible
protected boolean field_146123_n
public int packedFGColour
public GuiButton(int p_i1020_1_, int p_i1020_2_, int p_i1020_3_, java.lang.String p_i1020_4_)
public GuiButton(int p_i1021_1_, int p_i1021_2_, int p_i1021_3_, int p_i1021_4_, int p_i1021_5_, java.lang.String p_i1021_6_)
public int getHoverState(boolean p_146114_1_)
public void drawButton(Minecraft p_146112_1_, int p_146112_2_, int p_146112_3_)
protected void mouseDragged(Minecraft p_146119_1_, int p_146119_2_, int p_146119_3_)
public void mouseReleased(int p_146118_1_, int p_146118_2_)
public boolean mousePressed(Minecraft p_146116_1_, int p_146116_2_, int p_146116_3_)
public boolean func_146115_a()
public void func_146111_b(int p_146111_1_, int p_146111_2_)
public void func_146113_a(SoundHandler p_146113_1_)
public int getButtonWidth()
public int func_154310_c()