Class RealmsRegionPreferenceScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.realms.gui.screen.RealmsRegionPreferenceScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreenintermediary net/minecraft/class_11316official fya
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Map<RealmsRegion, ServiceQuality> (package private) RealmsSettingsTab.Regionprivate @Nullable ButtonWidgetprivate static final intprivate final ThreePartsLayoutWidgetprivate final BiConsumer<RegionSelectionMethod, RealmsRegion> private final Screenprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
ConstructorsConstructorDescriptionRealmsRegionPreferenceScreen(Screen parent, BiConsumer<RegionSelectionMethod, RealmsRegion> onRegionChanged, Map<RealmsRegion, ServiceQuality> availableRegions, RealmsSettingsTab.Region textSupplier) -
Method Summary
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, deferSubtitles, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, tick, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
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.Element
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_60253Lnet/minecraft/class_11316;field_60253:Lnet/minecraft/class_2561;official aLfya;a:Lxx;
-
field_60254
private static final int field_60254- See Also:
- Mappings:
Namespace Name Mixin selector named field_60254Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;field_60254:Iintermediary field_60254Lnet/minecraft/class_11316;field_60254:Iofficial bLfya;b:I
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_60255Lnet/minecraft/class_11316;field_60255:Lnet/minecraft/class_8132;official cLfya;c:Lgjc;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_60256Lnet/minecraft/class_11316;field_60256:Lnet/minecraft/class_437;official dLfya;d:Lgmj;
-
onRegionChanged
- Mappings:
Namespace Name Mixin selector named onRegionChangedLnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;onRegionChanged:Ljava/util/function/BiConsumer;intermediary field_60257Lnet/minecraft/class_11316;field_60257:Ljava/util/function/BiConsumer;official eLfya;e:Ljava/util/function/BiConsumer;
-
availableRegions
- Mappings:
Namespace Name Mixin selector named availableRegionsLnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;availableRegions:Ljava/util/Map;intermediary field_60258Lnet/minecraft/class_11316;field_60258:Ljava/util/Map;official fLfya;f:Ljava/util/Map;
-
regionList
- Mappings:
Namespace Name Mixin selector named regionListLnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;regionList:Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen$RegionListWidget;intermediary field_60259Lnet/minecraft/class_11316;field_60259:Lnet/minecraft/class_11316$class_11317;official tLfya;t:Lfya$a;
-
currentRegion
RealmsSettingsTab.Region currentRegion- Mappings:
Namespace Name Mixin selector named currentRegionLnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;currentRegion:Lnet/minecraft/client/realms/gui/screen/tab/RealmsSettingsTab$Region;intermediary field_60260Lnet/minecraft/class_11316;field_60260:Lnet/minecraft/class_11319$class_11320;official uLfya;u:Lfyb$a;
-
doneButton
- Mappings:
Namespace Name Mixin selector named doneButtonLnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_60261Lnet/minecraft/class_11316;field_60261:Lnet/minecraft/class_4185;official vLfya;v:Lgdp;
-
-
Constructor Details
-
RealmsRegionPreferenceScreen
public RealmsRegionPreferenceScreen(Screen parent, BiConsumer<RegionSelectionMethod, RealmsRegion> onRegionChanged, Map<RealmsRegion, ServiceQuality> availableRegions, RealmsSettingsTab.Region textSupplier) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Ljava/util/function/BiConsumer;Ljava/util/Map;Lnet/minecraft/client/realms/gui/screen/tab/RealmsSettingsTab$Region;)Vintermediary <init>Lnet/minecraft/class_11316;<init>(Lnet/minecraft/class_437;Ljava/util/function/BiConsumer;Ljava/util/Map;Lnet/minecraft/class_11319$class_11320;)Vofficial <init>Lfya;<init>(Lgmj;Ljava/util/function/BiConsumer;Ljava/util/Map;Lfyb$a;)V
-
-
Method Details
-
close
public void close() -
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLgmj;c()V
-
refreshDoneButton
void refreshDoneButton()- Mappings:
Namespace Name Mixin selector named refreshDoneButtonLnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;refreshDoneButton()Vintermediary method_71227Lnet/minecraft/class_11316;method_71227()Vofficial oLfya;o()V
-