Class CreateWorldScreen
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.CreateWorldScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official eti
intermediary net/minecraft/class_525
named net/minecraft/client/gui/screen/world/CreateWorldScreen
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static enum
private static final record
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private boolean
private ButtonWidget
private Difficulty
private CreateWorldScreen.Mode
protected DataConfiguration
private ButtonWidget
private CyclingButtonWidget<Difficulty>
private CyclingButtonWidget<Boolean>
private static final Text
private static final Text
private Text
private static final Text
private GameRules
private ButtonWidget
boolean
private @Nullable CreateWorldScreen.Mode
private String
private TextFieldWidget
private static final Logger
private ButtonWidget
final MoreOptionsDialog
private boolean
private @Nullable ResourcePackManager
private static final Text
private static final Text
(package private) String
private Text
private static final Text
private static final String
private boolean
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
ModifierConstructorDescriptionprivate
CreateWorldScreen
(@Nullable Screen parent, DataConfiguration dataConfiguration, MoreOptionsDialog moreOptionsDialog) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends Element & Drawable & Selectable>
TaddDrawableChild
(T drawableElement) protected <T extends Element & Selectable>
TaddSelectableChild
(T child) private void
applyDataPacks
(ResourcePackManager dataPackManager) private void
void
close()
private static void
copyDataPack
(Path srcFolder, Path destFolder, Path dataPackFile) copyDataPack
(Path srcFolder, MinecraftClient client) static CreateWorldScreen
create
(@Nullable Screen parent, LevelInfo levelInfo, GeneratorOptionsHolder generatorOptionsHolder, @Nullable Path dataPackTempDir) static void
create
(MinecraftClient client, @Nullable Screen parent) private void
private LevelInfo
createLevelInfo
(boolean debugWorld) private static SaveLoading.ServerConfig
createServerConfig
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) private Optional<LevelStorage.Session>
private Difficulty
private @Nullable com.mojang.datafixers.util.Pair<Path,
ResourcePackManager> protected void
init()
Called when a screen should be initialized.boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.void
private void
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) void
private void
setMoreOptionsOpen
(boolean moreOptionsOpen) private static void
showMessage
(MinecraftClient client, Text text) private void
startServer
(LevelProperties.SpecialProperty specialProperty, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, com.mojang.serialization.Lifecycle lifecycle) void
tick()
private void
private void
private void
private void
private void
validateDataPacks
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addElementNarrations, addScreenNarrations, 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, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, 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 n
Leti;n:Lorg/slf4j/Logger;
intermediary field_25480
Lnet/minecraft/class_525;field_25480:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;LOGGER:Lorg/slf4j/Logger;
-
TEMP_DIR_PREFIX
- See Also:
- Mappings:
Namespace Name Mixin selector official o
Leti;o:Ljava/lang/String;
intermediary field_32434
Lnet/minecraft/class_525;field_32434:Ljava/lang/String;
named TEMP_DIR_PREFIX
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;TEMP_DIR_PREFIX:Ljava/lang/String;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector official p
Leti;p:Lss;
intermediary field_25898
Lnet/minecraft/class_525;field_25898:Lnet/minecraft/class_2561;
named GAME_MODE_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
-
ENTER_SEED_TEXT
- Mappings:
Namespace Name Mixin selector official q
Leti;q:Lss;
intermediary field_26598
Lnet/minecraft/class_525;field_26598:Lnet/minecraft/class_2561;
named ENTER_SEED_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;ENTER_SEED_TEXT:Lnet/minecraft/text/Text;
-
SEED_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official r
Leti;r:Lss;
intermediary field_26599
Lnet/minecraft/class_525;field_26599:Lnet/minecraft/class_2561;
named SEED_INFO_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;SEED_INFO_TEXT:Lnet/minecraft/text/Text;
-
ENTER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official s
Leti;s:Lss;
intermediary field_26600
Lnet/minecraft/class_525;field_26600:Lnet/minecraft/class_2561;
named ENTER_NAME_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;
-
RESULT_FOLDER_TEXT
- Mappings:
Namespace Name Mixin selector official t
Leti;t:Lss;
intermediary field_26601
Lnet/minecraft/class_525;field_26601:Lnet/minecraft/class_2561;
named RESULT_FOLDER_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;RESULT_FOLDER_TEXT:Lnet/minecraft/text/Text;
-
ALLOW_COMMANDS_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official u
Leti;u:Lss;
intermediary field_26602
Lnet/minecraft/class_525;field_26602:Lnet/minecraft/class_2561;
named ALLOW_COMMANDS_INFO_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;ALLOW_COMMANDS_INFO_TEXT:Lnet/minecraft/text/Text;
-
PREPARING_TEXT
- Mappings:
Namespace Name Mixin selector official v
Leti;v:Lss;
intermediary field_37911
Lnet/minecraft/class_525;field_37911:Lnet/minecraft/class_2561;
named PREPARING_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;PREPARING_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official w
Leti;w:Lepb;
intermediary field_3187
Lnet/minecraft/class_525;field_3187:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
levelNameField
- Mappings:
Namespace Name Mixin selector official x
Leti;x:Lelh;
intermediary field_3188
Lnet/minecraft/class_525;field_3188:Lnet/minecraft/class_342;
named levelNameField
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelNameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
saveDirectoryName
String saveDirectoryName- Mappings:
Namespace Name Mixin selector official y
Leti;y:Ljava/lang/String;
intermediary field_3196
Lnet/minecraft/class_525;field_3196:Ljava/lang/String;
named saveDirectoryName
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;saveDirectoryName:Ljava/lang/String;
-
currentMode
- Mappings:
Namespace Name Mixin selector official z
Leti;z:Leti$b;
intermediary field_3201
Lnet/minecraft/class_525;field_3201:Lnet/minecraft/class_525$class_4539;
named currentMode
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;currentMode:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
lastMode
- Mappings:
Namespace Name Mixin selector official A
Leti;A:Leti$b;
intermediary field_3185
Lnet/minecraft/class_525;field_3185:Lnet/minecraft/class_525$class_4539;
named lastMode
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;lastMode:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
currentDifficulty
- Mappings:
Namespace Name Mixin selector official B
Leti;B:Lbcj;
intermediary field_27998
Lnet/minecraft/class_525;field_27998:Lnet/minecraft/class_1267;
named currentDifficulty
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;currentDifficulty:Lnet/minecraft/world/Difficulty;
-
cheatsEnabled
private boolean cheatsEnabled- Mappings:
Namespace Name Mixin selector official C
Leti;C:Z
intermediary field_3192
Lnet/minecraft/class_525;field_3192:Z
named cheatsEnabled
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;cheatsEnabled:Z
-
tweakedCheats
private boolean tweakedCheats- Mappings:
Namespace Name Mixin selector official D
Leti;D:Z
intermediary field_3179
Lnet/minecraft/class_525;field_3179:Z
named tweakedCheats
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;tweakedCheats:Z
-
hardcore
public boolean hardcore- Mappings:
Namespace Name Mixin selector official a
Leti;a:Z
intermediary field_3178
Lnet/minecraft/class_525;field_3178:Z
named hardcore
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;hardcore:Z
-
dataConfiguration
- Mappings:
Namespace Name Mixin selector official b
Leti;b:Lcko;
intermediary field_25479
Lnet/minecraft/class_525;field_25479:Lnet/minecraft/class_7712;
named dataConfiguration
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataConfiguration:Lnet/minecraft/resource/DataConfiguration;
-
dataPackTempDir
- Mappings:
Namespace Name Mixin selector official E
Leti;E:Ljava/nio/file/Path;
intermediary field_25477
Lnet/minecraft/class_525;field_25477:Ljava/nio/file/Path;
named dataPackTempDir
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataPackTempDir:Ljava/nio/file/Path;
-
packManager
- Mappings:
Namespace Name Mixin selector official F
Leti;F:Lajp;
intermediary field_25792
Lnet/minecraft/class_525;field_25792:Lnet/minecraft/class_3283;
named packManager
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;packManager:Lnet/minecraft/resource/ResourcePackManager;
-
moreOptionsOpen
private boolean moreOptionsOpen- Mappings:
Namespace Name Mixin selector official G
Leti;G:Z
intermediary field_3202
Lnet/minecraft/class_525;field_3202:Z
named moreOptionsOpen
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsOpen:Z
-
createLevelButton
- Mappings:
Namespace Name Mixin selector official H
Leti;H:Leky;
intermediary field_3205
Lnet/minecraft/class_525;field_3205:Lnet/minecraft/class_4185;
named createLevelButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;createLevelButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
gameModeSwitchButton
- Mappings:
Namespace Name Mixin selector official I
Leti;I:Lelf;
intermediary field_3186
Lnet/minecraft/class_525;field_3186:Lnet/minecraft/class_5676;
named gameModeSwitchButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameModeSwitchButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
difficultyButton
- Mappings:
Namespace Name Mixin selector official J
Leti;J:Lelf;
intermediary field_24286
Lnet/minecraft/class_525;field_24286:Lnet/minecraft/class_5676;
named difficultyButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
moreOptionsButton
- Mappings:
Namespace Name Mixin selector official K
Leti;K:Leky;
intermediary field_3193
Lnet/minecraft/class_525;field_3193:Lnet/minecraft/class_4185;
named moreOptionsButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
gameRulesButton
- Mappings:
Namespace Name Mixin selector official L
Leti;L:Leky;
intermediary field_24287
Lnet/minecraft/class_525;field_24287:Lnet/minecraft/class_4185;
named gameRulesButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameRulesButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
dataPacksButton
- Mappings:
Namespace Name Mixin selector official M
Leti;M:Leky;
intermediary field_25478
Lnet/minecraft/class_525;field_25478:Lnet/minecraft/class_4185;
named dataPacksButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataPacksButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
enableCheatsButton
- Mappings:
Namespace Name Mixin selector official N
Leti;N:Lelf;
intermediary field_3182
Lnet/minecraft/class_525;field_3182:Lnet/minecraft/class_5676;
named enableCheatsButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;enableCheatsButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
firstGameModeDescriptionLine
- Mappings:
Namespace Name Mixin selector official O
Leti;O:Lss;
intermediary field_3194
Lnet/minecraft/class_525;field_3194:Lnet/minecraft/class_2561;
named firstGameModeDescriptionLine
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;firstGameModeDescriptionLine:Lnet/minecraft/text/Text;
-
secondGameModeDescriptionLine
- Mappings:
Namespace Name Mixin selector official P
Leti;P:Lss;
intermediary field_3199
Lnet/minecraft/class_525;field_3199:Lnet/minecraft/class_2561;
named secondGameModeDescriptionLine
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;secondGameModeDescriptionLine:Lnet/minecraft/text/Text;
-
levelName
- Mappings:
Namespace Name Mixin selector official Q
Leti;Q:Ljava/lang/String;
intermediary field_3195
Lnet/minecraft/class_525;field_3195:Ljava/lang/String;
named levelName
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelName:Ljava/lang/String;
-
gameRules
- Mappings:
Namespace Name Mixin selector official R
Leti;R:Lcjs;
intermediary field_24288
Lnet/minecraft/class_525;field_24288:Lnet/minecraft/class_1928;
named gameRules
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameRules:Lnet/minecraft/world/GameRules;
-
moreOptionsDialog
- Mappings:
Namespace Name Mixin selector official c
Leti;c:Letp;
intermediary field_24588
Lnet/minecraft/class_525;field_24588:Lnet/minecraft/class_5292;
named moreOptionsDialog
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsDialog:Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;
-
-
Constructor Details
-
CreateWorldScreen
private CreateWorldScreen(@Nullable @Nullable Screen parent, DataConfiguration dataConfiguration, MoreOptionsDialog moreOptionsDialog) - Mappings:
Namespace Name Mixin selector official <init>
Leti;<init>(Lepb;Lcko;Letp;)V
intermediary <init>
Lnet/minecraft/class_525;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7712;Lnet/minecraft/class_5292;)V
named <init>
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/resource/DataConfiguration;Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Leti;a(Lejf;Lepb;)V
intermediary method_31130
Lnet/minecraft/class_525;method_31130(Lnet/minecraft/class_310;Lnet/minecraft/class_437;)V
named create
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;create(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;)V
-
create
public static CreateWorldScreen create(@Nullable @Nullable Screen parent, LevelInfo levelInfo, GeneratorOptionsHolder generatorOptionsHolder, @Nullable @Nullable Path dataPackTempDir) - Mappings:
Namespace Name Mixin selector official a
Leti;a(Lepb;Lcka;Leto;Ljava/nio/file/Path;)Leti;
intermediary method_40212
Lnet/minecraft/class_525;method_40212(Lnet/minecraft/class_437;Lnet/minecraft/class_1940;Lnet/minecraft/class_7193;Ljava/nio/file/Path;)Lnet/minecraft/class_525;
named create
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;create(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/nio/file/Path;)Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;
-
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.
-
getDifficulty
- Mappings:
Namespace Name Mixin selector official x
Leti;x()Lbcj;
intermediary method_32672
Lnet/minecraft/class_525;method_32672()Lnet/minecraft/class_1267;
named getDifficulty
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;getDifficulty()Lnet/minecraft/world/Difficulty;
-
updateSettingsLabels
private void updateSettingsLabels()- Mappings:
Namespace Name Mixin selector official y
Leti;y()V
intermediary method_2722
Lnet/minecraft/class_525;method_2722()V
named updateSettingsLabels
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSettingsLabels()V
-
updateSaveFolderName
private void updateSaveFolderName()- Mappings:
Namespace Name Mixin selector official z
Leti;z()V
intermediary method_2727
Lnet/minecraft/class_525;method_2727()V
named updateSaveFolderName
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSaveFolderName()V
-
showMessage
- Mappings:
Namespace Name Mixin selector official a
Leti;a(Lejf;Lss;)V
intermediary method_41852
Lnet/minecraft/class_525;method_41852(Lnet/minecraft/class_310;Lnet/minecraft/class_2561;)V
named showMessage
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;showMessage(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/text/Text;)V
-
createLevel
private void createLevel()- Mappings:
Namespace Name Mixin selector official A
Leti;A()V
intermediary method_2736
Lnet/minecraft/class_525;method_2736()V
named createLevel
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;createLevel()V
-
startServer
private void startServer(LevelProperties.SpecialProperty specialProperty, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, com.mojang.serialization.Lifecycle lifecycle) - Mappings:
Namespace Name Mixin selector official a
Leti;a(Ldvi$a;Lhg;Lcom/mojang/serialization/Lifecycle;)V
intermediary method_41847
Lnet/minecraft/class_525;method_41847(Lnet/minecraft/class_31$class_7729;Lnet/minecraft/class_7780;Lcom/mojang/serialization/Lifecycle;)V
named startServer
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;startServer(Lnet/minecraft/world/level/LevelProperties$SpecialProperty;Lnet/minecraft/registry/CombinedDynamicRegistries;Lcom/mojang/serialization/Lifecycle;)V
-
createLevelInfo
- Mappings:
Namespace Name Mixin selector official c
Leti;c(Z)Lcka;
intermediary method_40213
Lnet/minecraft/class_525;method_40213(Z)Lnet/minecraft/class_1940;
named createLevelInfo
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;createLevelInfo(Z)Lnet/minecraft/world/level/LevelInfo;
-
toggleMoreOptions
private void toggleMoreOptions()- Mappings:
Namespace Name Mixin selector official B
Leti;B()V
intermediary method_2721
Lnet/minecraft/class_525;method_2721()V
named toggleMoreOptions
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;toggleMoreOptions()V
-
tweakDefaultsTo
- Mappings:
Namespace Name Mixin selector official a
Leti;a(Leti$b;)V
intermediary method_22365
Lnet/minecraft/class_525;method_22365(Lnet/minecraft/class_525$class_4539;)V
named tweakDefaultsTo
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;tweakDefaultsTo(Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;)V
-
setMoreOptionsOpen
public void setMoreOptionsOpen()- Mappings:
Namespace Name Mixin selector official i
Leti;i()V
intermediary method_28084
Lnet/minecraft/class_525;method_28084()V
named setMoreOptionsOpen
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;setMoreOptionsOpen()V
-
setMoreOptionsOpen
private void setMoreOptionsOpen(boolean moreOptionsOpen) - Mappings:
Namespace Name Mixin selector official e
Leti;e(Z)V
intermediary method_2710
Lnet/minecraft/class_525;method_2710(Z)V
named setMoreOptionsOpen
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;setMoreOptionsOpen(Z)V
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- the unique/platform-specific scan code of the keyboard inputmodifiers
- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lemg;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
close
public void close() -
onCloseScreen
public void onCloseScreen()- Mappings:
Namespace Name Mixin selector official w
Leti;w()V
intermediary method_30297
Lnet/minecraft/class_525;method_30297()V
named onCloseScreen
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;onCloseScreen()V
-
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
-
addSelectableChild
- Overrides:
addSelectableChild
in classScreen
- Mappings:
Namespace Name Mixin selector official e
Lepb;e(Lemg;)Lemg;
intermediary method_25429
Lnet/minecraft/class_437;method_25429(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;
named addSelectableChild
Lnet/minecraft/client/gui/screen/Screen;addSelectableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
addDrawableChild
- Overrides:
addDrawableChild
in classScreen
- Mappings:
Namespace Name Mixin selector official d
Lepb;d(Lemg;)Lemg;
intermediary method_37063
Lnet/minecraft/class_437;method_37063(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;
named addDrawableChild
Lnet/minecraft/client/gui/screen/Screen;addDrawableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
getDataPackTempDir
- Mappings:
Namespace Name Mixin selector official C
Leti;C()Ljava/nio/file/Path;
intermediary method_29693
Lnet/minecraft/class_525;method_29693()Ljava/nio/file/Path;
named getDataPackTempDir
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;getDataPackTempDir()Ljava/nio/file/Path;
-
openPackScreen
private void openPackScreen()- Mappings:
Namespace Name Mixin selector official D
Leti;D()V
intermediary method_29694
Lnet/minecraft/class_525;method_29694()V
named openPackScreen
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;openPackScreen()V
-
applyDataPacks
- Mappings:
Namespace Name Mixin selector official a
Leti;a(Lajp;)V
intermediary method_29682
Lnet/minecraft/class_525;method_29682(Lnet/minecraft/class_3283;)V
named applyDataPacks
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;applyDataPacks(Lnet/minecraft/resource/ResourcePackManager;)V
-
validateDataPacks
private void validateDataPacks(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) - Mappings:
Namespace Name Mixin selector official a
Leti;a(Lajp;Lcko;)V
intermediary method_45679
Lnet/minecraft/class_525;method_45679(Lnet/minecraft/class_3283;Lnet/minecraft/class_7712;)V
named validateDataPacks
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;validateDataPacks(Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/resource/DataConfiguration;)V
-
createServerConfig
private static SaveLoading.ServerConfig createServerConfig(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) - Mappings:
Namespace Name Mixin selector official b
Leti;b(Lajp;Lcko;)Lacy$c;
intermediary method_41849
Lnet/minecraft/class_525;method_41849(Lnet/minecraft/class_3283;Lnet/minecraft/class_7712;)Lnet/minecraft/class_7237$class_6906;
named createServerConfig
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;createServerConfig(Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/resource/DataConfiguration;)Lnet/minecraft/server/SaveLoading$ServerConfig;
-
clearDataPackTempDir
private void clearDataPackTempDir()- Mappings:
Namespace Name Mixin selector official E
Leti;E()V
intermediary method_29695
Lnet/minecraft/class_525;method_29695()V
named clearDataPackTempDir
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;clearDataPackTempDir()V
-
copyDataPack
- Mappings:
Namespace Name Mixin selector official a
Leti;a(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
intermediary method_29687
Lnet/minecraft/class_525;method_29687(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
named copyDataPack
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;copyDataPack(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
-
createSession
- Mappings:
Namespace Name Mixin selector official F
Leti;F()Ljava/util/Optional;
intermediary method_41848
Lnet/minecraft/class_525;method_41848()Ljava/util/Optional;
named createSession
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;createSession()Ljava/util/Optional;
-
copyDataPack
- Mappings:
Namespace Name Mixin selector official a
Leti;a(Ljava/nio/file/Path;Lejf;)Ljava/nio/file/Path;
intermediary method_29685
Lnet/minecraft/class_525;method_29685(Ljava/nio/file/Path;Lnet/minecraft/class_310;)Ljava/nio/file/Path;
named copyDataPack
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;copyDataPack(Ljava/nio/file/Path;Lnet/minecraft/client/MinecraftClient;)Ljava/nio/file/Path;
-
getScannedPack
@Nullable private @Nullable com.mojang.datafixers.util.Pair<Path,ResourcePackManager> getScannedPack()- Mappings:
Namespace Name Mixin selector official G
Leti;G()Lcom/mojang/datafixers/util/Pair;
intermediary method_30296
Lnet/minecraft/class_525;method_30296()Lcom/mojang/datafixers/util/Pair;
named getScannedPack
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;getScannedPack()Lcom/mojang/datafixers/util/Pair;
-