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 Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
private final Screen
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static List<ResourceLocation>
private int
private int
private static final Component
private Button
private static final WidgetSprites
private static final int
private static final int
private static final int
private static final int
private static final Component
private static final int
private static final ResourceLocation
private final boolean
private static final int
Fields inherited from class net.minecraft.realms.RealmsScreen
COLOR_BRIGHT_YELLOW, COLOR_DARK_GRAY, COLOR_GREEN, COLOR_INFO, COLOR_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, COLOR_RED_FADE, COLOR_YELLOW, EXPIRATION_NOTIFICATION_DAYS, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHT
Fields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
bottom()
protected void
init()
private int
left()
void
onClose()
void
render
(GuiGraphics p_299956_, int p_297292_, int p_300990_, float p_300510_) void
renderBackground
(GuiGraphics p_297997_, int p_300562_, int p_297822_, float p_297261_) static void
renderDiamond
(GuiGraphics p_299842_, Button p_300723_) private int
right()
void
tick()
private int
top()
static void
updateCarouselImages
(ResourceManager p_300048_) Methods inherited from class net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, row
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, 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, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
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.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
POPUP_TEXT
-
CLOSE_TEXT
-
BACKGROUND_SPRITE
-
TRIAL_AVAILABLE_SPRITE
-
CROSS_BUTTON_SPRITES
-
BG_TEXTURE_WIDTH
private static final int BG_TEXTURE_WIDTH- See Also:
-
BG_TEXTURE_HEIGHT
private static final int BG_TEXTURE_HEIGHT- See Also:
-
BG_BORDER_SIZE
private static final int BG_BORDER_SIZE- See Also:
-
IMAGE_WIDTH
private static final int IMAGE_WIDTH- See Also:
-
IMAGE_HEIGHT
private static final int IMAGE_HEIGHT- See Also:
-
BUTTON_SPACING
private static final int BUTTON_SPACING- See Also:
-
PADDING
private static final int PADDING- See Also:
-
WIDTH
private static final int WIDTH- See Also:
-
HEIGHT
private static final int HEIGHT- See Also:
-
TEXT_WIDTH
private static final int TEXT_WIDTH- See Also:
-
BUTTON_WIDTH
private static final int BUTTON_WIDTH- See Also:
-
CAROUSEL_SWITCH_INTERVAL
private static final int CAROUSEL_SWITCH_INTERVAL- See Also:
-
carouselImages
-
backgroundScreen
-
trialAvailable
private final boolean trialAvailable -
createTrialButton
-
carouselIndex
private int carouselIndex -
carouselTick
private int carouselTick
-
-
Constructor Details
-
RealmsPopupScreen
-
-
Method Details
-
updateCarouselImages
-
init
protected void init() -
tick
public void tick() -
render
- Specified by:
render
in interfaceRenderable
- Overrides:
render
in classScreen
-
renderDiamond
-
renderBackground
- Overrides:
renderBackground
in classScreen
-
left
private int left() -
top
private int top() -
right
private int right() -
bottom
private int bottom() -
onClose
public void onClose()
-