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 official fguintermediary net/minecraft/class_524named 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 static final Textprivate static final Textprivate final BooleanConsumerprivate static final Textprivate static final Textprivate static final Textprivate static final intprivate static final intprivate static final intprivate final DirectionalLayoutWidgetprivate static final Loggerprivate static final Textprivate static final Textprivate static final Textprivate static final Textprivate final LevelStorage.SessionFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEditWorldScreen(MinecraftClient client, LevelStorage.Session session, String levelName, BooleanConsumer callback) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbackupLevel(LevelStorage.Session storageSession) voidclose()private voidstatic EditWorldScreencreate(MinecraftClient client, LevelStorage.Session session, BooleanConsumer callback) protected voidinit()Called when a screen should be initialized.protected voidvoidrender(DrawContext context, int mouseX, int mouseY, float delta) 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, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, 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 official aLfgu;a:Lorg/slf4j/Logger;intermediary field_23776Lnet/minecraft/class_524;field_23776:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/world/EditWorldScreen;LOGGER:Lorg/slf4j/Logger;
-
ENTER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official bLfgu;b:Lvb;intermediary field_26603Lnet/minecraft/class_524;field_26603:Lnet/minecraft/class_2561;named ENTER_NAME_TEXTLnet/minecraft/client/gui/screen/world/EditWorldScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;
-
RESET_ICON_TEXT
- Mappings:
Namespace Name Mixin selector official cLfgu;c:Lvb;intermediary field_46885Lnet/minecraft/class_524;field_46885:Lnet/minecraft/class_2561;named RESET_ICON_TEXTLnet/minecraft/client/gui/screen/world/EditWorldScreen;RESET_ICON_TEXT:Lnet/minecraft/text/Text;
-
OPEN_FOLDER_TEXT
- Mappings:
Namespace Name Mixin selector official kLfgu;k:Lvb;intermediary field_46886Lnet/minecraft/class_524;field_46886:Lnet/minecraft/class_2561;named OPEN_FOLDER_TEXTLnet/minecraft/client/gui/screen/world/EditWorldScreen;OPEN_FOLDER_TEXT:Lnet/minecraft/text/Text;
-
BACKUP_TEXT
- Mappings:
Namespace Name Mixin selector official lLfgu;l:Lvb;intermediary field_46887Lnet/minecraft/class_524;field_46887:Lnet/minecraft/class_2561;named BACKUP_TEXTLnet/minecraft/client/gui/screen/world/EditWorldScreen;BACKUP_TEXT:Lnet/minecraft/text/Text;
-
BACKUP_FOLDER_TEXT
- Mappings:
Namespace Name Mixin selector official mLfgu;m:Lvb;intermediary field_46888Lnet/minecraft/class_524;field_46888:Lnet/minecraft/class_2561;named BACKUP_FOLDER_TEXTLnet/minecraft/client/gui/screen/world/EditWorldScreen;BACKUP_FOLDER_TEXT:Lnet/minecraft/text/Text;
-
OPTIMIZE_TEXT
- Mappings:
Namespace Name Mixin selector official nLfgu;n:Lvb;intermediary field_46889Lnet/minecraft/class_524;field_46889:Lnet/minecraft/class_2561;named OPTIMIZE_TEXTLnet/minecraft/client/gui/screen/world/EditWorldScreen;OPTIMIZE_TEXT:Lnet/minecraft/text/Text;
-
CONFIRM_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official oLfgu;o:Lvb;intermediary field_46890Lnet/minecraft/class_524;field_46890:Lnet/minecraft/class_2561;named CONFIRM_TITLE_TEXTLnet/minecraft/client/gui/screen/world/EditWorldScreen;CONFIRM_TITLE_TEXT:Lnet/minecraft/text/Text;
-
CONFIRM_DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector official pLfgu;p:Lvb;intermediary field_46891Lnet/minecraft/class_524;field_46891:Lnet/minecraft/class_2561;named CONFIRM_DESCRIPTION_TEXTLnet/minecraft/client/gui/screen/world/EditWorldScreen;CONFIRM_DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
-
SAVE_TEXT
- Mappings:
Namespace Name Mixin selector official qLfgu;q:Lvb;intermediary field_46892Lnet/minecraft/class_524;field_46892:Lnet/minecraft/class_2561;named SAVE_TEXTLnet/minecraft/client/gui/screen/world/EditWorldScreen;SAVE_TEXT:Lnet/minecraft/text/Text;
-
field_46893
private static final int field_46893- See Also:
- Mappings:
Namespace Name Mixin selector official rLfgu;r:Iintermediary field_46893Lnet/minecraft/class_524;field_46893:Inamed field_46893Lnet/minecraft/client/gui/screen/world/EditWorldScreen;field_46893:I
-
field_46894
private static final int field_46894- See Also:
- Mappings:
Namespace Name Mixin selector official tLfgu;t:Iintermediary field_46894Lnet/minecraft/class_524;field_46894:Inamed field_46894Lnet/minecraft/client/gui/screen/world/EditWorldScreen;field_46894:I
-
field_46895
private static final int field_46895- See Also:
- Mappings:
Namespace Name Mixin selector official uLfgu;u:Iintermediary field_46895Lnet/minecraft/class_524;field_46895:Inamed field_46895Lnet/minecraft/client/gui/screen/world/EditWorldScreen;field_46895:I
-
layout
- Mappings:
Namespace Name Mixin selector official vLfgu;v:Lezv;intermediary field_46896Lnet/minecraft/class_524;field_46896:Lnet/minecraft/class_8667;named layoutLnet/minecraft/client/gui/screen/world/EditWorldScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
-
callback
- Mappings:
Namespace Name Mixin selector official wLfgu;w:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_3169Lnet/minecraft/class_524;field_3169:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;named callbackLnet/minecraft/client/gui/screen/world/EditWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
storageSession
- Mappings:
Namespace Name Mixin selector official xLfgu;x:Lefu$c;intermediary field_23777Lnet/minecraft/class_524;field_23777:Lnet/minecraft/class_32$class_5143;named storageSessionLnet/minecraft/client/gui/screen/world/EditWorldScreen;storageSession:Lnet/minecraft/world/level/storage/LevelStorage$Session;
-
-
Constructor Details
-
EditWorldScreen
private EditWorldScreen(MinecraftClient client, LevelStorage.Session session, String levelName, BooleanConsumer callback) - Mappings:
Namespace Name Mixin selector official <init>Lfgu;<init>(Leuk;Lefu$c;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Vintermediary <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;)Vnamed <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
-
-
Method Details
-
create
public static EditWorldScreen create(MinecraftClient client, LevelStorage.Session session, BooleanConsumer callback) throws IOException - Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLfgu;a(Leuk;Lefu$c;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Lfgu;intermediary method_54599Lnet/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;named createLnet/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;
-
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. -
close
public void close() -
commit
- Mappings:
Namespace Name Mixin selector official aLfgu;a(Ljava/lang/String;)Vintermediary method_2691Lnet/minecraft/class_524;method_2691(Ljava/lang/String;)Vnamed commitLnet/minecraft/client/gui/screen/world/EditWorldScreen;commit(Ljava/lang/String;)V
-
backupLevel
- Mappings:
Namespace Name Mixin selector official aLfgu;a(Lefu$c;)Zintermediary method_2701Lnet/minecraft/class_524;method_2701(Lnet/minecraft/class_32$class_5143;)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 official aLexk;a(Levw;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-