Class RealmsNotificationsScreen
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.RealmsNotificationsScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsNotificationsScreenintermediary net/minecraft/class_4399official fef
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interfaceNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static booleanprivate static booleanprivate static final Identifierprivate static final Identifierprivate final RealmsNotificationsScreen.NotificationRunnersFactoryprivate final RealmsNotificationsScreen.NotificationRunnersFactoryprivate intprivate static final Identifierprivate static booleanprivate static final Identifierprivate final CompletableFuture<Boolean> Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
field_33040, field_33041, field_33055, field_33057, field_33061, field_33062, field_33063, field_39676, MAX_FILE_SIZEFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddNotificationRunner(RealmsPeriodicCheckers checkers, PeriodicRunnerFactory.RunnersManager manager) (package private) voidaddRunners(RealmsPeriodicCheckers checkers, PeriodicRunnerFactory.RunnersManager manager) private voiddrawIcons(DrawContext context) voidinit()Called when a screen should be initialized.private booleanvoidCalled when the screen is displayed usingbeforeinvalid reference
MinecraftClient#setScreeninit()orScreen.initTabNavigation()is called.voidrender(DrawContext context, int mouseX, int mouseY, float delta) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.private booleanvoidtick()Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, rowMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, close, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, refreshNarrator, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
UNSEEN_NOTIFICATION_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector named UNSEEN_NOTIFICATION_ICON_TEXTURELnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;UNSEEN_NOTIFICATION_ICON_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45245Lnet/minecraft/class_4399;field_45245:Lnet/minecraft/class_2960;official aLfef;a:Lakr;
-
NEWS_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector named NEWS_ICON_TEXTURELnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;NEWS_ICON_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45246Lnet/minecraft/class_4399;field_45246:Lnet/minecraft/class_2960;official bLfef;b:Lakr;
-
INVITE_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector named INVITE_ICON_TEXTURELnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;INVITE_ICON_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45247Lnet/minecraft/class_4399;field_45247:Lnet/minecraft/class_2960;official cLfef;c:Lakr;
-
TRIAL_AVAILABLE_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector named TRIAL_AVAILABLE_ICON_TEXTURELnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;TRIAL_AVAILABLE_ICON_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45248Lnet/minecraft/class_4399;field_45248:Lnet/minecraft/class_2960;official BLfef;B:Lakr;
-
trialAvailable
private static boolean trialAvailable- Mappings:
Namespace Name Mixin selector named trialAvailableLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;trialAvailable:Zintermediary field_19926Lnet/minecraft/class_4399;field_19926:Zofficial GLfef;G:Z
-
hasUnreadNews
private static boolean hasUnreadNews- Mappings:
Namespace Name Mixin selector named hasUnreadNewsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnreadNews:Zintermediary field_19928Lnet/minecraft/class_4399;field_19928:Zofficial HLfef;H:Z
-
hasUnseenNotification
private static boolean hasUnseenNotification- Mappings:
Namespace Name Mixin selector named hasUnseenNotificationLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnseenNotification:Zintermediary field_43038Lnet/minecraft/class_4399;field_43038:Zofficial ILfef;I:Z
-
validClient
- Mappings:
Namespace Name Mixin selector named validClientLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;validClient:Ljava/util/concurrent/CompletableFuture;intermediary field_19927Lnet/minecraft/class_4399;field_19927:Ljava/util/concurrent/CompletableFuture;official CLfef;C:Ljava/util/concurrent/CompletableFuture;
-
periodicRunnersManager
- Mappings:
Namespace Name Mixin selector named periodicRunnersManagerLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;periodicRunnersManager:Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;intermediary field_39695Lnet/minecraft/class_4399;field_39695:Lnet/minecraft/class_7581$class_7584;official DLfef;D:Lfev$c;
-
currentRunnersFactory
@Nullable private @Nullable RealmsNotificationsScreen.NotificationRunnersFactory currentRunnersFactory- Mappings:
Namespace Name Mixin selector named currentRunnersFactoryLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;currentRunnersFactory:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;intermediary field_43037Lnet/minecraft/class_4399;field_43037:Lnet/minecraft/class_4399$class_8207;official ELfef;E:Lfef$a;
-
pendingInvitesCount
private volatile int pendingInvitesCount- Mappings:
Namespace Name Mixin selector named pendingInvitesCountLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;pendingInvitesCount:Iintermediary field_19924Lnet/minecraft/class_4399;field_19924:Iofficial FLfef;F:I
-
newsAndNotifications
- Mappings:
Namespace Name Mixin selector named newsAndNotificationsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;newsAndNotifications:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;intermediary field_43039Lnet/minecraft/class_4399;field_43039:Lnet/minecraft/class_4399$class_8207;official JLfef;J:Lfef$a;
-
notificationsOnly
- Mappings:
Namespace Name Mixin selector named notificationsOnlyLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;notificationsOnly:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;intermediary field_43040Lnet/minecraft/class_4399;field_43040:Lnet/minecraft/class_4399$class_8207;official KLfef;K:Lfef$a;
-
-
Constructor Details
-
RealmsNotificationsScreen
public RealmsNotificationsScreen()
-
-
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()to set the element that is initially focused. -
onDisplayed
public void onDisplayed()Called when the screen is displayed usingbeforeinvalid reference
MinecraftClient#setScreeninit()orScreen.initTabNavigation()is called.- Overrides:
onDisplayedin classScreen- Mappings:
Namespace Name Mixin selector named onDisplayedLnet/minecraft/client/gui/screen/Screen;onDisplayed()Vintermediary method_49589Lnet/minecraft/class_437;method_49589()Vofficial aL_Lfod;aL_()V
-
getRunnersFactory
@Nullable private @Nullable RealmsNotificationsScreen.NotificationRunnersFactory getRunnersFactory()- Mappings:
Namespace Name Mixin selector named getRunnersFactoryLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;getRunnersFactory()Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;intermediary method_49584Lnet/minecraft/class_4399;method_49584()Lnet/minecraft/class_4399$class_8207;official CLfef;C()Lfef$a;
-
tick
public void tick() -
shouldShowRealmsNews
private boolean shouldShowRealmsNews()- Mappings:
Namespace Name Mixin selector named shouldShowRealmsNewsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;shouldShowRealmsNews()Zintermediary method_25169Lnet/minecraft/class_4399;method_25169()Zofficial DLfef;D()Z
-
isTitleScreen
private boolean isTitleScreen()- Mappings:
Namespace Name Mixin selector named isTitleScreenLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;isTitleScreen()Zintermediary method_25170Lnet/minecraft/class_4399;method_25170()Zofficial ELfef;E()Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfjp;a(Lfhz;IIF)V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector named renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vofficial bLfod;b(Lfhz;IIF)V
-
drawIcons
- Mappings:
Namespace Name Mixin selector named drawIconsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;drawIcons(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_21295Lnet/minecraft/class_4399;method_21295(Lnet/minecraft/class_332;)Vofficial cLfef;c(Lfhz;)V
-
addRunners
- Mappings:
Namespace Name Mixin selector named addRunnersLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;addRunners(Lnet/minecraft/client/realms/RealmsPeriodicCheckers;Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;)Vintermediary method_49586Lnet/minecraft/class_4399;method_49586(Lnet/minecraft/class_7578;Lnet/minecraft/class_7581$class_7584;)Vofficial aLfef;a(Lfdm;Lfev$c;)V
-
addNotificationRunner
void addNotificationRunner(RealmsPeriodicCheckers checkers, PeriodicRunnerFactory.RunnersManager manager) - Mappings:
Namespace Name Mixin selector named addNotificationRunnerLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;addNotificationRunner(Lnet/minecraft/client/realms/RealmsPeriodicCheckers;Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;)Vintermediary method_49590Lnet/minecraft/class_4399;method_49590(Lnet/minecraft/class_7578;Lnet/minecraft/class_7581$class_7584;)Vofficial bLfef;b(Lfdm;Lfev$c;)V
-