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 evdintermediary net/minecraft/class_525named net/minecraft/client/gui/screen/world/CreateWorldScreen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static enumprivate static final recordNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate booleanprivate ButtonWidgetprivate Difficultyprivate CreateWorldScreen.Modeprotected DataConfigurationprivate ButtonWidgetprivate CyclingButtonWidget<Difficulty>private CyclingButtonWidget<Boolean>private static final Textprivate static final Textprivate Textprivate static final Textprivate GameRulesprivate ButtonWidgetbooleanprivate @Nullable CreateWorldScreen.Modeprivate Stringprivate TextFieldWidgetprivate static final Loggerprivate ButtonWidgetfinal MoreOptionsDialogprivate booleanprivate @Nullable ResourcePackManagerprivate static final Textprivate static final Text(package private) Stringprivate Textprivate static final Textprivate static final Stringprivate booleanFields 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_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCreateWorldScreen(@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 voidapplyDataPacks(ResourcePackManager dataPackManager) private voidvoidclose()private static voidcopyDataPack(Path srcFolder, Path destFolder, Path dataPackFile) copyDataPack(Path srcFolder, MinecraftClient client) static CreateWorldScreencreate(@Nullable Screen parent, LevelInfo levelInfo, GeneratorOptionsHolder generatorOptionsHolder, @Nullable Path dataPackTempDir) static voidcreate(MinecraftClient client, @Nullable Screen parent) private voidprivate LevelInfocreateLevelInfo(boolean debugWorld) private static SaveLoading.ServerConfigcreateServerConfig(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) private Optional<LevelStorage.Session>private Difficultyprivate @Nullable com.mojang.datafixers.util.Pair<Path,ResourcePackManager> protected voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.voidprivate voidvoidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) voidprivate voidsetMoreOptionsOpen(boolean moreOptionsOpen) private static voidshowMessage(MinecraftClient client, Text text) private voidstartServer(LevelProperties.SpecialProperty specialProperty, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, com.mojang.serialization.Lifecycle lifecycle) voidtick()private voidprivate voidprivate voidprivate voidprivate voidvalidateDataPacks(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, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, 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
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official nLevd;n:Lorg/slf4j/Logger;intermediary field_25480Lnet/minecraft/class_525;field_25480:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/world/CreateWorldScreen;LOGGER:Lorg/slf4j/Logger;
-
TEMP_DIR_PREFIX
- See Also:
- Mappings:
Namespace Name Mixin selector official oLevd;o:Ljava/lang/String;intermediary field_32434Lnet/minecraft/class_525;field_32434:Ljava/lang/String;named TEMP_DIR_PREFIXLnet/minecraft/client/gui/screen/world/CreateWorldScreen;TEMP_DIR_PREFIX:Ljava/lang/String;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector official pLevd;p:Lta;intermediary field_25898Lnet/minecraft/class_525;field_25898:Lnet/minecraft/class_2561;named GAME_MODE_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
-
ENTER_SEED_TEXT
- Mappings:
Namespace Name Mixin selector official qLevd;q:Lta;intermediary field_26598Lnet/minecraft/class_525;field_26598:Lnet/minecraft/class_2561;named ENTER_SEED_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;ENTER_SEED_TEXT:Lnet/minecraft/text/Text;
-
SEED_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official rLevd;r:Lta;intermediary field_26599Lnet/minecraft/class_525;field_26599:Lnet/minecraft/class_2561;named SEED_INFO_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;SEED_INFO_TEXT:Lnet/minecraft/text/Text;
-
ENTER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official sLevd;s:Lta;intermediary field_26600Lnet/minecraft/class_525;field_26600:Lnet/minecraft/class_2561;named ENTER_NAME_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;
-
RESULT_FOLDER_TEXT
- Mappings:
Namespace Name Mixin selector official tLevd;t:Lta;intermediary field_26601Lnet/minecraft/class_525;field_26601:Lnet/minecraft/class_2561;named RESULT_FOLDER_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;RESULT_FOLDER_TEXT:Lnet/minecraft/text/Text;
-
ALLOW_COMMANDS_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official uLevd;u:Lta;intermediary field_26602Lnet/minecraft/class_525;field_26602:Lnet/minecraft/class_2561;named ALLOW_COMMANDS_INFO_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;ALLOW_COMMANDS_INFO_TEXT:Lnet/minecraft/text/Text;
-
PREPARING_TEXT
- Mappings:
Namespace Name Mixin selector official vLevd;v:Lta;intermediary field_37911Lnet/minecraft/class_525;field_37911:Lnet/minecraft/class_2561;named PREPARING_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;PREPARING_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official wLevd;w:Lequ;intermediary field_3187Lnet/minecraft/class_525;field_3187:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/world/CreateWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
levelNameField
- Mappings:
Namespace Name Mixin selector official xLevd;x:Lemp;intermediary field_3188Lnet/minecraft/class_525;field_3188:Lnet/minecraft/class_342;named levelNameFieldLnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelNameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
saveDirectoryName
String saveDirectoryName- Mappings:
Namespace Name Mixin selector official yLevd;y:Ljava/lang/String;intermediary field_3196Lnet/minecraft/class_525;field_3196:Ljava/lang/String;named saveDirectoryNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;saveDirectoryName:Ljava/lang/String;
-
currentMode
- Mappings:
Namespace Name Mixin selector official zLevd;z:Levd$b;intermediary field_3201Lnet/minecraft/class_525;field_3201:Lnet/minecraft/class_525$class_4539;named currentModeLnet/minecraft/client/gui/screen/world/CreateWorldScreen;currentMode:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
lastMode
- Mappings:
Namespace Name Mixin selector official ALevd;A:Levd$b;intermediary field_3185Lnet/minecraft/class_525;field_3185:Lnet/minecraft/class_525$class_4539;named lastModeLnet/minecraft/client/gui/screen/world/CreateWorldScreen;lastMode:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
currentDifficulty
- Mappings:
Namespace Name Mixin selector official BLevd;B:Lbdd;intermediary field_27998Lnet/minecraft/class_525;field_27998:Lnet/minecraft/class_1267;named currentDifficultyLnet/minecraft/client/gui/screen/world/CreateWorldScreen;currentDifficulty:Lnet/minecraft/world/Difficulty;
-
cheatsEnabled
private boolean cheatsEnabled- Mappings:
Namespace Name Mixin selector official CLevd;C:Zintermediary field_3192Lnet/minecraft/class_525;field_3192:Znamed cheatsEnabledLnet/minecraft/client/gui/screen/world/CreateWorldScreen;cheatsEnabled:Z
-
tweakedCheats
private boolean tweakedCheats- Mappings:
Namespace Name Mixin selector official DLevd;D:Zintermediary field_3179Lnet/minecraft/class_525;field_3179:Znamed tweakedCheatsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;tweakedCheats:Z
-
hardcore
public boolean hardcore- Mappings:
Namespace Name Mixin selector official aLevd;a:Zintermediary field_3178Lnet/minecraft/class_525;field_3178:Znamed hardcoreLnet/minecraft/client/gui/screen/world/CreateWorldScreen;hardcore:Z
-
dataConfiguration
- Mappings:
Namespace Name Mixin selector official bLevd;b:Lclw;intermediary field_25479Lnet/minecraft/class_525;field_25479:Lnet/minecraft/class_7712;named dataConfigurationLnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataConfiguration:Lnet/minecraft/resource/DataConfiguration;
-
dataPackTempDir
- Mappings:
Namespace Name Mixin selector official ELevd;E:Ljava/nio/file/Path;intermediary field_25477Lnet/minecraft/class_525;field_25477:Ljava/nio/file/Path;named dataPackTempDirLnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataPackTempDir:Ljava/nio/file/Path;
-
packManager
- Mappings:
Namespace Name Mixin selector official FLevd;F:Lakg;intermediary field_25792Lnet/minecraft/class_525;field_25792:Lnet/minecraft/class_3283;named packManagerLnet/minecraft/client/gui/screen/world/CreateWorldScreen;packManager:Lnet/minecraft/resource/ResourcePackManager;
-
moreOptionsOpen
private boolean moreOptionsOpen- Mappings:
Namespace Name Mixin selector official GLevd;G:Zintermediary field_3202Lnet/minecraft/class_525;field_3202:Znamed moreOptionsOpenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsOpen:Z
-
createLevelButton
- Mappings:
Namespace Name Mixin selector official HLevd;H:Lemg;intermediary field_3205Lnet/minecraft/class_525;field_3205:Lnet/minecraft/class_4185;named createLevelButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;createLevelButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
gameModeSwitchButton
- Mappings:
Namespace Name Mixin selector official ILevd;I:Lemn;intermediary field_3186Lnet/minecraft/class_525;field_3186:Lnet/minecraft/class_5676;named gameModeSwitchButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameModeSwitchButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
difficultyButton
- Mappings:
Namespace Name Mixin selector official JLevd;J:Lemn;intermediary field_24286Lnet/minecraft/class_525;field_24286:Lnet/minecraft/class_5676;named difficultyButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
moreOptionsButton
- Mappings:
Namespace Name Mixin selector official KLevd;K:Lemg;intermediary field_3193Lnet/minecraft/class_525;field_3193:Lnet/minecraft/class_4185;named moreOptionsButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
gameRulesButton
- Mappings:
Namespace Name Mixin selector official LLevd;L:Lemg;intermediary field_24287Lnet/minecraft/class_525;field_24287:Lnet/minecraft/class_4185;named gameRulesButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameRulesButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
dataPacksButton
- Mappings:
Namespace Name Mixin selector official MLevd;M:Lemg;intermediary field_25478Lnet/minecraft/class_525;field_25478:Lnet/minecraft/class_4185;named dataPacksButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataPacksButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
enableCheatsButton
- Mappings:
Namespace Name Mixin selector official NLevd;N:Lemn;intermediary field_3182Lnet/minecraft/class_525;field_3182:Lnet/minecraft/class_5676;named enableCheatsButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;enableCheatsButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
firstGameModeDescriptionLine
- Mappings:
Namespace Name Mixin selector official OLevd;O:Lta;intermediary field_3194Lnet/minecraft/class_525;field_3194:Lnet/minecraft/class_2561;named firstGameModeDescriptionLineLnet/minecraft/client/gui/screen/world/CreateWorldScreen;firstGameModeDescriptionLine:Lnet/minecraft/text/Text;
-
secondGameModeDescriptionLine
- Mappings:
Namespace Name Mixin selector official PLevd;P:Lta;intermediary field_3199Lnet/minecraft/class_525;field_3199:Lnet/minecraft/class_2561;named secondGameModeDescriptionLineLnet/minecraft/client/gui/screen/world/CreateWorldScreen;secondGameModeDescriptionLine:Lnet/minecraft/text/Text;
-
levelName
- Mappings:
Namespace Name Mixin selector official QLevd;Q:Ljava/lang/String;intermediary field_3195Lnet/minecraft/class_525;field_3195:Ljava/lang/String;named levelNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelName:Ljava/lang/String;
-
gameRules
- Mappings:
Namespace Name Mixin selector official RLevd;R:Lcla;intermediary field_24288Lnet/minecraft/class_525;field_24288:Lnet/minecraft/class_1928;named gameRulesLnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameRules:Lnet/minecraft/world/GameRules;
-
moreOptionsDialog
- Mappings:
Namespace Name Mixin selector official cLevd;c:Levk;intermediary field_24588Lnet/minecraft/class_525;field_24588:Lnet/minecraft/class_5292;named moreOptionsDialogLnet/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>Levd;<init>(Lequ;Lclw;Levk;)Vintermediary <init>Lnet/minecraft/class_525;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7712;Lnet/minecraft/class_5292;)Vnamed <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 aLevd;a(Lekn;Lequ;)Vintermediary method_31130Lnet/minecraft/class_525;method_31130(Lnet/minecraft/class_310;Lnet/minecraft/class_437;)Vnamed createLnet/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 aLevd;a(Lequ;Lcli;Levj;Ljava/nio/file/Path;)Levd;intermediary method_40212Lnet/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 createLnet/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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused. -
getDifficulty
- Mappings:
Namespace Name Mixin selector official ALevd;A()Lbdd;intermediary method_32672Lnet/minecraft/class_525;method_32672()Lnet/minecraft/class_1267;named getDifficultyLnet/minecraft/client/gui/screen/world/CreateWorldScreen;getDifficulty()Lnet/minecraft/world/Difficulty;
-
updateSettingsLabels
private void updateSettingsLabels()- Mappings:
Namespace Name Mixin selector official BLevd;B()Vintermediary method_2722Lnet/minecraft/class_525;method_2722()Vnamed updateSettingsLabelsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSettingsLabels()V
-
updateSaveFolderName
private void updateSaveFolderName()- Mappings:
Namespace Name Mixin selector official CLevd;C()Vintermediary method_2727Lnet/minecraft/class_525;method_2727()Vnamed updateSaveFolderNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSaveFolderName()V
-
showMessage
- Mappings:
Namespace Name Mixin selector official aLevd;a(Lekn;Lta;)Vintermediary method_41852Lnet/minecraft/class_525;method_41852(Lnet/minecraft/class_310;Lnet/minecraft/class_2561;)Vnamed showMessageLnet/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 DLevd;D()Vintermediary method_2736Lnet/minecraft/class_525;method_2736()Vnamed createLevelLnet/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 aLevd;a(Ldwq$a;Lhg;Lcom/mojang/serialization/Lifecycle;)Vintermediary method_41847Lnet/minecraft/class_525;method_41847(Lnet/minecraft/class_31$class_7729;Lnet/minecraft/class_7780;Lcom/mojang/serialization/Lifecycle;)Vnamed startServerLnet/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 cLevd;c(Z)Lcli;intermediary method_40213Lnet/minecraft/class_525;method_40213(Z)Lnet/minecraft/class_1940;named createLevelInfoLnet/minecraft/client/gui/screen/world/CreateWorldScreen;createLevelInfo(Z)Lnet/minecraft/world/level/LevelInfo;
-
toggleMoreOptions
private void toggleMoreOptions()- Mappings:
Namespace Name Mixin selector official ELevd;E()Vintermediary method_2721Lnet/minecraft/class_525;method_2721()Vnamed toggleMoreOptionsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;toggleMoreOptions()V
-
tweakDefaultsTo
- Mappings:
Namespace Name Mixin selector official aLevd;a(Levd$b;)Vintermediary method_22365Lnet/minecraft/class_525;method_22365(Lnet/minecraft/class_525$class_4539;)Vnamed tweakDefaultsToLnet/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 jLevd;j()Vintermediary method_28084Lnet/minecraft/class_525;method_28084()Vnamed setMoreOptionsOpenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;setMoreOptionsOpen()V
-
setMoreOptionsOpen
private void setMoreOptionsOpen(boolean moreOptionsOpen) - Mappings:
Namespace Name Mixin selector official eLevd;e(Z)Vintermediary method_2710Lnet/minecraft/class_525;method_2710(Z)Vnamed setMoreOptionsOpenLnet/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 inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- 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:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLenk;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
close
public void close() -
onCloseScreen
public void onCloseScreen()- Mappings:
Namespace Name Mixin selector official zLevd;z()Vintermediary method_30297Lnet/minecraft/class_525;method_30297()Vnamed onCloseScreenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;onCloseScreen()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLend;a(Lefl;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
-
addSelectableChild
- Overrides:
addSelectableChildin classScreen- Mappings:
Namespace Name Mixin selector official eLequ;e(Lenk;)Lenk;intermediary method_25429Lnet/minecraft/class_437;method_25429(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;named addSelectableChildLnet/minecraft/client/gui/screen/Screen;addSelectableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
addDrawableChild
- Overrides:
addDrawableChildin classScreen- Mappings:
Namespace Name Mixin selector official dLequ;d(Lenk;)Lenk;intermediary method_37063Lnet/minecraft/class_437;method_37063(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;named addDrawableChildLnet/minecraft/client/gui/screen/Screen;addDrawableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
getDataPackTempDir
- Mappings:
Namespace Name Mixin selector official FLevd;F()Ljava/nio/file/Path;intermediary method_29693Lnet/minecraft/class_525;method_29693()Ljava/nio/file/Path;named getDataPackTempDirLnet/minecraft/client/gui/screen/world/CreateWorldScreen;getDataPackTempDir()Ljava/nio/file/Path;
-
openPackScreen
private void openPackScreen()- Mappings:
Namespace Name Mixin selector official GLevd;G()Vintermediary method_29694Lnet/minecraft/class_525;method_29694()Vnamed openPackScreenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;openPackScreen()V
-
applyDataPacks
- Mappings:
Namespace Name Mixin selector official aLevd;a(Lakg;)Vintermediary method_29682Lnet/minecraft/class_525;method_29682(Lnet/minecraft/class_3283;)Vnamed applyDataPacksLnet/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 aLevd;a(Lakg;Lclw;)Vintermediary method_45679Lnet/minecraft/class_525;method_45679(Lnet/minecraft/class_3283;Lnet/minecraft/class_7712;)Vnamed validateDataPacksLnet/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 bLevd;b(Lakg;Lclw;)Ladl$c;intermediary method_41849Lnet/minecraft/class_525;method_41849(Lnet/minecraft/class_3283;Lnet/minecraft/class_7712;)Lnet/minecraft/class_7237$class_6906;named createServerConfigLnet/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 HLevd;H()Vintermediary method_29695Lnet/minecraft/class_525;method_29695()Vnamed clearDataPackTempDirLnet/minecraft/client/gui/screen/world/CreateWorldScreen;clearDataPackTempDir()V
-
copyDataPack
- Mappings:
Namespace Name Mixin selector official aLevd;a(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)Vintermediary method_29687Lnet/minecraft/class_525;method_29687(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)Vnamed copyDataPackLnet/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 ILevd;I()Ljava/util/Optional;intermediary method_41848Lnet/minecraft/class_525;method_41848()Ljava/util/Optional;named createSessionLnet/minecraft/client/gui/screen/world/CreateWorldScreen;createSession()Ljava/util/Optional;
-
copyDataPack
- Mappings:
Namespace Name Mixin selector official aLevd;a(Ljava/nio/file/Path;Lekn;)Ljava/nio/file/Path;intermediary method_29685Lnet/minecraft/class_525;method_29685(Ljava/nio/file/Path;Lnet/minecraft/class_310;)Ljava/nio/file/Path;named copyDataPackLnet/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 JLevd;J()Lcom/mojang/datafixers/util/Pair;intermediary method_30296Lnet/minecraft/class_525;method_30296()Lcom/mojang/datafixers/util/Pair;named getScannedPackLnet/minecraft/client/gui/screen/world/CreateWorldScreen;getScannedPack()Lcom/mojang/datafixers/util/Pair;
-