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 intermediary net/minecraft/class_4399official elanamed net/minecraft/client/realms/gui/screen/RealmsNotificationsScreen
-
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 TypeFieldDescription(package private) static booleanprivate static booleanprivate static booleanprivate static final Identifierprivate static final Identifierprivate final RealmsNotificationsScreen.NotificationRunnersFactoryprivate final RealmsNotificationsScreen.NotificationRunnersFactoryprivate intprivate static final Identifierprivate static booleanprivate static final Identifier(package private) static booleanFields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
ADVENTURE_MAPS_IN_1_9_URL, field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33055, field_33056, field_33057, field_33060, field_33061, field_33062, field_33063, field_33064, field_39676, MAX_FILE_SIZE, RED, WHITEFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, OPTIONS_BACKGROUND_TEXTURE, 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 voidprivate voiddrawIcons(DrawContext context, int mouseX, int mouseY) voidinit()Called when a screen should be initialized.private booleanvoidCalled when the screen is displayed usingMinecraftClient.setScreen(net.minecraft.client.gui.screen.Screen)beforeScreen.init()orScreen.initTabNavigation()is called.voidrender(DrawContext context, int mouseX, int mouseY, float delta) 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, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, 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, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
INVITE_ICON
- Mappings:
Namespace Name Mixin selector intermediary field_22698Lnet/minecraft/class_4399;field_22698:Lnet/minecraft/class_2960;official aLela;a:Lacq;named INVITE_ICONLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;INVITE_ICON:Lnet/minecraft/util/Identifier;
-
TRIAL_ICON
- Mappings:
Namespace Name Mixin selector intermediary field_22699Lnet/minecraft/class_4399;field_22699:Lnet/minecraft/class_2960;official bLela;b:Lacq;named TRIAL_ICONLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;TRIAL_ICON:Lnet/minecraft/util/Identifier;
-
NEWS_NOTIFICATION
- Mappings:
Namespace Name Mixin selector intermediary field_22700Lnet/minecraft/class_4399;field_22700:Lnet/minecraft/class_2960;official cLela;c:Lacq;named NEWS_NOTIFICATIONLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;NEWS_NOTIFICATION:Lnet/minecraft/util/Identifier;
-
UNSEEN_NOTIFICATION
- Mappings:
Namespace Name Mixin selector intermediary field_43036Lnet/minecraft/class_4399;field_43036:Lnet/minecraft/class_2960;official FLela;F:Lacq;named UNSEEN_NOTIFICATIONLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;UNSEEN_NOTIFICATION:Lnet/minecraft/util/Identifier;
-
checkedMcoAvailability
static boolean checkedMcoAvailability- Mappings:
Namespace Name Mixin selector intermediary field_19925Lnet/minecraft/class_4399;field_19925:Zofficial JLela;J:Znamed checkedMcoAvailabilityLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;checkedMcoAvailability:Z
-
trialAvailable
private static boolean trialAvailable- Mappings:
Namespace Name Mixin selector intermediary field_19926Lnet/minecraft/class_4399;field_19926:Zofficial KLela;K:Znamed trialAvailableLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;trialAvailable:Z
-
validClient
static boolean validClient- Mappings:
Namespace Name Mixin selector intermediary field_19927Lnet/minecraft/class_4399;field_19927:Zofficial LLela;L:Znamed validClientLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;validClient:Z
-
hasUnreadNews
private static boolean hasUnreadNews- Mappings:
Namespace Name Mixin selector intermediary field_19928Lnet/minecraft/class_4399;field_19928:Zofficial MLela;M:Znamed hasUnreadNewsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnreadNews:Z
-
hasUnseenNotification
private static boolean hasUnseenNotification- Mappings:
Namespace Name Mixin selector intermediary field_43038Lnet/minecraft/class_4399;field_43038:Zofficial NLela;N:Znamed hasUnseenNotificationLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnseenNotification:Z
-
periodicRunnersManager
- Mappings:
Namespace Name Mixin selector intermediary field_39695Lnet/minecraft/class_4399;field_39695:Lnet/minecraft/class_7581$class_7584;official GLela;G:Lelp$c;named periodicRunnersManagerLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;periodicRunnersManager:Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;
-
currentRunnersFactory
@Nullable private @Nullable RealmsNotificationsScreen.NotificationRunnersFactory currentRunnersFactory- Mappings:
Namespace Name Mixin selector intermediary field_43037Lnet/minecraft/class_4399;field_43037:Lnet/minecraft/class_4399$class_8207;official HLela;H:Lela$a;named currentRunnersFactoryLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;currentRunnersFactory:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;
-
pendingInvitesCount
private volatile int pendingInvitesCount- Mappings:
Namespace Name Mixin selector intermediary field_19924Lnet/minecraft/class_4399;field_19924:Iofficial ILela;I:Inamed pendingInvitesCountLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;pendingInvitesCount:I
-
newsAndNotifications
- Mappings:
Namespace Name Mixin selector intermediary field_43039Lnet/minecraft/class_4399;field_43039:Lnet/minecraft/class_4399$class_8207;official OLela;O:Lela$a;named newsAndNotificationsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;newsAndNotifications:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;
-
notificationsOnly
- Mappings:
Namespace Name Mixin selector intermediary field_43040Lnet/minecraft/class_4399;field_43040:Lnet/minecraft/class_4399$class_8207;official PLela;P:Lela$a;named notificationsOnlyLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;notificationsOnly:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;
-
-
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(net.minecraft.client.gui.Element)to set the element that is initially focused. -
onDisplayed
public void onDisplayed()Called when the screen is displayed usingMinecraftClient.setScreen(net.minecraft.client.gui.screen.Screen)beforeScreen.init()orScreen.initTabNavigation()is called.- Overrides:
onDisplayedin classScreen- Mappings:
Namespace Name Mixin selector intermediary method_49589Lnet/minecraft/class_437;method_49589()Vofficial ay_Leug;ay_()Vnamed onDisplayedLnet/minecraft/client/gui/screen/Screen;onDisplayed()V
-
getRunnersFactory
@Nullable private @Nullable RealmsNotificationsScreen.NotificationRunnersFactory getRunnersFactory()- Mappings:
Namespace Name Mixin selector intermediary method_49584Lnet/minecraft/class_4399;method_49584()Lnet/minecraft/class_4399$class_8207;official BLela;B()Lela$a;named getRunnersFactoryLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;getRunnersFactory()Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;
-
tick
public void tick() -
shouldShowRealmsNews
private boolean shouldShowRealmsNews()- Mappings:
Namespace Name Mixin selector intermediary method_25169Lnet/minecraft/class_4399;method_25169()Zofficial CLela;C()Znamed shouldShowRealmsNewsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;shouldShowRealmsNews()Z
-
isTitleScreen
private boolean isTitleScreen()- Mappings:
Namespace Name Mixin selector intermediary method_25170Lnet/minecraft/class_4399;method_25170()Zofficial DLela;D()Znamed isTitleScreenLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;isTitleScreen()Z
-
checkIfMcoEnabled
private void checkIfMcoEnabled()- Mappings:
Namespace Name Mixin selector intermediary method_21294Lnet/minecraft/class_4399;method_21294()Vofficial ELela;E()Vnamed checkIfMcoEnabledLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;checkIfMcoEnabled()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector intermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLepy;a(Leop;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
drawIcons
- Mappings:
Namespace Name Mixin selector intermediary method_21295Lnet/minecraft/class_4399;method_21295(Lnet/minecraft/class_332;II)Vofficial aLela;a(Leop;II)Vnamed drawIconsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;drawIcons(Lnet/minecraft/client/gui/DrawContext;II)V
-
addRunners
- Mappings:
Namespace Name Mixin selector intermediary method_49586Lnet/minecraft/class_4399;method_49586(Lnet/minecraft/class_7578;Lnet/minecraft/class_7581$class_7584;)Vofficial aLela;a(Leki;Lelp$c;)Vnamed addRunnersLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;addRunners(Lnet/minecraft/client/realms/RealmsPeriodicCheckers;Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;)V
-
addNotificationRunner
void addNotificationRunner(RealmsPeriodicCheckers checkers, PeriodicRunnerFactory.RunnersManager manager) - Mappings:
Namespace Name Mixin selector intermediary method_49590Lnet/minecraft/class_4399;method_49590(Lnet/minecraft/class_7578;Lnet/minecraft/class_7581$class_7584;)Vofficial bLela;b(Leki;Lelp$c;)Vnamed addNotificationRunnerLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;addNotificationRunner(Lnet/minecraft/client/realms/RealmsPeriodicCheckers;Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;)V
-