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, Registry<DimensionOptions> dimensionOptionsRegistry) 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, Registry<DimensionOptions> dimensionOptionsRegistry) 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 TypeMethodDescriptionIntegratedServerLoader.applyWorldPack
(ServerResourcePackLoader loader, LevelStorage.Session session) 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, boolean canShowBackupPrompt, Runnable onCancel) private void
IntegratedServerLoader.start
(LevelStorage.Session session, 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
ModifierConstructorDescriptionServerChunkManager
(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) ThreadedAnvilChunkStorage
(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) -
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<GameTestBatch> batches, BlockPos pos) ModifierConstructorDescriptionprivate
TestServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Collection<GameTestBatch> batches, 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
ModifierConstructorDescriptionWorldUpdater
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, Registry<DimensionOptions> dimensionOptionsRegistry, boolean eraseCache)