public class SimpleButton
extends net.minecraft.client.gui.AbstractGui
Modifier and Type | Field and Description |
---|---|
int |
bX |
int |
bY |
int |
h |
int |
id |
int |
w |
int |
x |
int |
y |
Constructor and Description |
---|
SimpleButton(int id,
int x,
int y,
int w,
int h,
net.minecraft.util.ResourceLocation image,
int bX,
int bY,
int color) |
SimpleButton(int id,
int x,
int y,
int w,
int h,
java.lang.String text,
int color) |
SimpleButton(int id,
int x,
int y,
int size,
net.minecraft.util.ResourceLocation image,
int bX,
int bY,
int color) |
SimpleButton(int id,
int x,
int y,
int size,
java.lang.String text,
int color) |
Modifier and Type | Method and Description |
---|---|
void |
draw(com.mojang.blaze3d.matrix.MatrixStack matrix) |
boolean |
isEnabled() |
boolean |
isWithin(double x,
double y) |
void |
setEnabled(boolean isEnabled) |
public final int id
public int x
public int y
public int w
public int h
public int bX
public int bY
public SimpleButton(int id, int x, int y, int size, java.lang.String text, int color)
public SimpleButton(int id, int x, int y, int size, net.minecraft.util.ResourceLocation image, int bX, int bY, int color)
public SimpleButton(int id, int x, int y, int w, int h, java.lang.String text, int color)
public SimpleButton(int id, int x, int y, int w, int h, net.minecraft.util.ResourceLocation image, int bX, int bY, int color)