@Environment(value=CLIENT) public abstract class RealmsAcceptRejectButton extends Object
Constructor and Description |
---|
RealmsAcceptRejectButton(int width,
int height,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
int |
getBottom() |
int |
getRight() |
abstract void |
handleClick(int index) |
static void |
handleClick(RealmsObjectSelectionList<?> selectionList,
AlwaysSelectedEntryListWidget.Entry<?> entry,
List<RealmsAcceptRejectButton> buttons,
int button,
double mouseX,
double mouseY) |
protected abstract void |
render(MatrixStack matrixStack,
int y,
int int2,
boolean bool) |
void |
render(MatrixStack matrices,
int int2,
int int3,
int int4,
int int5) |
static void |
render(MatrixStack matrices,
List<RealmsAcceptRejectButton> list,
RealmsObjectSelectionList<?> realmsObjectSelectionList,
int int2,
int int3,
int int4,
int int5) |
public final int width
public final int height
public final int x
public final int y
public RealmsAcceptRejectButton(int width, int height, int x, int y)
public void render(MatrixStack matrices, int int2, int int3, int int4, int int5)
protected abstract void render(MatrixStack matrixStack, int y, int int2, boolean bool)
public int getRight()
public int getBottom()
public abstract void handleClick(int index)
public static void render(MatrixStack matrices, List<RealmsAcceptRejectButton> list, RealmsObjectSelectionList<?> realmsObjectSelectionList, int int2, int int3, int int4, int int5)
public static void handleClick(RealmsObjectSelectionList<?> selectionList, AlwaysSelectedEntryListWidget.Entry<?> entry, List<RealmsAcceptRejectButton> buttons, int button, double mouseX, double mouseY)