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
(String levelName, 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
EditWorldScreen.storageSession
Modifier and TypeMethodDescriptionprivate Optional<LevelStorage.Session>
CreateWorldScreen.createSession()
Modifier and TypeMethodDescriptionstatic boolean
EditWorldScreen.backupLevel
(LevelStorage.Session storageSession) static @Nullable OptimizeWorldScreen
OptimizeWorldScreen.create
(MinecraftClient client, BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, boolean eraseCache) ModifierConstructorDescriptionEditWorldScreen
(BooleanConsumer callback, LevelStorage.Session storageSession) private
OptimizeWorldScreen
(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, Registry<DimensionOptions> dimensionOptionsRegistry) -
Uses of LevelStorage.Session in net.minecraft.client.resource
Modifier and TypeMethodDescriptionServerResourcePackProvider.loadServerPack
(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 SaveLoading.ServerConfig
Main.createServerConfig
(ServerPropertiesHandler serverPropertiesHandler, LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) private 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 TypeMethodDescriptionprivate static void
IntegratedServerLoader.close
(LevelStorage.Session session, String levelName) private SaveLoading.DataPacks
IntegratedServerLoader.createDataPackConfig
(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) IntegratedServerLoader.createSaveLoader
(LevelStorage.Session session, boolean safeMode) private SaveLoader
IntegratedServerLoader.createSaveLoader
(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) com.mojang.datafixers.util.Pair<LevelInfo,
GeneratorOptionsHolder> IntegratedServerLoader.loadForRecreation
(LevelStorage.Session session) void
IntegratedServerLoader.start
(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<Spawner> 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.method_52236
(String string) -
Uses of LevelStorage.Session in net.minecraft.world.updater
ModifierConstructorDescriptionWorldUpdater
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, Registry<DimensionOptions> dimensionOptionsRegistry, boolean eraseCache)