Class RealmsSubscriptionInfoScreen
java.lang.Object
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 named net/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen
intermediary net/minecraft/class_4425
official fkj
-
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 Text
private static final Text
private static final Text
(package private) static final Logger
(package private) final Screen
private final Screen
private static final Text
(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
field_33040, field_33041, field_33055, field_33057, field_33061, field_33062, field_33063, field_39676, field_54866, MAX_FILE_SIZE
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionRealmsSubscriptionInfoScreen
(Screen parent, RealmsServer serverData, Screen mainScreen) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private Text
daysLeftPresentation
(int daysLeft) private void
getSubscription
(long worldId) void
init()
Called when a screen should be initialized.private static Text
localPresentation
(long time) private void
void
render
(DrawContext context, 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
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
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, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;LOGGER:Lorg/slf4j/Logger;
intermediary field_20146
Lnet/minecraft/class_4425;field_20146:Lorg/slf4j/Logger;
official a
Lfkj;a:Lorg/slf4j/Logger;
-
SUBSCRIPTION_TITLE
- Mappings:
Namespace Name Mixin selector named SUBSCRIPTION_TITLE
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;SUBSCRIPTION_TITLE:Lnet/minecraft/text/Text;
intermediary field_20153
Lnet/minecraft/class_4425;field_20153:Lnet/minecraft/class_2561;
official b
Lfkj;b:Lxv;
-
SUBSCRIPTION_START_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector named SUBSCRIPTION_START_LABEL_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;SUBSCRIPTION_START_LABEL_TEXT:Lnet/minecraft/text/Text;
intermediary field_20154
Lnet/minecraft/class_4425;field_20154:Lnet/minecraft/class_2561;
official c
Lfkj;c:Lxv;
-
TIME_LEFT_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector named TIME_LEFT_LABEL_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;TIME_LEFT_LABEL_TEXT:Lnet/minecraft/text/Text;
intermediary field_20155
Lnet/minecraft/class_4425;field_20155:Lnet/minecraft/class_2561;
official C
Lfkj;C:Lxv;
-
DAYS_LEFT_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector named DAYS_LEFT_LABEL_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;DAYS_LEFT_LABEL_TEXT:Lnet/minecraft/text/Text;
intermediary field_20156
Lnet/minecraft/class_4425;field_20156:Lnet/minecraft/class_2561;
official D
Lfkj;D:Lxv;
-
EXPIRED_TEXT
- Mappings:
Namespace Name Mixin selector named EXPIRED_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;EXPIRED_TEXT:Lnet/minecraft/text/Text;
intermediary field_26517
Lnet/minecraft/class_4425;field_26517:Lnet/minecraft/class_2561;
official E
Lfkj;E:Lxv;
-
EXPIRES_IN_LESS_THAN_A_DAY_TEXT
- Mappings:
Namespace Name Mixin selector 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;
intermediary field_26518
Lnet/minecraft/class_4425;field_26518:Lnet/minecraft/class_2561;
official F
Lfkj;F:Lxv;
-
UNKNOWN_TEXT
- Mappings:
Namespace Name Mixin selector named UNKNOWN_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;UNKNOWN_TEXT:Lnet/minecraft/text/Text;
intermediary field_34033
Lnet/minecraft/class_4425;field_34033:Lnet/minecraft/class_2561;
official G
Lfkj;G:Lxv;
-
RECURRING_INFO_TEXT
- Mappings:
Namespace Name Mixin selector named RECURRING_INFO_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;RECURRING_INFO_TEXT:Lnet/minecraft/text/Text;
intermediary field_43152
Lnet/minecraft/class_4425;field_43152:Lnet/minecraft/class_2561;
official H
Lfkj;H:Lxv;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_20147
Lnet/minecraft/class_4425;field_20147:Lnet/minecraft/class_437;
official I
Lfkj;I:Lftx;
-
serverData
- Mappings:
Namespace Name Mixin selector named serverData
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
intermediary field_20148
Lnet/minecraft/class_4425;field_20148:Lnet/minecraft/class_4877;
official J
Lfkj;J:Lfii;
-
mainScreen
- Mappings:
Namespace Name Mixin selector named mainScreen
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;mainScreen:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_20149
Lnet/minecraft/class_4425;field_20149:Lnet/minecraft/class_437;
official K
Lfkj;K:Lftx;
-
daysLeft
- Mappings:
Namespace Name Mixin selector named daysLeft
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;daysLeft:Lnet/minecraft/text/Text;
intermediary field_20157
Lnet/minecraft/class_4425;field_20157:Lnet/minecraft/class_2561;
official L
Lfkj;L:Lxv;
-
startDate
- Mappings:
Namespace Name Mixin selector named startDate
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;startDate:Lnet/minecraft/text/Text;
intermediary field_20158
Lnet/minecraft/class_4425;field_20158:Lnet/minecraft/class_2561;
official M
Lfkj;M:Lxv;
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;type:Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;
intermediary field_20159
Lnet/minecraft/class_4425;field_20159:Lnet/minecraft/class_4887$class_4322;
official N
Lfkj;N:Lfiu$a;
-
-
Constructor Details
-
RealmsSubscriptionInfoScreen
- Mappings:
Namespace Name Mixin selector 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
intermediary <init>
Lnet/minecraft/class_4425;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Lnet/minecraft/class_437;)V
official <init>
Lfkj;<init>(Lftx;Lfii;Lftx;)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 named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
official i
Lftx;i()Lxv;
-
onDeletionConfirmed
private void onDeletionConfirmed()- Mappings:
Namespace Name Mixin selector named onDeletionConfirmed
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;onDeletionConfirmed()V
intermediary method_25271
Lnet/minecraft/class_4425;method_25271()V
official E
Lfkj;E()V
-
getSubscription
private void getSubscription(long worldId) - Mappings:
Namespace Name Mixin selector named getSubscription
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;getSubscription(J)V
intermediary method_21500
Lnet/minecraft/class_4425;method_21500(J)V
official a
Lfkj;a(J)V
-
localPresentation
- Mappings:
Namespace Name Mixin selector named localPresentation
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;localPresentation(J)Lnet/minecraft/text/Text;
intermediary method_21502
Lnet/minecraft/class_4425;method_21502(J)Lnet/minecraft/class_2561;
official b
Lfkj;b(J)Lxv;
-
close
public void close() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfpi;a(Lfnr;IIF)V
-
daysLeftPresentation
- Mappings:
Namespace Name Mixin selector named daysLeftPresentation
Lnet/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen;daysLeftPresentation(I)Lnet/minecraft/text/Text;
intermediary method_21499
Lnet/minecraft/class_4425;method_21499(I)Lnet/minecraft/class_2561;
official a
Lfkj;a(I)Lxv;
-