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/SelectWorldScreen
intermediary net/minecraft/class_526
official fze
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionstatic final GeneratorOptions
private ButtonWidget
private ButtonWidget
private WorldListWidget
private static final Logger
protected final Screen
private ButtonWidget
protected TextFieldWidget
private ButtonWidget
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
init()
Called when a screen should be initialized.void
removed()
void
render
(DrawContext context, int mouseX, int mouseY, float delta) protected void
This should be overridden with a call toScreen.setInitialFocus(Element)
to set the element that is initially focused.void
worldSelected
(@Nullable LevelSummary levelSummary) Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, refreshWidgetPositions, remove, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, 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
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
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;LOGGER:Lorg/slf4j/Logger;
intermediary field_28783
Lnet/minecraft/class_526;field_28783:Lorg/slf4j/Logger;
official d
Lfze;d:Lorg/slf4j/Logger;
-
DEBUG_GENERATOR_OPTIONS
- Mappings:
Namespace Name Mixin selector named DEBUG_GENERATOR_OPTIONS
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;DEBUG_GENERATOR_OPTIONS:Lnet/minecraft/world/gen/GeneratorOptions;
intermediary field_40457
Lnet/minecraft/class_526;field_40457:Lnet/minecraft/class_5285;
official a
Lfze;a:Leen;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_3221
Lnet/minecraft/class_526;field_3221:Lnet/minecraft/class_437;
official b
Lfze;b:Lftx;
-
deleteButton
- Mappings:
Namespace Name Mixin selector named deleteButton
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;deleteButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_3219
Lnet/minecraft/class_526;field_3219:Lnet/minecraft/class_4185;
official s
Lfze;s:Lfoe;
-
selectButton
- Mappings:
Namespace Name Mixin selector named selectButton
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;selectButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_3224
Lnet/minecraft/class_526;field_3224:Lnet/minecraft/class_4185;
official u
Lfze;u:Lfoe;
-
editButton
- Mappings:
Namespace Name Mixin selector named editButton
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;editButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_3215
Lnet/minecraft/class_526;field_3215:Lnet/minecraft/class_4185;
official v
Lfze;v:Lfoe;
-
recreateButton
- Mappings:
Namespace Name Mixin selector named recreateButton
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;recreateButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_3216
Lnet/minecraft/class_526;field_3216:Lnet/minecraft/class_4185;
official w
Lfze;w:Lfoe;
-
searchBox
- Mappings:
Namespace Name Mixin selector named searchBox
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;searchBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_3220
Lnet/minecraft/class_526;field_3220:Lnet/minecraft/class_342;
official c
Lfze;c:Lfon;
-
levelList
- Mappings:
Namespace Name Mixin selector named levelList
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;levelList:Lnet/minecraft/client/gui/screen/world/WorldListWidget;
intermediary field_3218
Lnet/minecraft/class_526;field_3218:Lnet/minecraft/class_528;
official x
Lfze;x:Lfzk;
-
-
Constructor Details
-
SelectWorldScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
intermediary <init>
Lnet/minecraft/class_526;<init>(Lnet/minecraft/class_437;)V
official <init>
Lfze;<init>(Lftx;)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.
-
setInitialFocus
protected void setInitialFocus()This should be overridden with a call toScreen.setInitialFocus(Element)
to set the element that is initially focused.- Overrides:
setInitialFocus
in classScreen
- Mappings:
Namespace Name Mixin selector named setInitialFocus
Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
intermediary method_56131
Lnet/minecraft/class_437;method_56131()V
official aG_
Lftx;aG_()V
-
close
public void close() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfpi;a(Lfnr;IIF)V
-
worldSelected
- Mappings:
Namespace Name Mixin selector named worldSelected
Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;worldSelected(Lnet/minecraft/world/level/storage/LevelSummary;)V
intermediary method_19940
Lnet/minecraft/class_526;method_19940(Lnet/minecraft/class_34;)V
official a
Lfze;a(Lewd;)V
-
removed
public void removed()
-