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 dof
intermediary net/minecraft/class_4399
named net/minecraft/client/realms/gui/screen/RealmsNotificationsScreen
-
Field Summary
Fields Modifier and Type Field Description private static boolean
checkedMcoAvailability
private static boolean
hasUnreadNews
private static Identifier
INVITE_ICON
private static Identifier
NEWS_NOTIFICATION
private int
numberOfPendingInvites
private static RealmsDataFetcher
REALMS_DATA_FETCHER
private static Identifier
TRIAL_ICON
private static boolean
trialAvailable
private static boolean
validClient
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
Fields 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 void
checkIfMcoEnabled()
private void
drawIcons(MatrixStack matrices, int mouseX, int mouseY)
void
init()
Called when a screen should be initialized.private boolean
method_25169()
private boolean
method_25170()
void
removed()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
void
tick()
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row
Methods 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, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods 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, setZOffset
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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
INVITE_ICON
- Mappings:
Namespace Name Mixin selector official a
Ldof;a:Lwb;
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
Ldof;b:Lwb;
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
Ldof;c:Lwb;
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;
-
REALMS_DATA_FETCHER
- Mappings:
Namespace Name Mixin selector official p
Ldof;p:Ldnq;
intermediary field_19923
Lnet/minecraft/class_4399;field_19923:Lnet/minecraft/class_4360;
named REALMS_DATA_FETCHER
Lnet/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 r
Ldof;r: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 s
Ldof;s:Z
intermediary field_19926
Lnet/minecraft/class_4399;field_19926:Z
named trialAvailable
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;trialAvailable:Z
-
validClient
private static boolean validClient- Mappings:
Namespace Name Mixin selector official t
Ldof;t: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 u
Ldof;u:Z
intermediary field_19928
Lnet/minecraft/class_4399;field_19928:Z
named hasUnreadNews
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;hasUnreadNews:Z
-
numberOfPendingInvites
private volatile int numberOfPendingInvites- Mappings:
Namespace Name Mixin selector official q
Ldof;q:I
intermediary field_19924
Lnet/minecraft/class_4399;field_19924:I
named numberOfPendingInvites
Lnet/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:
tick
in interfaceTickableElement
- Overrides:
tick
in classRealmsScreen
- Mappings:
Namespace Name Mixin selector official d
Ldsn;d()V
intermediary method_25393
Lnet/minecraft/class_4893;method_25393()V
named tick
Lnet/minecraft/client/gui/screen/TickableElement;tick()V
-
method_25169
private boolean method_25169()- Mappings:
Namespace Name Mixin selector official h
Ldof;h()Z
intermediary method_25169
Lnet/minecraft/class_4399;method_25169()Z
named method_25169
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;method_25169()Z
-
method_25170
private boolean method_25170()- Mappings:
Namespace Name Mixin selector official i
Ldof;i()Z
intermediary method_25170
Lnet/minecraft/class_4399;method_25170()Z
named method_25170
Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;method_25170()Z
-
checkIfMcoEnabled
private void checkIfMcoEnabled()- Mappings:
Namespace Name Mixin selector official k
Ldof;k()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
Ldsq;a(Ldlr;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
Ldof;a(Ldlr;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
-
removed
public void removed()
-