Class SelectWorldScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.SelectWorldScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/SelectWorldScreenintermediary net/minecraft/class_526official gvp
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GeneratorOptionsprivate @Nullable ButtonWidgetprivate @Nullable ButtonWidgetprivate final ThreePartsLayoutWidgetprivate @Nullable WorldListWidgetprivate static final Loggerprotected final Screenprivate @Nullable ButtonWidgetprotected @Nullable TextFieldWidgetprivate @Nullable ButtonWidgetFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddButtons(Consumer<WorldListWidget.WorldEntry> playAction, WorldListWidget levelList) voidclose()private ButtonWidgetprotected voidinit()Called when a screen should be initialized.protected voidvoidremoved()protected voidThis should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.voidworldSelected(@Nullable LevelSummary levelSummary) 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, handleOpenUri, handleRunCommand, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, 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
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/gui/screen/world/SelectWorldScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_28783Lnet/minecraft/class_526;field_28783:Lorg/slf4j/Logger;official dLgvp;d:Lorg/slf4j/Logger;
-
DEBUG_GENERATOR_OPTIONS
- Mappings:
Namespace Name Mixin selector named DEBUG_GENERATOR_OPTIONSLnet/minecraft/client/gui/screen/world/SelectWorldScreen;DEBUG_GENERATOR_OPTIONS:Lnet/minecraft/world/gen/GeneratorOptions;intermediary field_40457Lnet/minecraft/class_526;field_40457:Lnet/minecraft/class_5285;official aLgvp;a:Leti;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/world/SelectWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_3221Lnet/minecraft/class_526;field_3221:Lnet/minecraft/class_437;official bLgvp;b:Lgpn;
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/gui/screen/world/SelectWorldScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_62187Lnet/minecraft/class_526;field_62187:Lnet/minecraft/class_8132;official eLgvp;e:Lgmg;
-
deleteButton
- Mappings:
Namespace Name Mixin selector named deleteButtonLnet/minecraft/client/gui/screen/world/SelectWorldScreen;deleteButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_3219Lnet/minecraft/class_526;field_3219:Lnet/minecraft/class_4185;official fLgvp;f:Lggq;
-
selectButton
- Mappings:
Namespace Name Mixin selector named selectButtonLnet/minecraft/client/gui/screen/world/SelectWorldScreen;selectButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_3224Lnet/minecraft/class_526;field_3224:Lnet/minecraft/class_4185;official tLgvp;t:Lggq;
-
editButton
- Mappings:
Namespace Name Mixin selector named editButtonLnet/minecraft/client/gui/screen/world/SelectWorldScreen;editButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_3215Lnet/minecraft/class_526;field_3215:Lnet/minecraft/class_4185;official uLgvp;u:Lggq;
-
recreateButton
- Mappings:
Namespace Name Mixin selector named recreateButtonLnet/minecraft/client/gui/screen/world/SelectWorldScreen;recreateButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_3216Lnet/minecraft/class_526;field_3216:Lnet/minecraft/class_4185;official vLgvp;v:Lggq;
-
searchBox
- Mappings:
Namespace Name Mixin selector named searchBoxLnet/minecraft/client/gui/screen/world/SelectWorldScreen;searchBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_3220Lnet/minecraft/class_526;field_3220:Lnet/minecraft/class_342;official cLgvp;c:Lggz;
-
levelList
- Mappings:
Namespace Name Mixin selector named levelListLnet/minecraft/client/gui/screen/world/SelectWorldScreen;levelList:Lnet/minecraft/client/gui/screen/world/WorldListWidget;intermediary field_3218Lnet/minecraft/class_526;field_3218:Lnet/minecraft/class_528;official wLgvp;w:Lgvv;
-
-
Constructor Details
-
SelectWorldScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)Vintermediary <init>Lnet/minecraft/class_526;<init>(Lnet/minecraft/class_437;)Vofficial <init>Lgvp;<init>(Lgpn;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
addButtons
- Mappings:
Namespace Name Mixin selector named addButtonsLnet/minecraft/client/gui/screen/world/SelectWorldScreen;addButtons(Ljava/util/function/Consumer;Lnet/minecraft/client/gui/screen/world/WorldListWidget;)Vintermediary method_74221Lnet/minecraft/class_526;method_74221(Ljava/util/function/Consumer;Lnet/minecraft/class_528;)Vofficial aLgvp;a(Ljava/util/function/Consumer;Lgvv;)V
-
createDebugRecreateButton
- Mappings:
Namespace Name Mixin selector named createDebugRecreateButtonLnet/minecraft/client/gui/screen/world/SelectWorldScreen;createDebugRecreateButton()Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary method_73450Lnet/minecraft/class_526;method_73450()Lnet/minecraft/class_4185;official oLgvp;o()Lggq;
-
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 cLgpn;c()V
-
setInitialFocus
protected void setInitialFocus()This should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.- Overrides:
setInitialFocusin classScreen- Mappings:
Namespace Name Mixin selector named setInitialFocusLnet/minecraft/client/gui/screen/Screen;setInitialFocus()Vintermediary method_56131Lnet/minecraft/class_437;method_56131()Vofficial aI_Lgpn;aI_()V
-
close
public void close() -
worldSelected
- Mappings:
Namespace Name Mixin selector named worldSelectedLnet/minecraft/client/gui/screen/world/SelectWorldScreen;worldSelected(Lnet/minecraft/world/level/storage/LevelSummary;)Vintermediary method_19940Lnet/minecraft/class_526;method_19940(Lnet/minecraft/class_34;)Vofficial aLgvp;a(Lfld;)V
-
removed
public void removed()
-