Class RealmsNotificationsScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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 official ekc
intermediary net/minecraft/class_4399
named net/minecraft/client/realms/gui/screen/RealmsNotificationsScreen
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescription(package private) static boolean
private static boolean
private static boolean
private static final Identifier
private static final Identifier
private final RealmsNotificationsScreen.NotificationRunnersFactory
private final RealmsNotificationsScreen.NotificationRunnersFactory
private int
private static final Identifier
private static boolean
private static final Identifier
(package private) static boolean
Fields 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, WHITE
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, LIGHT_DIRT_BACKGROUND_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
addNotificationRunner
(RealmsPeriodicCheckers checkers, PeriodicRunnerFactory.RunnersManager manager) (package private) void
addRunners
(RealmsPeriodicCheckers checkers, PeriodicRunnerFactory.RunnersManager manager) private void
private void
drawIcons
(MatrixStack matrices, int mouseX, int mouseY) void
init()
Called when a screen should be initialized.private boolean
void
Called when the screen is displayed usingMinecraftClient.setScreen(net.minecraft.client.gui.screen.Screen)
beforeScreen.init()
orScreen.initTabNavigation()
is called.void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) private boolean
void
tick()
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, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, 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, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawBorder, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient
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
-
INVITE_ICON
- Mappings:
Namespace Name Mixin selector official a
Lekc;a:Ladd;
intermediary field_22698
Lnet/minecraft/class_4399;field_22698:Lnet/minecraft/class_2960;
named INVITE_ICON
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;INVITE_ICON:Lnet/minecraft/util/Identifier;
-
TRIAL_ICON
- Mappings:
Namespace Name Mixin selector official b
Lekc;b:Ladd;
intermediary field_22699
Lnet/minecraft/class_4399;field_22699:Lnet/minecraft/class_2960;
named TRIAL_ICON
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;TRIAL_ICON:Lnet/minecraft/util/Identifier;
-
NEWS_NOTIFICATION
- Mappings:
Namespace Name Mixin selector official c
Lekc;c:Ladd;
intermediary field_22700
Lnet/minecraft/class_4399;field_22700:Lnet/minecraft/class_2960;
named NEWS_NOTIFICATION
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;NEWS_NOTIFICATION:Lnet/minecraft/util/Identifier;
-
UNSEEN_NOTIFICATION
- Mappings:
Namespace Name Mixin selector official J
Lekc;J:Ladd;
intermediary field_43036
Lnet/minecraft/class_4399;field_43036:Lnet/minecraft/class_2960;
named UNSEEN_NOTIFICATION
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;UNSEEN_NOTIFICATION:Lnet/minecraft/util/Identifier;
-
checkedMcoAvailability
static boolean checkedMcoAvailability- Mappings:
Namespace Name Mixin selector official N
Lekc;N:Z
intermediary field_19925
Lnet/minecraft/class_4399;field_19925:Z
named checkedMcoAvailability
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;checkedMcoAvailability:Z
-
trialAvailable
private static boolean trialAvailable- Mappings:
Namespace Name Mixin selector official O
Lekc;O:Z
intermediary field_19926
Lnet/minecraft/class_4399;field_19926:Z
named trialAvailable
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;trialAvailable:Z
-
validClient
static boolean validClient- Mappings:
Namespace Name Mixin selector official P
Lekc;P:Z
intermediary field_19927
Lnet/minecraft/class_4399;field_19927:Z
named validClient
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;validClient:Z
-
hasUnreadNews
private static boolean hasUnreadNews- Mappings:
Namespace Name Mixin selector official Q
Lekc;Q:Z
intermediary field_19928
Lnet/minecraft/class_4399;field_19928:Z
named hasUnreadNews
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnreadNews:Z
-
hasUnseenNotification
private static boolean hasUnseenNotification- Mappings:
Namespace Name Mixin selector official R
Lekc;R:Z
intermediary field_43038
Lnet/minecraft/class_4399;field_43038:Z
named hasUnseenNotification
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnseenNotification:Z
-
periodicRunnersManager
- Mappings:
Namespace Name Mixin selector official K
Lekc;K:Lekr$c;
intermediary field_39695
Lnet/minecraft/class_4399;field_39695:Lnet/minecraft/class_7581$class_7584;
named periodicRunnersManager
Lnet/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 official L
Lekc;L:Lekc$a;
intermediary field_43037
Lnet/minecraft/class_4399;field_43037:Lnet/minecraft/class_4399$class_8207;
named currentRunnersFactory
Lnet/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 official M
Lekc;M:I
intermediary field_19924
Lnet/minecraft/class_4399;field_19924:I
named pendingInvitesCount
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;pendingInvitesCount:I
-
newsAndNotifications
- Mappings:
Namespace Name Mixin selector official S
Lekc;S:Lekc$a;
intermediary field_43039
Lnet/minecraft/class_4399;field_43039:Lnet/minecraft/class_4399$class_8207;
named newsAndNotifications
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;newsAndNotifications:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen$NotificationRunnersFactory;
-
notificationsOnly
- Mappings:
Namespace Name Mixin selector official T
Lekc;T:Lekc$a;
intermediary field_43040
Lnet/minecraft/class_4399;field_43040:Lnet/minecraft/class_4399$class_8207;
named notificationsOnly
Lnet/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:
onDisplayed
in classScreen
- Mappings:
Namespace Name Mixin selector official aA_
Letd;aA_()V
intermediary method_49589
Lnet/minecraft/class_437;method_49589()V
named onDisplayed
Lnet/minecraft/client/gui/screen/Screen;onDisplayed()V
-
getRunnersFactory
@Nullable private @Nullable RealmsNotificationsScreen.NotificationRunnersFactory getRunnersFactory()- Mappings:
Namespace Name Mixin selector official B
Lekc;B()Lekc$a;
intermediary method_49584
Lnet/minecraft/class_4399;method_49584()Lnet/minecraft/class_4399$class_8207;
named getRunnersFactory
Lnet/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 official C
Lekc;C()Z
intermediary method_25169
Lnet/minecraft/class_4399;method_25169()Z
named shouldShowRealmsNews
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;shouldShowRealmsNews()Z
-
isTitleScreen
private boolean isTitleScreen()- Mappings:
Namespace Name Mixin selector official D
Lekc;D()Z
intermediary method_25170
Lnet/minecraft/class_4399;method_25170()Z
named isTitleScreen
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;isTitleScreen()Z
-
checkIfMcoEnabled
private void checkIfMcoEnabled()- Mappings:
Namespace Name Mixin selector official E
Lekc;E()V
intermediary method_21294
Lnet/minecraft/class_4399;method_21294()V
named checkIfMcoEnabled
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;checkIfMcoEnabled()V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lepa;a(Lehe;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
drawIcons
- Mappings:
Namespace Name Mixin selector official a
Lekc;a(Lehe;II)V
intermediary method_21295
Lnet/minecraft/class_4399;method_21295(Lnet/minecraft/class_4587;II)V
named drawIcons
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;drawIcons(Lnet/minecraft/client/util/math/MatrixStack;II)V
-
addRunners
- Mappings:
Namespace Name Mixin selector official a
Lekc;a(Lejk;Lekr$c;)V
intermediary method_49586
Lnet/minecraft/class_4399;method_49586(Lnet/minecraft/class_7578;Lnet/minecraft/class_7581$class_7584;)V
named addRunners
Lnet/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 official b
Lekc;b(Lejk;Lekr$c;)V
intermediary method_49590
Lnet/minecraft/class_4399;method_49590(Lnet/minecraft/class_7578;Lnet/minecraft/class_7581$class_7584;)V
named addNotificationRunner
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;addNotificationRunner(Lnet/minecraft/client/realms/RealmsPeriodicCheckers;Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;)V
-