Class RealmsPendingInvitesScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.realms.gui.screen.RealmsScreen
net.minecraft.client.realms.gui.screen.RealmsPendingInvitesScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name official etc
intermediary net/minecraft/class_4401
named net/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescription(package private) static final Identifier
(package private) static final Identifier
(package private) static final Text
private ButtonWidget
private static final Logger
private static final Text
private final Screen
(package private) RealmsPendingInvitesScreen.PendingInvitationSelectionList
private final CompletableFuture<List<PendingInvite>>
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Text
private ButtonWidget
(package private) int
Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
field_33040, field_33041, field_33042, field_33055, field_33057, field_33061, field_33062, field_33063, field_39676, MAX_FILE_SIZE
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
(package private) void
handle
(int index, boolean accepted) void
init()
Called when a screen should be initialized.void
render
(DrawContext context, int mouseX, int mouseY, float delta) private boolean
shouldAcceptAndRejectButtonBeVisible
(int invite) (package private) void
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, row
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
ACCEPT_HIGHLIGHTED_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Letc;a:Lahg;
intermediary field_45250
Lnet/minecraft/class_4401;field_45250:Lnet/minecraft/class_2960;
named ACCEPT_HIGHLIGHTED_ICON_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;ACCEPT_HIGHLIGHTED_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
-
ACCEPT_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector official b
Letc;b:Lahg;
intermediary field_22702
Lnet/minecraft/class_4401;field_22702:Lnet/minecraft/class_2960;
named ACCEPT_ICON_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;ACCEPT_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
-
REJECT_HIGHLIGHTED_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector official c
Letc;c:Lahg;
intermediary field_45251
Lnet/minecraft/class_4401;field_45251:Lnet/minecraft/class_2960;
named REJECT_HIGHLIGHTED_ICON_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;REJECT_HIGHLIGHTED_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
-
REJECT_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector official v
Letc;v:Lahg;
intermediary field_22703
Lnet/minecraft/class_4401;field_22703:Lnet/minecraft/class_2960;
named REJECT_ICON_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;REJECT_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official w
Letc;w:Lorg/slf4j/Logger;
intermediary field_19935
Lnet/minecraft/class_4401;field_19935:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;LOGGER:Lorg/slf4j/Logger;
-
NO_PENDING_TEXT
- Mappings:
Namespace Name Mixin selector official x
Letc;x:Lvf;
intermediary field_26493
Lnet/minecraft/class_4401;field_26493:Lnet/minecraft/class_2561;
named NO_PENDING_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;NO_PENDING_TEXT:Lnet/minecraft/text/Text;
-
ACCEPT_TEXT
- Mappings:
Namespace Name Mixin selector official y
Letc;y:Lvf;
intermediary field_26494
Lnet/minecraft/class_4401;field_26494:Lnet/minecraft/class_2561;
named ACCEPT_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;ACCEPT_TEXT:Lnet/minecraft/text/Text;
-
REJECT_TEXT
- Mappings:
Namespace Name Mixin selector official z
Letc;z:Lvf;
intermediary field_26495
Lnet/minecraft/class_4401;field_26495:Lnet/minecraft/class_2561;
named REJECT_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;REJECT_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official A
Letc;A:Lfdb;
intermediary field_19936
Lnet/minecraft/class_4401;field_19936:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
pendingInvites
- Mappings:
Namespace Name Mixin selector official B
Letc;B:Ljava/util/concurrent/CompletableFuture;
intermediary field_45249
Lnet/minecraft/class_4401;field_45249:Ljava/util/concurrent/CompletableFuture;
named pendingInvites
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;pendingInvites:Ljava/util/concurrent/CompletableFuture;
-
tooltip
- Mappings:
Namespace Name Mixin selector official C
Letc;C:Lvf;
intermediary field_19937
Lnet/minecraft/class_4401;field_19937:Lnet/minecraft/class_2561;
named tooltip
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;tooltip:Lnet/minecraft/text/Text;
-
pendingInvitationSelectionList
RealmsPendingInvitesScreen.PendingInvitationSelectionList pendingInvitationSelectionList- Mappings:
Namespace Name Mixin selector official D
Letc;D:Letc$b;
intermediary field_19939
Lnet/minecraft/class_4401;field_19939:Lnet/minecraft/class_4401$class_4402;
named pendingInvitationSelectionList
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;pendingInvitationSelectionList:Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen$PendingInvitationSelectionList;
-
selectedInvite
int selectedInvite- Mappings:
Namespace Name Mixin selector official E
Letc;E:I
intermediary field_19941
Lnet/minecraft/class_4401;field_19941:I
named selectedInvite
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;selectedInvite:I
-
acceptButton
- Mappings:
Namespace Name Mixin selector official F
Letc;F:Lexg;
intermediary field_19942
Lnet/minecraft/class_4401;field_19942:Lnet/minecraft/class_4185;
named acceptButton
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;acceptButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
rejectButton
- Mappings:
Namespace Name Mixin selector official G
Letc;G:Lexg;
intermediary field_19943
Lnet/minecraft/class_4401;field_19943:Lnet/minecraft/class_4185;
named rejectButton
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;rejectButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
-
Constructor Details
-
RealmsPendingInvitesScreen
- Mappings:
Namespace Name Mixin selector official <init>
Letc;<init>(Lfdb;Lvf;)V
intermediary <init>
Lnet/minecraft/class_4401;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;)V
-
-
Method Details
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)
to set the element that is initially focused. -
close
public void close() -
handle
void handle(int index, boolean accepted) - Mappings:
Namespace Name Mixin selector official a
Letc;a(IZ)V
intermediary method_52672
Lnet/minecraft/class_4401;method_52672(IZ)V
named handle
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;handle(IZ)V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Leyj;a(Lewu;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
updateButtonStates
void updateButtonStates()- Mappings:
Namespace Name Mixin selector official D
Letc;D()V
intermediary method_21307
Lnet/minecraft/class_4401;method_21307()V
named updateButtonStates
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;updateButtonStates()V
-
shouldAcceptAndRejectButtonBeVisible
private boolean shouldAcceptAndRejectButtonBeVisible(int invite) - Mappings:
Namespace Name Mixin selector official a
Letc;a(I)Z
intermediary method_21314
Lnet/minecraft/class_4401;method_21314(I)Z
named shouldAcceptAndRejectButtonBeVisible
Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;shouldAcceptAndRejectButtonBeVisible(I)Z
-