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 etk
intermediary net/minecraft/class_524
named 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
Modifier and TypeFieldDescriptionprivate final BooleanConsumer
private static final Text
private static final Gson
private TextFieldWidget
private static final Logger
private ButtonWidget
private final LevelStorage.Session
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionEditWorldScreen
(BooleanConsumer callback, LevelStorage.Session storageSession) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
backupLevel
(LevelStorage.Session storageSession) void
close()
private void
commit()
protected void
init()
Called when a screen should be initialized.static void
onBackupConfirm
(LevelStorage storage, String levelName) void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) void
resize
(MinecraftClient client, int width, int height) void
tick()
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Letk;a:Lorg/slf4j/Logger;
intermediary field_23776
Lnet/minecraft/class_524;field_23776:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;LOGGER:Lorg/slf4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official b
Letk;b:Lcom/google/gson/Gson;
intermediary field_25481
Lnet/minecraft/class_524;field_25481:Lcom/google/gson/Gson;
named GSON
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;GSON:Lcom/google/gson/Gson;
-
ENTER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official c
Letk;c:Lss;
intermediary field_26603
Lnet/minecraft/class_524;field_26603:Lnet/minecraft/class_2561;
named ENTER_NAME_TEXT
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;
-
saveButton
- Mappings:
Namespace Name Mixin selector official n
Letk;n:Leky;
intermediary field_3168
Lnet/minecraft/class_524;field_3168:Lnet/minecraft/class_4185;
named saveButton
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;saveButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
callback
- Mappings:
Namespace Name Mixin selector official o
Letk;o:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
intermediary field_3169
Lnet/minecraft/class_524;field_3169:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
named callback
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
levelNameTextField
- Mappings:
Namespace Name Mixin selector official p
Letk;p:Lelh;
intermediary field_3170
Lnet/minecraft/class_524;field_3170:Lnet/minecraft/class_342;
named levelNameTextField
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;levelNameTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
storageSession
- Mappings:
Namespace Name Mixin selector official q
Letk;q:Ldve$c;
intermediary field_23777
Lnet/minecraft/class_524;field_23777:Lnet/minecraft/class_32$class_5143;
named storageSession
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;storageSession:Lnet/minecraft/world/level/storage/LevelStorage$Session;
-
-
Constructor Details
-
EditWorldScreen
- Mappings:
Namespace Name Mixin selector official <init>
Letk;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ldve$c;)V
intermediary <init>
Lnet/minecraft/class_524;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_32$class_5143;)V
named <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
-
close
public void close() -
commit
private void commit()- Mappings:
Namespace Name Mixin selector official i
Letk;i()V
intermediary method_2691
Lnet/minecraft/class_524;method_2691()V
named commit
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;commit()V
-
onBackupConfirm
- Mappings:
Namespace Name Mixin selector official a
Letk;a(Ldve;Ljava/lang/String;)V
intermediary method_29784
Lnet/minecraft/class_524;method_29784(Lnet/minecraft/class_32;Ljava/lang/String;)V
named onBackupConfirm
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;onBackupConfirm(Lnet/minecraft/world/level/storage/LevelStorage;Ljava/lang/String;)V
-
backupLevel
- Mappings:
Namespace Name Mixin selector official a
Letk;a(Ldve$c;)Z
intermediary method_2701
Lnet/minecraft/class_524;method_2701(Lnet/minecraft/class_32$class_5143;)Z
named backupLevel
Lnet/minecraft/client/gui/screen/world/EditWorldScreen;backupLevel(Lnet/minecraft/world/level/storage/LevelStorage$Session;)Z
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lely;a(Leed;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-