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 named net/minecraft/client/gui/screen/world/EditWorldScreen
intermediary net/minecraft/class_524
official frw
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private static final Text
private final BooleanConsumer
private static final Text
private static final Text
private static final Text
private static final int
private static final int
private static final int
private final DirectionalLayoutWidget
private static final Logger
private final TextFieldWidget
private static final Text
private static final Text
private static final Text
private static final Text
private final LevelStorage.Session
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, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ModifierConstructorDescriptionprivate
EditWorldScreen
(MinecraftClient client, LevelStorage.Session session, String levelName, BooleanConsumer callback) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
backupLevel
(LevelStorage.Session storageSession) void
close()
private void
static EditWorldScreen
create
(MinecraftClient client, LevelStorage.Session session, BooleanConsumer callback) protected void
init()
Called when a screen should be initialized.protected void
void
render
(DrawContext context, int mouseX, int mouseY, float delta) protected void
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getPanoramaTickDelta, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
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/EditWorldScreen;LOGGER:Lorg/slf4j/Logger;
intermediary field_23776
Lnet/minecraft/class_524;field_23776:Lorg/slf4j/Logger;
official a
Lfrw;a:Lorg/slf4j/Logger;
-
ENTER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector named ENTER_NAME_TEXT
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;
intermediary field_26603
Lnet/minecraft/class_524;field_26603:Lnet/minecraft/class_2561;
official b
Lfrw;b:Lxp;
-
RESET_ICON_TEXT
- Mappings:
Namespace Name Mixin selector named RESET_ICON_TEXT
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;RESET_ICON_TEXT:Lnet/minecraft/text/Text;
intermediary field_46885
Lnet/minecraft/class_524;field_46885:Lnet/minecraft/class_2561;
official c
Lfrw;c:Lxp;
-
OPEN_FOLDER_TEXT
- Mappings:
Namespace Name Mixin selector named OPEN_FOLDER_TEXT
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;OPEN_FOLDER_TEXT:Lnet/minecraft/text/Text;
intermediary field_46886
Lnet/minecraft/class_524;field_46886:Lnet/minecraft/class_2561;
official d
Lfrw;d:Lxp;
-
BACKUP_TEXT
- Mappings:
Namespace Name Mixin selector named BACKUP_TEXT
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;BACKUP_TEXT:Lnet/minecraft/text/Text;
intermediary field_46887
Lnet/minecraft/class_524;field_46887:Lnet/minecraft/class_2561;
official r
Lfrw;r:Lxp;
-
BACKUP_FOLDER_TEXT
- Mappings:
Namespace Name Mixin selector named BACKUP_FOLDER_TEXT
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;BACKUP_FOLDER_TEXT:Lnet/minecraft/text/Text;
intermediary field_46888
Lnet/minecraft/class_524;field_46888:Lnet/minecraft/class_2561;
official s
Lfrw;s:Lxp;
-
OPTIMIZE_TEXT
- Mappings:
Namespace Name Mixin selector named OPTIMIZE_TEXT
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;OPTIMIZE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46889
Lnet/minecraft/class_524;field_46889:Lnet/minecraft/class_2561;
official u
Lfrw;u:Lxp;
-
CONFIRM_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named CONFIRM_TITLE_TEXT
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;CONFIRM_TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46890
Lnet/minecraft/class_524;field_46890:Lnet/minecraft/class_2561;
official v
Lfrw;v:Lxp;
-
CONFIRM_DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector named CONFIRM_DESCRIPTION_TEXT
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;CONFIRM_DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
intermediary field_46891
Lnet/minecraft/class_524;field_46891:Lnet/minecraft/class_2561;
official w
Lfrw;w:Lxp;
-
SAVE_TEXT
- Mappings:
Namespace Name Mixin selector named SAVE_TEXT
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;SAVE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46892
Lnet/minecraft/class_524;field_46892:Lnet/minecraft/class_2561;
official x
Lfrw;x:Lxp;
-
field_46893
private static final int field_46893- See Also:
- Mappings:
Namespace Name Mixin selector named field_46893
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;field_46893:I
intermediary field_46893
Lnet/minecraft/class_524;field_46893:I
official y
Lfrw;y:I
-
field_46894
private static final int field_46894- See Also:
- Mappings:
Namespace Name Mixin selector named field_46894
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;field_46894:I
intermediary field_46894
Lnet/minecraft/class_524;field_46894:I
official z
Lfrw;z:I
-
field_46895
private static final int field_46895- See Also:
- Mappings:
Namespace Name Mixin selector named field_46895
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;field_46895:I
intermediary field_46895
Lnet/minecraft/class_524;field_46895:I
official A
Lfrw;A:I
-
layout
- Mappings:
Namespace Name Mixin selector named layout
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
intermediary field_46896
Lnet/minecraft/class_524;field_46896:Lnet/minecraft/class_8667;
official B
Lfrw;B:Lfkx;
-
callback
- Mappings:
Namespace Name Mixin selector named callback
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
intermediary field_3169
Lnet/minecraft/class_524;field_3169:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
official C
Lfrw;C:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
storageSession
- Mappings:
Namespace Name Mixin selector named storageSession
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;storageSession:Lnet/minecraft/world/level/storage/LevelStorage$Session;
intermediary field_23777
Lnet/minecraft/class_524;field_23777:Lnet/minecraft/class_32$class_5143;
official D
Lfrw;D:Lepy$c;
-
nameFieldWidget
- Mappings:
Namespace Name Mixin selector named nameFieldWidget
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;nameFieldWidget:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_48397
Lnet/minecraft/class_524;field_48397:Lnet/minecraft/class_342;
official E
Lfrw;E:Lfhp;
-
-
Constructor Details
-
EditWorldScreen
private EditWorldScreen(MinecraftClient client, LevelStorage.Session session, String levelName, BooleanConsumer callback) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/world/level/storage/LevelStorage$Session;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
intermediary <init>
Lnet/minecraft/class_524;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_32$class_5143;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
official <init>
Lfrw;<init>(Lffh;Lepy$c;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
-
-
Method Details
-
create
public static EditWorldScreen create(MinecraftClient client, LevelStorage.Session session, BooleanConsumer callback) throws IOException - Throws:
IOException
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;create(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Lnet/minecraft/client/gui/screen/world/EditWorldScreen;
intermediary method_54599
Lnet/minecraft/class_524;method_54599(Lnet/minecraft/class_310;Lnet/minecraft/class_32$class_5143;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Lnet/minecraft/class_524;
official a
Lfrw;a(Lffh;Lepy$c;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Lfrw;
-
setInitialFocus
protected void setInitialFocus()- 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 aB_
Lfnf;aB_()V
-
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
setInitialFocus()
to set the element that is initially focused. -
close
public void close() -
commit
- Mappings:
Namespace Name Mixin selector named commit
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;commit(Ljava/lang/String;)V
intermediary method_2691
Lnet/minecraft/class_524;method_2691(Ljava/lang/String;)V
official a
Lfrw;a(Ljava/lang/String;)V
-
backupLevel
- Mappings:
Namespace Name Mixin selector named backupLevel
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;backupLevel(Lnet/minecraft/world/level/storage/LevelStorage$Session;)Z
intermediary method_2701
Lnet/minecraft/class_524;method_2701(Lnet/minecraft/class_32$class_5143;)Z
official a
Lfrw;a(Lepy$c;)Z
-
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
Lfij;a(Lfgt;IIF)V
-