Class RealmsPdpScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.realms.RealmsScreen
com.mojang.realmsclient.gui.screens.RealmsPdpScreen
- All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate classprivate classprivate classNested classes/interfaces inherited from class Screen
Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable DataFetcher.Subscriptionprivate static final Componentprivate static final Identifierprivate static final Componentprivate final RealmsHeaderprivate static final intprivate static final intprivate static final intprivate static final intprivate final Screenprivate final HeaderAndFooterLayoutprivate static final Componentprivate static final Identifierprivate static final Componentprivate @Nullable RealmsPdpScreen.PdpListprivate static final Componentprivate static final Componentprivate static final Identifierprivate static final Componentprivate static final Componentprivate static final Componentprivate booleanprivate booleanprivate static final intprivate static final intprivate static final intprivate static final Componentprivate static final Identifierprivate static final Componentprivate static final Componentprivate booleanprivate static final ComponentFields inherited from class RealmsScreen
COLOR_DARK_GRAY, COLOR_GREEN, COLOR_LINK, COLOR_LINK_HOVER, EXPIRATION_NOTIFICATION_DAYS, HARDCORE_HEART_SIZE, LOGO_HEIGHT, LOGO_LOCATION, LOGO_TEXTURE_HEIGHT, LOGO_TEXTURE_WIDTH, LOGO_WIDTH, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHTFields inherited from class Screen
FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, renderables, screenExecutor, title, width -
Constructor Summary
ConstructorsConstructorDescriptionRealmsPdpScreen(Screen lastScreen, boolean trialAvailable, Runnable openJoinRealmScreen) RealmsPdpScreen(Screen lastScreen, boolean trialAvailable, Runnable openJoinRealmScreen, @Nullable Runnable openRealmsScreenWhenAvailable) -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()private DataFetcher.SubscriptioninitDataFetcher(RealmsDataFetcher dataSource) voidonClose()protected voidvoidtick()Methods inherited from class RealmsScreen
realmsLogo, rowMethods inherited from class Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, canInterruptWithAnotherScreen, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, extractBackground, extractBlurredBackground, extractMenuBackground, extractMenuBackground, extractMenuBackgroundTexture, extractPanorama, extractRenderState, extractRenderStateWithTooltipAndSubtitles, extractTransparentBackground, fadeWidgets, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleDelayedNarration, init, insertText, isAllowedInPortal, isInGameUi, isInputCaptured, isMouseOver, isPauseScreen, isValidCharacterForName, keyPressed, onFilesDrop, rebuildWidgets, removed, removeWidget, resize, scheduleNarration, setInitialFocus, setInitialFocus, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatusMethods inherited from class AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, preeditUpdated, setFocusedMethods inherited from interface GuiEventListener
capturesInput, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
TITLE
-
TRY_FOR_FREE
-
TRIAL_TITLE
-
TRIAL_DESCRIPTION
-
FRIENDS_TITLE
-
FRIENDS_DESCRIPTION
-
MINIGAMES_TITLE
-
MINIGAMES_DESCRIPTION
-
PRIVATE_SERVER_TITLE
-
PRIVATE_SERVER_BACKUPS
-
PRIVATE_SERVER_EASY_TO_MANAGE
-
PRIVATE_SERVER_WORLD_SLOTS
-
PRIVATE_SERVER_SECURE
-
FRIENDS_IMAGE
-
MINIGAMES_IMAGE
-
PRIVATE_SERVER_IMAGE
-
TRIAL_AVAILABLE_SPRITE
-
HEADER_HEIGHT
private static final int HEADER_HEIGHT- See Also:
-
ROW_WIDTH
private static final int ROW_WIDTH- See Also:
-
IMAGE_WIDTH
private static final int IMAGE_WIDTH- See Also:
-
IMAGE_HEIGHT
private static final int IMAGE_HEIGHT- See Also:
-
SPACING
private static final int SPACING- See Also:
-
TEXT_WIDTH
private static final int TEXT_WIDTH- See Also:
-
HEADER_BUTTON_SPACING
private static final int HEADER_BUTTON_SPACING- See Also:
-
lastScreen
-
trialAvailable
private boolean trialAvailable -
layout
-
header
-
openRealmsScreenWhenAvailable
-
pdpList
-
dataSubscription
-
realmsAvailable
private boolean realmsAvailable -
redirectedToRealms
private boolean redirectedToRealms
-
-
Constructor Details
-
RealmsPdpScreen
-
RealmsPdpScreen
-
-
Method Details
-
init
-
tick
-
initDataFetcher
-
repositionElements
protected void repositionElements()- Overrides:
repositionElementsin classScreen
-
onClose
-