public class RealmsButton
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static ResourceLocation |
WIDGETS_LOCATION |
Constructor and Description |
---|
RealmsButton(int buttonId,
int x,
int y,
int widthIn,
int heightIn,
java.lang.String text) |
RealmsButton(int buttonId,
int x,
int y,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
boolean |
active() |
void |
active(boolean p_active_1_) |
void |
blit(int p_blit_1_,
int p_blit_2_,
int p_blit_3_,
int p_blit_4_,
int p_blit_5_,
int p_blit_6_) |
void |
clicked(int p_clicked_1_,
int p_clicked_2_) |
int |
getHeight() |
GuiButton |
getProxy() |
int |
getWidth() |
int |
getYImage(boolean p_getYImage_1_) |
int |
id() |
void |
msg(java.lang.String p_msg_1_) |
void |
released(int p_released_1_,
int p_released_2_) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
renderBg(int p_renderBg_1_,
int p_renderBg_2_) |
int |
y() |
protected static final ResourceLocation WIDGETS_LOCATION
public RealmsButton(int buttonId, int x, int y, java.lang.String text)
public RealmsButton(int buttonId, int x, int y, int widthIn, int heightIn, java.lang.String text)
public GuiButton getProxy()
public int id()
public boolean active()
public void active(boolean p_active_1_)
public void msg(java.lang.String p_msg_1_)
public int getWidth()
public int getHeight()
public int y()
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
public void clicked(int p_clicked_1_, int p_clicked_2_)
public void released(int p_released_1_, int p_released_2_)
public void blit(int p_blit_1_, int p_blit_2_, int p_blit_3_, int p_blit_4_, int p_blit_5_, int p_blit_6_)
public void renderBg(int p_renderBg_1_, int p_renderBg_2_)
public int getYImage(boolean p_getYImage_1_)