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,ParentElement,TickableElement
@Environment(CLIENT) public class RealmsNotificationsScreen extends RealmsScreen
- Mappings:
Namespace Name official dofintermediary net/minecraft/class_4399named net/minecraft/client/realms/gui/screen/RealmsNotificationsScreen
-
Field Summary
Fields Modifier and Type Field Description private static booleancheckedMcoAvailabilityprivate static booleanhasUnreadNewsprivate static IdentifierINVITE_ICONprivate static IdentifierNEWS_NOTIFICATIONprivate intnumberOfPendingInvitesprivate static RealmsDataFetcherREALMS_DATA_FETCHERprivate static IdentifierTRIAL_ICONprivate static booleantrialAvailableprivate static booleanvalidClientFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors Constructor Description RealmsNotificationsScreen() -
Method Summary
Modifier and Type Method Description private voidcheckIfMcoEnabled()private voiddrawIcons(MatrixStack matrices, int mouseX, int mouseY)voidinit()Called when a screen should be initialized.private booleanmethod_25169()private booleanmethod_25170()voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidtick()Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, rowMethods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffsetMethods 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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
INVITE_ICON
- Mappings:
Namespace Name Mixin selector official aLdof;a:Lwb;intermediary field_22698Lnet/minecraft/class_4399;field_22698:Lnet/minecraft/class_2960;named INVITE_ICONLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;INVITE_ICON:Lnet/minecraft/util/Identifier;
-
TRIAL_ICON
- Mappings:
Namespace Name Mixin selector official bLdof;b:Lwb;intermediary field_22699Lnet/minecraft/class_4399;field_22699:Lnet/minecraft/class_2960;named TRIAL_ICONLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;TRIAL_ICON:Lnet/minecraft/util/Identifier;
-
NEWS_NOTIFICATION
- Mappings:
Namespace Name Mixin selector official cLdof;c:Lwb;intermediary field_22700Lnet/minecraft/class_4399;field_22700:Lnet/minecraft/class_2960;named NEWS_NOTIFICATIONLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;NEWS_NOTIFICATION:Lnet/minecraft/util/Identifier;
-
REALMS_DATA_FETCHER
- Mappings:
Namespace Name Mixin selector official pLdof;p:Ldnq;intermediary field_19923Lnet/minecraft/class_4399;field_19923:Lnet/minecraft/class_4360;named REALMS_DATA_FETCHERLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;REALMS_DATA_FETCHER:Lnet/minecraft/client/realms/gui/RealmsDataFetcher;
-
checkedMcoAvailability
private static boolean checkedMcoAvailability- Mappings:
Namespace Name Mixin selector official rLdof;r:Zintermediary field_19925Lnet/minecraft/class_4399;field_19925:Znamed checkedMcoAvailabilityLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;checkedMcoAvailability:Z
-
trialAvailable
private static boolean trialAvailable- Mappings:
Namespace Name Mixin selector official sLdof;s:Zintermediary field_19926Lnet/minecraft/class_4399;field_19926:Znamed trialAvailableLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;trialAvailable:Z
-
validClient
private static boolean validClient- Mappings:
Namespace Name Mixin selector official tLdof;t:Zintermediary field_19927Lnet/minecraft/class_4399;field_19927:Znamed validClientLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;validClient:Z
-
hasUnreadNews
private static boolean hasUnreadNews- Mappings:
Namespace Name Mixin selector official uLdof;u:Zintermediary field_19928Lnet/minecraft/class_4399;field_19928:Znamed hasUnreadNewsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnreadNews:Z
-
numberOfPendingInvites
private volatile int numberOfPendingInvites- Mappings:
Namespace Name Mixin selector official qLdof;q:Iintermediary field_19924Lnet/minecraft/class_4399;field_19924:Inamed numberOfPendingInvitesLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;numberOfPendingInvites:I
-
-
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.
-
tick
public void tick()- Specified by:
tickin interfaceTickableElement- Overrides:
tickin classRealmsScreen- Mappings:
Namespace Name Mixin selector official dLdsn;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()V
-
method_25169
private boolean method_25169()- Mappings:
Namespace Name Mixin selector official hLdof;h()Zintermediary method_25169Lnet/minecraft/class_4399;method_25169()Znamed method_25169Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;method_25169()Z
-
method_25170
private boolean method_25170()- Mappings:
Namespace Name Mixin selector official iLdof;i()Zintermediary method_25170Lnet/minecraft/class_4399;method_25170()Znamed method_25170Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;method_25170()Z
-
checkIfMcoEnabled
private void checkIfMcoEnabled()- Mappings:
Namespace Name Mixin selector official kLdof;k()Vintermediary method_21294Lnet/minecraft/class_4399;method_21294()Vnamed checkIfMcoEnabledLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;checkIfMcoEnabled()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLdsq;a(Ldlr;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
drawIcons
- Mappings:
Namespace Name Mixin selector official aLdof;a(Ldlr;II)Vintermediary method_21295Lnet/minecraft/class_4399;method_21295(Lnet/minecraft/class_4587;II)Vnamed drawIconsLnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;drawIcons(Lnet/minecraft/client/util/math/MatrixStack;II)V
-
removed
public void removed()
-