public abstract 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_) |
int |
getHeight() |
GuiButton |
getProxy() |
int |
getWidth() |
int |
getYImage(boolean p_getYImage_1_) |
int |
id() |
void |
msg(java.lang.String p_msg_1_) |
abstract void |
onClick(double p_onClick_1_,
double p_onClick_3_) |
void |
onRelease(double p_onRelease_1_,
double p_onRelease_3_) |
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 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_)
public abstract void onClick(double p_onClick_1_, double p_onClick_3_)
public void onRelease(double p_onRelease_1_, double p_onRelease_3_)