com.mojang.realmsclient.gui.screens

public class RealmsNotificationsScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fka
com.mojang.realmsclient.gui.screens.RealmsNotificationsScreen
net.minecraft.class_4399
net.minecraft.client.realms.gui.screen.RealmsNotificationsScreen

Field summary

Modifier and TypeField
private static final ResourceLocation
a
UNSEEN_NOTIFICATION_SPRITE
field_45245
UNSEEN_NOTIFICATION_ICON_TEXTURE
private static final ResourceLocation
b
NEWS_SPRITE
field_45246
NEWS_ICON_TEXTURE
private static final ResourceLocation
c
INVITE_SPRITE
field_45247
INVITE_ICON_TEXTURE
private static final ResourceLocation
C
TRIAL_AVAILABLE_SPRITE
field_45248
TRIAL_AVAILABLE_ICON_TEXTURE
private final CompletableFuture<Boolean>
D
validClient
field_19927
validClient
private DataFetcher$Subscription
E
realmsDataSubscription
field_39695
periodicRunnersManager
private RealmsNotificationsScreen$DataFetcherConfiguration
F
currentConfiguration
field_43037
currentRunnersFactory
private volatile int
G
numberOfPendingInvites
field_19924
pendingInvitesCount
private static boolean
H
trialAvailable
field_19926
trialAvailable
private static boolean
I
hasUnreadNews
field_19928
hasUnreadNews
private static boolean
J
hasUnseenNotifications
field_43038
hasUnseenNotification
private final RealmsNotificationsScreen$DataFetcherConfiguration
K
showAll
field_43039
newsAndNotifications
private final RealmsNotificationsScreen$DataFetcherConfiguration
L
onlyNotifications
field_43040
notificationsOnly

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
aT_()
init()
method_25426()
init()
public void
aK_()
added()
method_49589()
onDisplayed()
private RealmsNotificationsScreen$DataFetcherConfiguration
E()
getConfiguration()
method_49584()
getRunnersFactory()
public void
e()
tick()
method_25393()
tick()
private boolean
F()
getRealmsNotificationsEnabled()
method_25169()
shouldShowRealmsNews()
private boolean
G()
inTitleScreen()
method_25170()
isTitleScreen()
public void
a(fns arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
public void
b(fns arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
private void
c(fns arg0)
drawIcons(GuiGraphics arg0)
method_21295(class_332 arg0)
drawIcons(DrawContext context)
void
a(fjh arg0, fkp$c arg1)
addNewsAndInvitesSubscriptions(RealmsDataFetcher arg0, DataFetcher$Subscription arg1)
method_49586(class_7578 arg0, class_7581$class_7584 arg1)
addRunners(RealmsPeriodicCheckers checkers, PeriodicRunnerFactory$RunnersManager manager)
void
b(fjh arg0, fkp$c arg1)
addNotificationsSubscriptions(RealmsDataFetcher arg0, DataFetcher$Subscription arg1)
method_49590(class_7578 arg0, class_7581$class_7584 arg1)
addNotificationRunner(RealmsPeriodicCheckers checkers, PeriodicRunnerFactory$RunnersManager manager)