Class RealmsAcceptRejectButton
java.lang.Object
com.mojang.realmsclient.gui.screens.RealmsAcceptRejectButton
- Direct Known Subclasses:
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.AcceptButton,RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.RejectButton
@Environment(CLIENT) public abstract class RealmsAcceptRejectButton extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RealmsAcceptRejectButton(int width, int height, int x, int y) -
Method Summary
Modifier and Type Method Description intgetBottom()intgetRight()abstract voidhandleClick(int index)static voidhandleClick(RealmsObjectSelectionList<?> selectionList, AlwaysSelectedEntryListWidget.Entry<?> entry, List<RealmsAcceptRejectButton> buttons, int button, double mouseX, double mouseY)protected abstract voidrender(MatrixStack matrixStack, int y, int int2, boolean bool)voidrender(MatrixStack matrixStack, int int2, int int3, int int4, int int5)static voidrender(MatrixStack matrixStack, List<RealmsAcceptRejectButton> list, RealmsObjectSelectionList<?> realmsObjectSelectionList, int int2, int int3, int int4, int int5)
-
Field Details
-
Constructor Details
-
RealmsAcceptRejectButton
public RealmsAcceptRejectButton(int width, int height, int x, int y)
-
-
Method Details
-
render
-
render
-
getRight
public int getRight() -
getBottom
public int getBottom() -
handleClick
public abstract void handleClick(int index) -
render
public static void render(MatrixStack matrixStack, List<RealmsAcceptRejectButton> list, RealmsObjectSelectionList<?> realmsObjectSelectionList, int int2, int int3, int int4, int int5) -
handleClick
public static void handleClick(RealmsObjectSelectionList<?> selectionList, AlwaysSelectedEntryListWidget.Entry<?> entry, List<RealmsAcceptRejectButton> buttons, int button, double mouseX, double mouseY)
-