Class EditWorldScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.EditWorldScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement
- Mappings:
Namespace Name official eegintermediary 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 final BooleanConsumerprivate static final Textprivate static final Gsonprivate TextFieldWidgetprivate static final Loggerprivate ButtonWidgetprivate final LevelStorage.SessionFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
ConstructorsConstructorDescriptionEditWorldScreen(BooleanConsumer callback, LevelStorage.Session storageSession) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbackupLevel(LevelStorage.Session storageSession) private voidcommit()protected voidinit()Called when a screen should be initialized.static voidonBackupConfirm(LevelStorage storage, String levelName) voidonClose()voidremoved()voidrender(MatrixStack matrices, 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, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, shouldCloseOnEsc, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLeeg;a:Lorg/apache/logging/log4j/Logger;intermediary field_23776Lnet/minecraft/class_524;field_23776:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/world/EditWorldScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official bLeeg;b:Lcom/google/gson/Gson;intermediary field_25481Lnet/minecraft/class_524;field_25481:Lcom/google/gson/Gson;named GSONLnet/minecraft/client/gui/screen/world/EditWorldScreen;GSON:Lcom/google/gson/Gson;
-
ENTER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official cLeeg;c:Los;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;
-
saveButton
- Mappings:
Namespace Name Mixin selector official nLeeg;n:Ldxa;intermediary field_3168Lnet/minecraft/class_524;field_3168:Lnet/minecraft/class_4185;named saveButtonLnet/minecraft/client/gui/screen/world/EditWorldScreen;saveButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
callback
- Mappings:
Namespace Name Mixin selector official oLeeg;o: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;
-
levelNameTextField
- Mappings:
Namespace Name Mixin selector official pLeeg;p:Ldxi;intermediary field_3170Lnet/minecraft/class_524;field_3170:Lnet/minecraft/class_342;named levelNameTextFieldLnet/minecraft/client/gui/screen/world/EditWorldScreen;levelNameTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
storageSession
- Mappings:
Namespace Name Mixin selector official qLeeg;q:Ldib$a;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
- Mappings:
Namespace Name Mixin selector official <init>Leeg;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ldib$a;)Vintermediary <init>Lnet/minecraft/class_524;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_32$class_5143;)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.
-
resize
-
onClose
public void onClose() -
removed
public void removed() -
commit
private void commit()- Mappings:
Namespace Name Mixin selector official hLeeg;h()Vintermediary method_2691Lnet/minecraft/class_524;method_2691()Vnamed commitLnet/minecraft/client/gui/screen/world/EditWorldScreen;commit()V
-
onBackupConfirm
- Mappings:
Namespace Name Mixin selector official aLeeg;a(Ldib;Ljava/lang/String;)Vintermediary method_29784Lnet/minecraft/class_524;method_29784(Lnet/minecraft/class_32;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 official aLeeg;a(Ldib$a;)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 aLdxv;a(Ldql;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-