Class RealmsNotificationsScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.realms.RealmsScreen
com.mojang.realmsclient.gui.screens.RealmsNotificationsScreen
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) static interfaceNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static booleanprivate static booleanprivate static final ResourceLocationprivate static final ResourceLocationprivate intprivate final RealmsNotificationsScreen.DataFetcherConfigurationprivate DataFetcher.Subscriptionprivate final RealmsNotificationsScreen.DataFetcherConfigurationprivate static final ResourceLocationprivate static booleanprivate static final ResourceLocationprivate final CompletableFuture<Boolean>Fields inherited from class net.minecraft.realms.RealmsScreenCOLOR_DARK_GRAY, COLOR_GREEN, COLOR_INFO, COLOR_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, EXPIRATION_NOTIFICATION_DAYS, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHTFields inherited from class net.minecraft.client.gui.screens.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidadded()(package private) voidaddNewsAndInvitesSubscriptions(RealmsDataFetcher p_275490_, DataFetcher.Subscription p_275623_) (package private) voidaddNotificationsSubscriptions(RealmsDataFetcher p_275619_, DataFetcher.Subscription p_275628_) private voiddrawIcons(GuiGraphics p_282966_) private booleanvoidinit()private booleanvoidrender(GuiGraphics p_282587_, int p_282992_, int p_283028_, float p_281605_) voidrenderBackground(GuiGraphics p_294179_, int p_294689_, int p_294445_, float p_294874_) voidtick()Methods inherited from class net.minecraft.realms.RealmsScreenaddLabel, createLabelNarration, rowMethods inherited from class net.minecraft.client.gui.screens.ScreenaddRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
UNSEEN_NOTIFICATION_SPRITE
- 
NEWS_SPRITE
- 
INVITE_SPRITE
- 
TRIAL_AVAILABLE_SPRITE
- 
validClient
- 
realmsDataSubscription
- 
currentConfiguration
- 
numberOfPendingInvitesprivate volatile int numberOfPendingInvites
- 
trialAvailableprivate static boolean trialAvailable
- 
hasUnreadNewsprivate static boolean hasUnreadNews
- 
hasUnseenNotificationsprivate static boolean hasUnseenNotifications
- 
showAll
- 
onlyNotifications
 
- 
- 
Constructor Details- 
RealmsNotificationsScreenpublic RealmsNotificationsScreen()
 
- 
- 
Method Details- 
initpublic void init()
- 
addedpublic void added()
- 
getConfiguration
- 
tickpublic void tick()
- 
getRealmsNotificationsEnabledprivate boolean getRealmsNotificationsEnabled()
- 
inTitleScreenprivate boolean inTitleScreen()
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- Screen
 
- 
renderBackground- Overrides:
- renderBackgroundin class- Screen
 
- 
drawIcons
- 
addNewsAndInvitesSubscriptionsvoid addNewsAndInvitesSubscriptions(RealmsDataFetcher p_275490_, DataFetcher.Subscription p_275623_) 
- 
addNotificationsSubscriptions
 
-