Class RealmsSubscriptionInfoScreen
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.RealmsSubscriptionInfoScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official dvn
intermediary net/minecraft/class_4425
named net/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private static final Text
private static final Text
private Text
private static final Text
private static final Text
private static final String
(package private) static final Logger
(package private) final Screen
private static final Text
private static final Text
private final Screen
(package private) final RealmsServer
private Text
private static final Text
private static final Text
private static final Text
private Subscription.SubscriptionType
private static final Text
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_33045, field_33046, field_33047, field_33048, field_33049, field_33050, field_33051, field_33052, field_33053, field_33054, field_33055, field_33056, field_33057, field_33060, field_33061, field_33062, field_33063, field_33064, 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, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
ConstructorDescriptionRealmsSubscriptionInfoScreen
(Screen parent, RealmsServer serverData, Screen mainScreen) -
Method Summary
Modifier and TypeMethodDescriptionprivate Text
daysLeftPresentation
(int daysLeft) private void
getSubscription
(long worldId) void
init()
Called when a screen should be initialized.boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private static Text
localPresentation
(long time) private void
onDeletionConfirmed
(boolean delete) void
removed()
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) 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, clearChildren, filesDragged, findSelectedElementData, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onClose, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, 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
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ldvn;a:Lorg/apache/logging/log4j/Logger;
intermediary field_20146
Lnet/minecraft/class_4425;field_20146:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
SUBSCRIPTION_TITLE
- Mappings:
Namespace Name Mixin selector official b
Ldvn;b:Lpz;
intermediary field_20153
Lnet/minecraft/class_4425;field_20153:Lnet/minecraft/class_2561;
named SUBSCRIPTION_TITLE
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;SUBSCRIPTION_TITLE:Lnet/minecraft/text/Text;
-
SUBSCRIPTION_START_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector official c
Ldvn;c:Lpz;
intermediary field_20154
Lnet/minecraft/class_4425;field_20154:Lnet/minecraft/class_2561;
named SUBSCRIPTION_START_LABEL_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;SUBSCRIPTION_START_LABEL_TEXT:Lnet/minecraft/text/Text;
-
TIME_LEFT_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector official R
Ldvn;R:Lpz;
intermediary field_20155
Lnet/minecraft/class_4425;field_20155:Lnet/minecraft/class_2561;
named TIME_LEFT_LABEL_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;TIME_LEFT_LABEL_TEXT:Lnet/minecraft/text/Text;
-
DAYS_LEFT_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector official S
Ldvn;S:Lpz;
intermediary field_20156
Lnet/minecraft/class_4425;field_20156:Lnet/minecraft/class_2561;
named DAYS_LEFT_LABEL_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;DAYS_LEFT_LABEL_TEXT:Lnet/minecraft/text/Text;
-
EXPIRED_TEXT
- Mappings:
Namespace Name Mixin selector official T
Ldvn;T:Lpz;
intermediary field_26517
Lnet/minecraft/class_4425;field_26517:Lnet/minecraft/class_2561;
named EXPIRED_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;EXPIRED_TEXT:Lnet/minecraft/text/Text;
-
EXPIRES_IN_LESS_THAN_A_DAY_TEXT
- Mappings:
Namespace Name Mixin selector official U
Ldvn;U:Lpz;
intermediary field_26518
Lnet/minecraft/class_4425;field_26518:Lnet/minecraft/class_2561;
named EXPIRES_IN_LESS_THAN_A_DAY_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;EXPIRES_IN_LESS_THAN_A_DAY_TEXT:Lnet/minecraft/text/Text;
-
MONTH_TEXT
- Mappings:
Namespace Name Mixin selector official V
Ldvn;V:Lpz;
intermediary field_26519
Lnet/minecraft/class_4425;field_26519:Lnet/minecraft/class_2561;
named MONTH_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;MONTH_TEXT:Lnet/minecraft/text/Text;
-
MONTHS_TEXT
- Mappings:
Namespace Name Mixin selector official W
Ldvn;W:Lpz;
intermediary field_26520
Lnet/minecraft/class_4425;field_26520:Lnet/minecraft/class_2561;
named MONTHS_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;MONTHS_TEXT:Lnet/minecraft/text/Text;
-
DAY_TEXT
- Mappings:
Namespace Name Mixin selector official X
Ldvn;X:Lpz;
intermediary field_26521
Lnet/minecraft/class_4425;field_26521:Lnet/minecraft/class_2561;
named DAY_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;DAY_TEXT:Lnet/minecraft/text/Text;
-
DAYS_TEXT
- Mappings:
Namespace Name Mixin selector official Y
Ldvn;Y:Lpz;
intermediary field_26522
Lnet/minecraft/class_4425;field_26522:Lnet/minecraft/class_2561;
named DAYS_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;DAYS_TEXT:Lnet/minecraft/text/Text;
-
UNKNOWN_TEXT
- Mappings:
Namespace Name Mixin selector official Z
Ldvn;Z:Lpz;
intermediary field_34033
Lnet/minecraft/class_4425;field_34033:Lnet/minecraft/class_2561;
named UNKNOWN_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;UNKNOWN_TEXT:Lnet/minecraft/text/Text;
-
EXTEND_JAVA_REALMS_URL
- See Also:
- Mappings:
Namespace Name Mixin selector official ag
Ldvn;ag:Ljava/lang/String;
intermediary field_32127
Lnet/minecraft/class_4425;field_32127:Ljava/lang/String;
named EXTEND_JAVA_REALMS_URL
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;EXTEND_JAVA_REALMS_URL:Ljava/lang/String;
-
parent
- Mappings:
Namespace Name Mixin selector official aa
Ldvn;aa:Lecr;
intermediary field_20147
Lnet/minecraft/class_4425;field_20147:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
serverData
- Mappings:
Namespace Name Mixin selector official ab
Ldvn;ab:Ldto;
intermediary field_20148
Lnet/minecraft/class_4425;field_20148:Lnet/minecraft/class_4877;
named serverData
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
-
mainScreen
- Mappings:
Namespace Name Mixin selector official ac
Ldvn;ac:Lecr;
intermediary field_20149
Lnet/minecraft/class_4425;field_20149:Lnet/minecraft/class_437;
named mainScreen
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;mainScreen:Lnet/minecraft/client/gui/screen/Screen;
-
daysLeft
- Mappings:
Namespace Name Mixin selector official ad
Ldvn;ad:Lpz;
intermediary field_20157
Lnet/minecraft/class_4425;field_20157:Lnet/minecraft/class_2561;
named daysLeft
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;daysLeft:Lnet/minecraft/text/Text;
-
startDate
- Mappings:
Namespace Name Mixin selector official ae
Ldvn;ae:Lpz;
intermediary field_20158
Lnet/minecraft/class_4425;field_20158:Lnet/minecraft/class_2561;
named startDate
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;startDate:Lnet/minecraft/text/Text;
-
type
- Mappings:
Namespace Name Mixin selector official af
Ldvn;af:Ldua$a;
intermediary field_20159
Lnet/minecraft/class_4425;field_20159:Lnet/minecraft/class_4887$class_4322;
named type
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;type:Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;
-
-
Constructor Details
-
RealmsSubscriptionInfoScreen
- Mappings:
Namespace Name Mixin selector official <init>
Ldvn;<init>(Lecr;Ldto;Lecr;)V
intermediary <init>
Lnet/minecraft/class_4425;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Lnet/minecraft/class_437;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/client/gui/screen/Screen;)V
-
-
Method Details
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector official ae_
Lecr;ae_()Lpz;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
onDeletionConfirmed
private void onDeletionConfirmed(boolean delete) - Mappings:
Namespace Name Mixin selector official c
Ldvn;c(Z)V
intermediary method_25271
Lnet/minecraft/class_4425;method_25271(Z)V
named onDeletionConfirmed
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;onDeletionConfirmed(Z)V
-
getSubscription
private void getSubscription(long worldId) - Mappings:
Namespace Name Mixin selector official a
Ldvn;a(J)V
intermediary method_21500
Lnet/minecraft/class_4425;method_21500(J)V
named getSubscription
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;getSubscription(J)V
-
localPresentation
- Mappings:
Namespace Name Mixin selector official b
Ldvn;b(J)Lpz;
intermediary method_21502
Lnet/minecraft/class_4425;method_21502(J)Lnet/minecraft/class_2561;
named localPresentation
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;localPresentation(J)Lnet/minecraft/text/Text;
-
removed
public void removed() -
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- the unique/platform-specific scan code of the keyboard inputmodifiers
- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ldzy;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Ldzv;a(Ldsj;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
-
daysLeftPresentation
- Mappings:
Namespace Name Mixin selector official a
Ldvn;a(I)Lpz;
intermediary method_21499
Lnet/minecraft/class_4425;method_21499(I)Lnet/minecraft/class_2561;
named daysLeftPresentation
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;daysLeftPresentation(I)Lnet/minecraft/text/Text;
-