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/RealmsRegionPreferenceScreen
intermediary net/minecraft/class_11316
official fse
-
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.Region
private @Nullable ButtonWidget
private static final int
private final ThreePartsLayoutWidget
private final BiConsumer
<RegionSelectionMethod, RealmsRegion> private final Screen
private static final Text
Fields 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
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
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, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, tick, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
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.Element
getBorder, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods 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_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_60253
Lnet/minecraft/class_11316;field_60253:Lnet/minecraft/class_2561;
official a
Lfse;a:Lxo;
-
field_60254
private static final int field_60254- See Also:
- Mappings:
Namespace Name Mixin selector named field_60254
Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;field_60254:I
intermediary field_60254
Lnet/minecraft/class_11316;field_60254:I
official b
Lfse;b:I
-
layout
- Mappings:
Namespace Name Mixin selector named layout
Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
intermediary field_60255
Lnet/minecraft/class_11316;field_60255:Lnet/minecraft/class_8132;
official c
Lfse;c:Lgbj;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_60256
Lnet/minecraft/class_11316;field_60256:Lnet/minecraft/class_437;
official d
Lfse;d:Lges;
-
onRegionChanged
- Mappings:
Namespace Name Mixin selector named onRegionChanged
Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;onRegionChanged:Ljava/util/function/BiConsumer;
intermediary field_60257
Lnet/minecraft/class_11316;field_60257:Ljava/util/function/BiConsumer;
official e
Lfse;e:Ljava/util/function/BiConsumer;
-
availableRegions
- Mappings:
Namespace Name Mixin selector named availableRegions
Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;availableRegions:Ljava/util/Map;
intermediary field_60258
Lnet/minecraft/class_11316;field_60258:Ljava/util/Map;
official f
Lfse;f:Ljava/util/Map;
-
regionList
- Mappings:
Namespace Name Mixin selector named regionList
Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;regionList:Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen$RegionListWidget;
intermediary field_60259
Lnet/minecraft/class_11316;field_60259:Lnet/minecraft/class_11316$class_11317;
official u
Lfse;u:Lfse$a;
-
currentRegion
RealmsSettingsTab.Region currentRegion- Mappings:
Namespace Name Mixin selector named currentRegion
Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;currentRegion:Lnet/minecraft/client/realms/gui/screen/tab/RealmsSettingsTab$Region;
intermediary field_60260
Lnet/minecraft/class_11316;field_60260:Lnet/minecraft/class_11319$class_11320;
official v
Lfse;v:Lfsf$a;
-
doneButton
- Mappings:
Namespace Name Mixin selector named doneButton
Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_60261
Lnet/minecraft/class_11316;field_60261:Lnet/minecraft/class_4185;
official w
Lfse;w:Lfxn;
-
-
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;)V
intermediary <init>
Lnet/minecraft/class_11316;<init>(Lnet/minecraft/class_437;Ljava/util/function/BiConsumer;Ljava/util/Map;Lnet/minecraft/class_11319$class_11320;)V
official <init>
Lfse;<init>(Lges;Ljava/util/function/BiConsumer;Ljava/util/Map;Lfsf$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:
refreshWidgetPositions
in classScreen
- Mappings:
Namespace Name Mixin selector named refreshWidgetPositions
Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
intermediary method_48640
Lnet/minecraft/class_437;method_48640()V
official c
Lges;c()V
-
refreshDoneButton
void refreshDoneButton()- Mappings:
Namespace Name Mixin selector named refreshDoneButton
Lnet/minecraft/client/realms/gui/screen/RealmsRegionPreferenceScreen;refreshDoneButton()V
intermediary method_71227
Lnet/minecraft/class_11316;method_71227()V
official l
Lfse;l()V
-