Class AddRealmPopupScreen
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.AddRealmPopupScreen
- 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
FieldsModifier 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.RealmsScreen
COLOR_DARK_GRAY, COLOR_GREEN, 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.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intbottom()protected voidinit()private intleft()voidonClose()voidrender(GuiGraphics p_345725_, int p_345936_, int p_345896_, float p_345975_) Neo: mixins targeting this method won't fire for container screens asAbstractContainerScreen.render(net.minecraft.client.gui.GuiGraphics, int, int, float)replicates this method in place of a super call to insert an eventvoidrenderBackground(GuiGraphics p_346027_, int p_345796_, int p_345649_, float p_345603_) static voidrenderDiamond(GuiGraphics p_344936_, Button p_345090_) private intright()voidtick()private inttop()static voidupdateCarouselImages(ResourceManager p_346428_) Methods inherited from class net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, rowMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods 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
-
AddRealmPopupScreen
-
-
Method Details
-
updateCarouselImages
-
init
protected void init() -
tick
public void tick() -
render
Description copied from class:ScreenNeo: mixins targeting this method won't fire for container screens asAbstractContainerScreen.render(net.minecraft.client.gui.GuiGraphics, int, int, float)replicates this method in place of a super call to insert an event- Specified by:
renderin interfaceRenderable- Overrides:
renderin classScreen
-
renderDiamond
-
renderBackground
- Overrides:
renderBackgroundin classScreen
-
left
private int left() -
top
private int top() -
right
private int right() -
bottom
private int bottom() -
onClose
public void onClose()
-