Class EditWorldScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.EditWorldScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name intermediary net/minecraft/class_524official eyrnamed net/minecraft/client/gui/screen/world/EditWorldScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BooleanConsumerprivate static final Textprivate TextFieldWidgetprivate static final Loggerprivate ButtonWidgetprivate final LevelStorage.SessionFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionEditWorldScreen(BooleanConsumer callback, LevelStorage.Session storageSession) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbackupLevel(LevelStorage.Session storageSession) voidclose()private voidcommit()protected voidinit()Called when a screen should be initialized.static voidonBackupConfirm(LevelStorage storage, String levelName) voidrender(DrawContext context, int mouseX, int mouseY, float delta) voidresize(MinecraftClient client, int width, int height) voidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderWithTooltip, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector intermediary field_23776Lnet/minecraft/class_524;field_23776:Lorg/slf4j/Logger;official aLeyr;a:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/world/EditWorldScreen;LOGGER:Lorg/slf4j/Logger;
-
ENTER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector intermediary field_26603Lnet/minecraft/class_524;field_26603:Lnet/minecraft/class_2561;official bLeyr;b:Lsw;named ENTER_NAME_TEXTLnet/minecraft/client/gui/screen/world/EditWorldScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;
-
saveButton
- Mappings:
Namespace Name Mixin selector intermediary field_3168Lnet/minecraft/class_524;field_3168:Lnet/minecraft/class_4185;official cLeyr;c:Lepa;named saveButtonLnet/minecraft/client/gui/screen/world/EditWorldScreen;saveButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
callback
- Mappings:
Namespace Name Mixin selector intermediary field_3169Lnet/minecraft/class_524;field_3169:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;official jLeyr;j:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;named callbackLnet/minecraft/client/gui/screen/world/EditWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
levelNameTextField
- Mappings:
Namespace Name Mixin selector intermediary field_3170Lnet/minecraft/class_524;field_3170:Lnet/minecraft/class_342;official kLeyr;k:Lepj;named levelNameTextFieldLnet/minecraft/client/gui/screen/world/EditWorldScreen;levelNameTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
storageSession
- Mappings:
Namespace Name Mixin selector intermediary field_23777Lnet/minecraft/class_524;field_23777:Lnet/minecraft/class_32$class_5143;official lLeyr;l:Ldyv$c;named storageSessionLnet/minecraft/client/gui/screen/world/EditWorldScreen;storageSession:Lnet/minecraft/world/level/storage/LevelStorage$Session;
-
-
Constructor Details
-
EditWorldScreen
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_524;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_32$class_5143;)Vofficial <init>Leyr;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ldyv$c;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/EditWorldScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/world/level/storage/LevelStorage$Session;)V
-
-
Method Details
-
tick
public void tick() -
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused. -
resize
-
close
public void close() -
commit
private void commit()- Mappings:
Namespace Name Mixin selector intermediary method_2691Lnet/minecraft/class_524;method_2691()Vofficial lLeyr;l()Vnamed commitLnet/minecraft/client/gui/screen/world/EditWorldScreen;commit()V
-
onBackupConfirm
- Mappings:
Namespace Name Mixin selector intermediary method_29784Lnet/minecraft/class_524;method_29784(Lnet/minecraft/class_32;Ljava/lang/String;)Vofficial aLeyr;a(Ldyv;Ljava/lang/String;)Vnamed onBackupConfirmLnet/minecraft/client/gui/screen/world/EditWorldScreen;onBackupConfirm(Lnet/minecraft/world/level/storage/LevelStorage;Ljava/lang/String;)V
-
backupLevel
- Mappings:
Namespace Name Mixin selector intermediary method_2701Lnet/minecraft/class_524;method_2701(Lnet/minecraft/class_32$class_5143;)Zofficial aLeyr;a(Ldyv$c;)Znamed backupLevelLnet/minecraft/client/gui/screen/world/EditWorldScreen;backupLevel(Lnet/minecraft/world/level/storage/LevelStorage$Session;)Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector intermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLepy;a(Leop;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-