Class RealmsAcceptRejectButton
java.lang.Object
net.minecraft.client.realms.gui.screen.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 matrices, int int2, int int3, int int4, int int5)static voidrender(MatrixStack matrices, List<RealmsAcceptRejectButton> list, RealmsObjectSelectionList<?> realmsObjectSelectionList, int int2, int int3, int int4, int int5)
-
Field Details
-
width
public final int width -
height
public final int height -
x
public final int x -
y
public final int y
-
-
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 matrices, 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)
-