Class WorldOpenFlows
java.lang.Object
net.minecraft.client.gui.screens.worldselection.WorldOpenFlows
-
Field Summary
Modifier and TypeFieldDescriptionprivate final LevelStorageSource
private static final org.slf4j.Logger
private final Minecraft
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
askForBackup
(Screen p_233141_, String p_233142_, boolean p_233143_, Runnable p_233144_) static void
confirmWorldCreation
(Minecraft p_233127_, CreateWorldScreen p_233128_, com.mojang.serialization.Lifecycle p_233129_, Runnable p_233130_) void
createFreshLevel
(String p_233158_, LevelSettings p_233159_, RegistryAccess p_233160_, WorldGenSettings p_233161_) void
createLevelFromExistingSettings
(LevelStorageSource.LevelStorageAccess p_233108_, ReloadableServerResources p_233109_, RegistryAccess.Frozen p_233110_, WorldData p_233111_) private static PackRepository
createWorldAccess
(String p_233156_) private void
doLoadLevel
(Screen p_233146_, String p_233147_, boolean p_233148_, boolean p_233149_) private void
doLoadLevel
(Screen p_233146_, String p_233147_, boolean p_233148_, boolean p_233149_, boolean confirmExperimentalWarning) void
private WorldStem
loadWorldStem
(WorldLoader.PackConfig p_233097_, WorldLoader.WorldDataSupplier<WorldData> p_233098_) loadWorldStem
(LevelStorageSource.LevelStorageAccess p_233120_, boolean p_233121_) private WorldStem
loadWorldStem
(LevelStorageSource.LevelStorageAccess p_233123_, boolean p_233124_, PackRepository p_233125_) private CompletableFuture<Boolean>
private static void
safeCloseAccess
(LevelStorageSource.LevelStorageAccess p_233117_, String p_233118_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
minecraft
-
levelSource
-
-
Constructor Details
-
WorldOpenFlows
-
-
Method Details
-
loadLevel
-
createFreshLevel
public void createFreshLevel(String p_233158_, LevelSettings p_233159_, RegistryAccess p_233160_, WorldGenSettings p_233161_) -
createWorldAccess
-
createLevelFromExistingSettings
public void createLevelFromExistingSettings(LevelStorageSource.LevelStorageAccess p_233108_, ReloadableServerResources p_233109_, RegistryAccess.Frozen p_233110_, WorldData p_233111_) -
createPackRepository
-
loadWorldStem
private WorldStem loadWorldStem(LevelStorageSource.LevelStorageAccess p_233123_, boolean p_233124_, PackRepository p_233125_) throws Exception - Throws:
Exception
-
loadWorldStem
public WorldStem loadWorldStem(LevelStorageSource.LevelStorageAccess p_233120_, boolean p_233121_) throws Exception - Throws:
Exception
-
loadWorldStem
private WorldStem loadWorldStem(WorldLoader.PackConfig p_233097_, WorldLoader.WorldDataSupplier<WorldData> p_233098_) throws Exception - Throws:
Exception
-
doLoadLevel
-
doLoadLevel
-
promptBundledPackLoadFailure
-
safeCloseAccess
private static void safeCloseAccess(LevelStorageSource.LevelStorageAccess p_233117_, String p_233118_) -
askForBackup
-
confirmWorldCreation
public static void confirmWorldCreation(Minecraft p_233127_, CreateWorldScreen p_233128_, com.mojang.serialization.Lifecycle p_233129_, Runnable p_233130_)
-