Uses of Class
net.minecraft.world.level.storage.LevelStorage.Session
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of LevelStorage.Session in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
MinecraftClient.startIntegratedServer
(LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, boolean newWorld) -
Uses of LevelStorage.Session in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate final LevelStorage.Session
RecoverWorldScreen.session
private final LevelStorage.Session
EditWorldScreen.storageSession
Modifier and TypeMethodDescriptionprivate Optional
<LevelStorage.Session> CreateWorldScreen.createSession()
Modifier and TypeMethodDescriptionstatic boolean
EditWorldScreen.backupLevel
(LevelStorage.Session storageSession) static EditWorldScreen
EditWorldScreen.create
(MinecraftClient client, LevelStorage.Session session, BooleanConsumer callback) static @Nullable OptimizeWorldScreen
OptimizeWorldScreen.create
(MinecraftClient client, BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, boolean eraseCache) RecoverWorldScreen.getLoadingException
(LevelStorage.Session session, boolean old) private Text
RecoverWorldScreen.toText
(LevelStorage.Session session, boolean old, @Nullable Exception exception) ModifierConstructorDescriptionprivate
EditWorldScreen
(MinecraftClient client, LevelStorage.Session session, String levelName, BooleanConsumer callback) private
OptimizeWorldScreen
(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, DynamicRegistryManager registryManager) RecoverWorldScreen
(MinecraftClient client, BooleanConsumer callback, LevelStorage.Session session) -
Uses of LevelStorage.Session in net.minecraft.resource
Modifier and TypeMethodDescriptionstatic ResourcePackManager
VanillaDataPackProvider.createManager
(LevelStorage.Session session) -
Uses of LevelStorage.Session in net.minecraft.server
Modifier and TypeMethodDescriptionprivate static void
Main.forceUpgradeWorld
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, boolean eraseCache, BooleanSupplier continueCheck, DynamicRegistryManager dynamicRegistryManager, boolean recreateRegionFiles) ModifierConstructorDescriptionMinecraftServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Proxy proxy, com.mojang.datafixers.DataFixer dataFixer, ApiServices apiServices, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) -
Uses of LevelStorage.Session in net.minecraft.server.dedicated
ModifierConstructorDescriptionMinecraftDedicatedServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, ServerPropertiesLoader propertiesLoader, com.mojang.datafixers.DataFixer dataFixer, ApiServices apiServices, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) -
Uses of LevelStorage.Session in net.minecraft.server.integrated
Modifier and TypeMethodDescriptionprivate LevelStorage.Session
IntegratedServerLoader.createSession
(String levelName) Modifier and TypeMethodDescriptionprivate CompletableFuture
<Void> IntegratedServerLoader.applyWorldPack
(ServerResourcePackLoader loader, LevelStorage.Session session) private void
IntegratedServerLoader.checkBackupAndStart
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager, Runnable onCancel) com.mojang.datafixers.util.Pair
<LevelInfo, GeneratorOptionsHolder> IntegratedServerLoader.loadForRecreation
(LevelStorage.Session session) private void
IntegratedServerLoader.showBackupPromptScreen
(LevelStorage.Session session, boolean customized, Runnable callback, Runnable onCancel) private void
IntegratedServerLoader.start
(LevelStorage.Session session, com.mojang.serialization.Dynamic<?> levelProperties, boolean safeMode, Runnable onCancel) private void
IntegratedServerLoader.start
(LevelStorage.Session session, Runnable onCancel) private void
IntegratedServerLoader.start
(LevelStorage.Session session, SaveLoader saveLoader, ServerResourcePackLoader resourcePackLoader, ResourcePackManager dataPackManager, Runnable onCancel) private void
IntegratedServerLoader.start
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager) private void
IntegratedServerLoader.start
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager, Runnable onCancel) private void
IntegratedServerLoader.start
(LevelStorage.Session session, LevelSummary summary, com.mojang.serialization.Dynamic<?> levelProperties, Runnable onCancel) void
IntegratedServerLoader.startNewWorld
(LevelStorage.Session session, DataPackContents dataPackContents, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager, SaveProperties saveProperties) ModifierConstructorDescriptionIntegratedServer
(Thread serverThread, MinecraftClient client, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, ApiServices apiServices, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) -
Uses of LevelStorage.Session in net.minecraft.server.world
ModifierConstructorDescriptionServerChunkLoadingManager
(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, Executor executor, ThreadExecutor<Runnable> mainThreadExecutor, ChunkProvider chunkProvider, ChunkGenerator chunkGenerator, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory, int viewDistance, boolean dsync) ServerChunkManager
(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, int simulationDistance, boolean dsync, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory) ServerWorld
(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, WorldGenerationProgressListener worldGenerationProgressListener, boolean debugWorld, long seed, List<SpecialSpawner> spawners, boolean shouldTickTime, @Nullable RandomSequencesState randomSequencesState) -
Uses of LevelStorage.Session in net.minecraft.structure
ModifierConstructorDescriptionStructureTemplateManager
(ResourceManager resourceManager, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, RegistryEntryLookup<Block> blockLookup) -
Uses of LevelStorage.Session in net.minecraft.test
Modifier and TypeMethodDescriptionstatic TestServer
TestServer.create
(Thread thread, LevelStorage.Session session, ResourcePackManager resourcePackManager, Collection<TestFunction> batches, BlockPos pos) ModifierConstructorDescriptionprivate
TestServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Collection<TestFunction> testFunctions, BlockPos pos) -
Uses of LevelStorage.Session in net.minecraft.world
ModifierConstructorDescriptionWorldSaveHandler
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer) -
Uses of LevelStorage.Session in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionLevelStorage.createSession
(String directoryName) LevelStorage.createSessionWithoutSymlinkCheck
(String directoryName) -
Uses of LevelStorage.Session in net.minecraft.world.updater
Modifier and TypeFieldDescription(package private) final LevelStorage.Session
WorldUpdater.session
ModifierConstructorDescriptionWorldUpdater
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, DynamicRegistryManager dynamicRegistryManager, boolean eraseCache, boolean recreateRegionFiles)