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,Navigable,ParentElement
- Mappings:
Namespace Name official ekmintermediary net/minecraft/class_4425named 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
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate static final Textprivate static final Textprivate Textprivate static final Textprivate static final Textprivate static final Text(package private) static final Logger(package private) final Screenprivate static final Textprivate static final Textprivate final Screen(package private) final RealmsServerprivate Textprivate static final Textprivate static final Textprivate static final Textprivate Subscription.SubscriptionTypeprivate static final TextFields 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, WHITEFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, LIGHT_DIRT_BACKGROUND_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionRealmsSubscriptionInfoScreen(Screen parent, RealmsServer serverData, Screen mainScreen) -
Method Summary
Modifier and TypeMethodDescriptionprivate TextdaysLeftPresentation(int daysLeft) private voidgetSubscription(long worldId) voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private static TextlocalPresentation(long time) private voidonDeletionConfirmed(boolean delete) voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, rowMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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, fillGradientMethods 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.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLekm;a:Lorg/slf4j/Logger;intermediary field_20146Lnet/minecraft/class_4425;field_20146:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;LOGGER:Lorg/slf4j/Logger;
-
SUBSCRIPTION_TITLE
- Mappings:
Namespace Name Mixin selector official bLekm;b:Ltj;intermediary field_20153Lnet/minecraft/class_4425;field_20153:Lnet/minecraft/class_2561;named SUBSCRIPTION_TITLELnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;SUBSCRIPTION_TITLE:Lnet/minecraft/text/Text;
-
SUBSCRIPTION_START_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector official cLekm;c:Ltj;intermediary field_20154Lnet/minecraft/class_4425;field_20154:Lnet/minecraft/class_2561;named SUBSCRIPTION_START_LABEL_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;SUBSCRIPTION_START_LABEL_TEXT:Lnet/minecraft/text/Text;
-
TIME_LEFT_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector official JLekm;J:Ltj;intermediary field_20155Lnet/minecraft/class_4425;field_20155:Lnet/minecraft/class_2561;named TIME_LEFT_LABEL_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;TIME_LEFT_LABEL_TEXT:Lnet/minecraft/text/Text;
-
DAYS_LEFT_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector official KLekm;K:Ltj;intermediary field_20156Lnet/minecraft/class_4425;field_20156:Lnet/minecraft/class_2561;named DAYS_LEFT_LABEL_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;DAYS_LEFT_LABEL_TEXT:Lnet/minecraft/text/Text;
-
EXPIRED_TEXT
- Mappings:
Namespace Name Mixin selector official LLekm;L:Ltj;intermediary field_26517Lnet/minecraft/class_4425;field_26517:Lnet/minecraft/class_2561;named EXPIRED_TEXTLnet/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 MLekm;M:Ltj;intermediary field_26518Lnet/minecraft/class_4425;field_26518:Lnet/minecraft/class_2561;named EXPIRES_IN_LESS_THAN_A_DAY_TEXTLnet/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 NLekm;N:Ltj;intermediary field_26519Lnet/minecraft/class_4425;field_26519:Lnet/minecraft/class_2561;named MONTH_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;MONTH_TEXT:Lnet/minecraft/text/Text;
-
MONTHS_TEXT
- Mappings:
Namespace Name Mixin selector official OLekm;O:Ltj;intermediary field_26520Lnet/minecraft/class_4425;field_26520:Lnet/minecraft/class_2561;named MONTHS_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;MONTHS_TEXT:Lnet/minecraft/text/Text;
-
DAY_TEXT
- Mappings:
Namespace Name Mixin selector official PLekm;P:Ltj;intermediary field_26521Lnet/minecraft/class_4425;field_26521:Lnet/minecraft/class_2561;named DAY_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;DAY_TEXT:Lnet/minecraft/text/Text;
-
DAYS_TEXT
- Mappings:
Namespace Name Mixin selector official QLekm;Q:Ltj;intermediary field_26522Lnet/minecraft/class_4425;field_26522:Lnet/minecraft/class_2561;named DAYS_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;DAYS_TEXT:Lnet/minecraft/text/Text;
-
UNKNOWN_TEXT
- Mappings:
Namespace Name Mixin selector official RLekm;R:Ltj;intermediary field_34033Lnet/minecraft/class_4425;field_34033:Lnet/minecraft/class_2561;named UNKNOWN_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;UNKNOWN_TEXT:Lnet/minecraft/text/Text;
-
field_43152
- Mappings:
Namespace Name Mixin selector official SLekm;S:Ltj;intermediary field_43152Lnet/minecraft/class_4425;field_43152:Lnet/minecraft/class_2561;named field_43152Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;field_43152:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official TLekm;T:Letd;intermediary field_20147Lnet/minecraft/class_4425;field_20147:Lnet/minecraft/class_437;named parentLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
serverData
- Mappings:
Namespace Name Mixin selector official ULekm;U:Leik;intermediary field_20148Lnet/minecraft/class_4425;field_20148:Lnet/minecraft/class_4877;named serverDataLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
-
mainScreen
- Mappings:
Namespace Name Mixin selector official VLekm;V:Letd;intermediary field_20149Lnet/minecraft/class_4425;field_20149:Lnet/minecraft/class_437;named mainScreenLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;mainScreen:Lnet/minecraft/client/gui/screen/Screen;
-
daysLeft
- Mappings:
Namespace Name Mixin selector official WLekm;W:Ltj;intermediary field_20157Lnet/minecraft/class_4425;field_20157:Lnet/minecraft/class_2561;named daysLeftLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;daysLeft:Lnet/minecraft/text/Text;
-
startDate
- Mappings:
Namespace Name Mixin selector official XLekm;X:Ltj;intermediary field_20158Lnet/minecraft/class_4425;field_20158:Lnet/minecraft/class_2561;named startDateLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;startDate:Lnet/minecraft/text/Text;
-
type
- Mappings:
Namespace Name Mixin selector official YLekm;Y:Leix$a;intermediary field_20159Lnet/minecraft/class_4425;field_20159:Lnet/minecraft/class_4887$class_4322;named typeLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;type:Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;
-
-
Constructor Details
-
RealmsSubscriptionInfoScreen
- Mappings:
Namespace Name Mixin selector official <init>Lekm;<init>(Letd;Leik;Letd;)Vintermediary <init>Lnet/minecraft/class_4425;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Lnet/minecraft/class_437;)Vnamed <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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused. -
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector official aw_Letd;aw_()Ltj;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
onDeletionConfirmed
private void onDeletionConfirmed(boolean delete) - Mappings:
Namespace Name Mixin selector official cLekm;c(Z)Vintermediary method_25271Lnet/minecraft/class_4425;method_25271(Z)Vnamed onDeletionConfirmedLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;onDeletionConfirmed(Z)V
-
getSubscription
private void getSubscription(long worldId) - Mappings:
Namespace Name Mixin selector official aLekm;a(J)Vintermediary method_21500Lnet/minecraft/class_4425;method_21500(J)Vnamed getSubscriptionLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;getSubscription(J)V
-
localPresentation
- Mappings:
Namespace Name Mixin selector official bLekm;b(J)Ltj;intermediary method_21502Lnet/minecraft/class_4425;method_21502(J)Lnet/minecraft/class_2561;named localPresentationLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;localPresentation(J)Lnet/minecraft/text/Text;
-
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 inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- 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:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLepl;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLepa;a(Lehe;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
-
daysLeftPresentation
- Mappings:
Namespace Name Mixin selector official aLekm;a(I)Ltj;intermediary method_21499Lnet/minecraft/class_4425;method_21499(I)Lnet/minecraft/class_2561;named daysLeftPresentationLnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;daysLeftPresentation(I)Lnet/minecraft/text/Text;
-