Class CreateWorldScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class CreateWorldScreen extends Screen
Mappings:
Namespace Name
official fcy
intermediary net/minecraft/class_525
named net/minecraft/client/gui/screen/world/CreateWorldScreen
  • Field Details

    • field_42165

      private static final int field_42165
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lfcy;k:I
      intermediary field_42165 Lnet/minecraft/class_525;field_42165:I
      named field_42165 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;field_42165:I
    • field_42166

      private static final int field_42166
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lfcy;l:I
      intermediary field_42166 Lnet/minecraft/class_525;field_42166:I
      named field_42166 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;field_42166:I
    • field_42167

      private static final int field_42167
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lfcy;m:I
      intermediary field_42167 Lnet/minecraft/class_525;field_42167:I
      named field_42167 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;field_42167:I
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official n Lfcy;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

      private static final String TEMP_DIR_PREFIX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official o Lfcy;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

      static final Text GAME_MODE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official p Lfcy;p:Ltl;
      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_NAME_TEXT

      static final Text ENTER_NAME_TEXT
      Mappings:
      Namespace Name Mixin selector
      official q Lfcy;q:Ltl;
      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;
    • EXPERIMENTS_TEXT

      static final Text EXPERIMENTS_TEXT
      Mappings:
      Namespace Name Mixin selector
      official s Lfcy;s:Ltl;
      intermediary field_42501 Lnet/minecraft/class_525;field_42501:Lnet/minecraft/class_2561;
      named EXPERIMENTS_TEXT Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;EXPERIMENTS_TEXT:Lnet/minecraft/text/Text;
    • ALLOW_COMMANDS_INFO_TEXT

      static final Text ALLOW_COMMANDS_INFO_TEXT
      Mappings:
      Namespace Name Mixin selector
      official t Lfcy;t:Ltl;
      intermediary field_42169 Lnet/minecraft/class_525;field_42169: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

      private static final Text PREPARING_TEXT
      Mappings:
      Namespace Name Mixin selector
      official u Lfcy;u:Ltl;
      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;
    • field_42170

      private static final int field_42170
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official v Lfcy;v:I
      intermediary field_42170 Lnet/minecraft/class_525;field_42170:I
      named field_42170 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;field_42170:I
    • field_42171

      private static final int field_42171
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official w Lfcy;w:I
      intermediary field_42171 Lnet/minecraft/class_525;field_42171:I
      named field_42171 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;field_42171:I
    • HEADER_SEPARATOR_TEXTURE

      public static final Identifier HEADER_SEPARATOR_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lfcy;a:Laew;
      intermediary field_43081 Lnet/minecraft/class_525;field_43081:Lnet/minecraft/class_2960;
      named HEADER_SEPARATOR_TEXTURE Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;HEADER_SEPARATOR_TEXTURE:Lnet/minecraft/util/Identifier;
    • LIGHT_DIRT_BACKGROUND_TEXTURE

      public static final Identifier LIGHT_DIRT_BACKGROUND_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official c Lfcy;c:Laew;
      intermediary field_44672 Lnet/minecraft/class_525;field_44672:Lnet/minecraft/class_2960;
      named LIGHT_DIRT_BACKGROUND_TEXTURE Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;LIGHT_DIRT_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
    • worldCreator

      final WorldCreator worldCreator
      Mappings:
      Namespace Name Mixin selector
      official x Lfcy;x:Lfdh;
      intermediary field_42172 Lnet/minecraft/class_525;field_42172:Lnet/minecraft/class_8100;
      named worldCreator Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;worldCreator:Lnet/minecraft/client/gui/screen/world/WorldCreator;
    • tabManager

      private final TabManager tabManager
      Mappings:
      Namespace Name Mixin selector
      official y Lfcy;y:Leur;
      intermediary field_42173 Lnet/minecraft/class_525;field_42173:Lnet/minecraft/class_8088;
      named tabManager Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;tabManager:Lnet/minecraft/client/gui/tab/TabManager;
    • recreated

      private boolean recreated
      Mappings:
      Namespace Name Mixin selector
      official z Lfcy;z:Z
      intermediary field_42502 Lnet/minecraft/class_525;field_42502:Z
      named recreated Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;recreated:Z
    • symlinkFinder

      private final SymlinkFinder symlinkFinder
      Mappings:
      Namespace Name Mixin selector
      official A Lfcy;A:Lehd;
      intermediary field_45568 Lnet/minecraft/class_525;field_45568:Lnet/minecraft/class_8580;
      named symlinkFinder Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;symlinkFinder:Lnet/minecraft/util/path/SymlinkFinder;
    • parent

      @Nullable private final @Nullable Screen parent
      Mappings:
      Namespace Name Mixin selector
      official B Lfcy;B:Leyk;
      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;
    • dataPackTempDir

      @Nullable private @Nullable Path dataPackTempDir
      Mappings:
      Namespace Name Mixin selector
      official C Lfcy;C: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 D Lfcy;D:Lane;
      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;
    • grid

      Mappings:
      Namespace Name Mixin selector
      official E Lfcy;E:Levy;
      intermediary field_42163 Lnet/minecraft/class_525;field_42163:Lnet/minecraft/class_7845;
      named grid Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;grid:Lnet/minecraft/client/gui/widget/GridWidget;
    • tabNavigation

      @Nullable private @Nullable TabNavigationWidget tabNavigation
      Mappings:
      Namespace Name Mixin selector
      official F Lfcy;F:Leus;
      intermediary field_42164 Lnet/minecraft/class_525;field_42164:Lnet/minecraft/class_8089;
      named tabNavigation Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;tabNavigation:Lnet/minecraft/client/gui/widget/TabNavigationWidget;
  • Constructor Details

    • CreateWorldScreen

      private CreateWorldScreen(MinecraftClient client, @Nullable @Nullable Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> defaultWorldType, OptionalLong seed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfcy;<init>(Leqv;Leyk;Lfdg;Ljava/util/Optional;Ljava/util/OptionalLong;)V
      intermediary <init> Lnet/minecraft/class_525;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_437;Lnet/minecraft/class_7193;Ljava/util/Optional;Ljava/util/OptionalLong;)V
      named <init> Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/util/Optional;Ljava/util/OptionalLong;)V
  • Method Details

    • create

      public static void create(MinecraftClient client, @Nullable @Nullable Screen parent)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcy;a(Leqv;Leyk;)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(MinecraftClient client, @Nullable @Nullable Screen parent, LevelInfo levelInfo, GeneratorOptionsHolder generatorOptionsHolder, @Nullable @Nullable Path dataPackTempDir)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcy;a(Leqv;Leyk;Lcpz;Lfdg;Ljava/nio/file/Path;)Lfcy;
      intermediary method_40212 Lnet/minecraft/class_525;method_40212(Lnet/minecraft/class_310;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/MinecraftClient;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;
    • getWorldCreator

      public WorldCreator getWorldCreator()
      Mappings:
      Namespace Name Mixin selector
      official l Lfcy;l()Lfdh;
      intermediary method_48657 Lnet/minecraft/class_525;method_48657()Lnet/minecraft/class_8100;
      named getWorldCreator Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;getWorldCreator()Lnet/minecraft/client/gui/screen/world/WorldCreator;
    • 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.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aH_ Leyk;aH_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • initTabNavigation

      public void initTabNavigation()
      Overrides:
      initTabNavigation in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Leyk;b()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      named initTabNavigation Lnet/minecraft/client/gui/screen/Screen;initTabNavigation()V
    • showMessage

      private static void showMessage(MinecraftClient client, Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcy;a(Leqv;Ltl;)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 E Lfcy;E()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 Lfcy;a(Leck$a;Lhl;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

      private LevelInfo createLevelInfo(boolean debugWorld)
      Mappings:
      Namespace Name Mixin selector
      official c Lfcy;c(Z)Lcpz;
      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;
    • 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 in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class Screen
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - 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 Leuk;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()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official az_ Leyk;az_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
    • onCloseScreen

      public void onCloseScreen()
      Mappings:
      Namespace Name Mixin selector
      official D Lfcy;D()V
      intermediary method_30297 Lnet/minecraft/class_525;method_30297()V
      named onCloseScreen Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;onCloseScreen()V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lets;a(Lesf;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • renderBackgroundTexture

      public void renderBackgroundTexture(DrawContext context)
      Renders the fullscreen background texture of this screen.
      Overrides:
      renderBackgroundTexture in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Leyk;b(Lesf;)V
      intermediary method_25434 Lnet/minecraft/class_437;method_25434(Lnet/minecraft/class_332;)V
      named renderBackgroundTexture Lnet/minecraft/client/gui/screen/Screen;renderBackgroundTexture(Lnet/minecraft/client/gui/DrawContext;)V
    • addSelectableChild

      protected <T extends Element & Selectable> T addSelectableChild(T child)
      Overrides:
      addSelectableChild in class Screen
      Mappings:
      Namespace Name Mixin selector
      official e Leyk;e(Leuk;)Leuk;
      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

      protected <T extends Element & Drawable & Selectable> T addDrawableChild(T drawableElement)
      Overrides:
      addDrawableChild in class Screen
      Mappings:
      Namespace Name Mixin selector
      official d Leyk;d(Leuk;)Leuk;
      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

      @Nullable private @Nullable Path getDataPackTempDir()
      Mappings:
      Namespace Name Mixin selector
      official F Lfcy;F()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;
    • openExperimentsScreen

      void openExperimentsScreen(DataConfiguration dataConfiguration)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcy;a(Lcqo;)V
      intermediary method_49010 Lnet/minecraft/class_525;method_49010(Lnet/minecraft/class_7712;)V
      named openExperimentsScreen Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;openExperimentsScreen(Lnet/minecraft/resource/DataConfiguration;)V
    • openPackScreen

      void openPackScreen(DataConfiguration dataConfiguration)
      Mappings:
      Namespace Name Mixin selector
      official b Lfcy;b(Lcqo;)V
      intermediary method_29694 Lnet/minecraft/class_525;method_29694(Lnet/minecraft/class_7712;)V
      named openPackScreen Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;openPackScreen(Lnet/minecraft/resource/DataConfiguration;)V
    • applyDataPacks

      private void applyDataPacks(ResourcePackManager dataPackManager, boolean fromPackScreen, Consumer<DataConfiguration> configurationSetter)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcy;a(Lane;ZLjava/util/function/Consumer;)V
      intermediary method_29682 Lnet/minecraft/class_525;method_29682(Lnet/minecraft/class_3283;ZLjava/util/function/Consumer;)V
      named applyDataPacks Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;applyDataPacks(Lnet/minecraft/resource/ResourcePackManager;ZLjava/util/function/Consumer;)V
    • validateDataPacks

      private void validateDataPacks(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration, Consumer<DataConfiguration> configurationSetter)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcy;a(Lane;Lcqo;Ljava/util/function/Consumer;)V
      intermediary method_45679 Lnet/minecraft/class_525;method_45679(Lnet/minecraft/class_3283;Lnet/minecraft/class_7712;Ljava/util/function/Consumer;)V
      named validateDataPacks Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;validateDataPacks(Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/resource/DataConfiguration;Ljava/util/function/Consumer;)V
    • createServerConfig

      private static SaveLoading.ServerConfig createServerConfig(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcy;a(Lane;Lcqo;)Lafq$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 G Lfcy;G()V
      intermediary method_29695 Lnet/minecraft/class_525;method_29695()V
      named clearDataPackTempDir Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;clearDataPackTempDir()V
    • copyDataPack

      private static void copyDataPack(Path srcFolder, Path destFolder, Path dataPackFile)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcy;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

      private Optional<LevelStorage.Session> createSession()
      Mappings:
      Namespace Name Mixin selector
      official H Lfcy;H()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

      @Nullable public static @Nullable Path copyDataPack(Path srcFolder, MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcy;a(Ljava/nio/file/Path;Leqv;)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(DataConfiguration dataConfiguration)
      Mappings:
      Namespace Name Mixin selector
      official c Lfcy;c(Lcqo;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_30296 Lnet/minecraft/class_525;method_30296(Lnet/minecraft/class_7712;)Lcom/mojang/datafixers/util/Pair;
      named getScannedPack Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;getScannedPack(Lnet/minecraft/resource/DataConfiguration;)Lcom/mojang/datafixers/util/Pair;