Class RealmsPopupScreen
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.RealmsPopupScreen
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final ResourceLocationprivate final Screenprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static List<ResourceLocation>private intprivate intprivate static final Componentprivate Buttonprivate static final WidgetSpritesprivate static final intprivate static final intprivate static final intprivate static final intprivate static final Componentprivate static final intprivate static final ResourceLocationprivate final booleanprivate static final intFields inherited from class net.minecraft.realms.RealmsScreenCOLOR_DARK_GRAY, COLOR_GREEN, COLOR_INFO, COLOR_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, EXPIRATION_NOTIFICATION_DAYS, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHTFields inherited from class net.minecraft.client.gui.screens.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate intbottom()protected voidinit()private intleft()voidonClose()voidrender(GuiGraphics p_294976_, int p_294100_, int p_295801_, float p_294631_) voidrenderBackground(GuiGraphics p_295978_, int p_295301_, int p_294316_, float p_294164_) static voidrenderDiamond(GuiGraphics p_296466_, Button p_295461_) private intright()voidtick()private inttop()static voidupdateCarouselImages(ResourceManager p_294323_) Methods inherited from class net.minecraft.realms.RealmsScreenaddLabel, createLabelNarration, rowMethods inherited from class net.minecraft.client.gui.screens.Screenadded, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onFilesDrop, rebuildWidgets, removed, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
POPUP_TEXT
- 
CLOSE_TEXT
- 
BACKGROUND_SPRITE
- 
TRIAL_AVAILABLE_SPRITE
- 
CROSS_BUTTON_SPRITES
- 
BG_TEXTURE_WIDTHprivate static final int BG_TEXTURE_WIDTH- See Also:
 
- 
BG_TEXTURE_HEIGHTprivate static final int BG_TEXTURE_HEIGHT- See Also:
 
- 
BG_BORDER_SIZEprivate static final int BG_BORDER_SIZE- See Also:
 
- 
IMAGE_WIDTHprivate static final int IMAGE_WIDTH- See Also:
 
- 
IMAGE_HEIGHTprivate static final int IMAGE_HEIGHT- See Also:
 
- 
BUTTON_SPACINGprivate static final int BUTTON_SPACING- See Also:
 
- 
PADDINGprivate static final int PADDING- See Also:
 
- 
WIDTHprivate static final int WIDTH- See Also:
 
- 
HEIGHTprivate static final int HEIGHT- See Also:
 
- 
TEXT_WIDTHprivate static final int TEXT_WIDTH- See Also:
 
- 
BUTTON_WIDTHprivate static final int BUTTON_WIDTH- See Also:
 
- 
CAROUSEL_SWITCH_INTERVALprivate static final int CAROUSEL_SWITCH_INTERVAL- See Also:
 
- 
carouselImages
- 
backgroundScreen
- 
trialAvailableprivate final boolean trialAvailable
- 
createTrialButton
- 
carouselIndexprivate int carouselIndex
- 
carouselTickprivate int carouselTick
 
- 
- 
Constructor Details- 
RealmsPopupScreen
 
- 
- 
Method Details- 
updateCarouselImages
- 
initprotected void init()
- 
tickpublic void tick()
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- Screen
 
- 
renderDiamond
- 
renderBackground- Overrides:
- renderBackgroundin class- Screen
 
- 
leftprivate int left()
- 
topprivate int top()
- 
rightprivate int right()
- 
bottomprivate int bottom()
- 
onClosepublic void onClose()
 
-