Package net.minecraft.server.integrated
Class IntegratedServerLoader
java.lang.Object
net.minecraft.server.integrated.IntegratedServerLoader
- Mappings:
- Namespace - Name - official - ezk- intermediary - net/minecraft/class_7196- named - net/minecraft/server/integrated/IntegratedServerLoader
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate static final Loggerprivate final LevelStorage
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static voidclose(LevelStorage.Session session, String levelName) voidcreateAndStart(String levelName, LevelInfo levelInfo, GeneratorOptions dynamicRegistryManager, Function<DynamicRegistryManager, DimensionOptionsRegistryHolder> dimensionsRegistrySupplier) private SaveLoading.DataPackscreateDataPackConfig(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) createSaveLoader(LevelStorage.Session session, boolean safeMode) private SaveLoadercreateSaveLoader(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) private LevelStorage.SessioncreateSession(String levelName) private <D,R> R load(SaveLoading.DataPacks dataPacks, SaveLoading.LoadContextSupplier<D> loadContextSupplier, SaveLoading.SaveApplierFactory<D, R> saveApplierFactory) com.mojang.datafixers.util.Pair<LevelInfo,GeneratorOptionsHolder> loadForRecreation(LevelStorage.Session session) private voidshowBackupPromptScreen(Screen parent, String levelName, boolean customized, Runnable callback) private CompletableFuture<Boolean>voidprivate voidvoidstart(LevelStorage.Session session, DataPackContents dataPackContents, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager, SaveProperties saveProperties) static voidtryLoad(MinecraftClient client, CreateWorldScreen parent, com.mojang.serialization.Lifecycle lifecycle, Runnable loader, boolean bypassWarnings) 
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a:Lorg/slf4j/Logger;- intermediary - field_37913- Lnet/minecraft/class_7196;field_37913:Lorg/slf4j/Logger;- named - LOGGER- Lnet/minecraft/server/integrated/IntegratedServerLoader;LOGGER:Lorg/slf4j/Logger;
 
- 
client- Mappings:
- Namespace - Name - Mixin selector - official - b- Lezk;b:Lenn;- intermediary - field_37914- Lnet/minecraft/class_7196;field_37914:Lnet/minecraft/class_310;- named - client- Lnet/minecraft/server/integrated/IntegratedServerLoader;client:Lnet/minecraft/client/MinecraftClient;
 
- 
storage- Mappings:
- Namespace - Name - Mixin selector - official - c- Lezk;c:Ldyy;- intermediary - field_37915- Lnet/minecraft/class_7196;field_37915:Lnet/minecraft/class_32;- named - storage- Lnet/minecraft/server/integrated/IntegratedServerLoader;storage:Lnet/minecraft/world/level/storage/LevelStorage;
 
 
- 
- 
Constructor Details- 
IntegratedServerLoader- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lezk;<init>(Lenn;Ldyy;)V- intermediary - <init>- Lnet/minecraft/class_7196;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_32;)V- named - <init>- Lnet/minecraft/server/integrated/IntegratedServerLoader;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/world/level/storage/LevelStorage;)V
 
 
- 
- 
Method Details- 
start- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Leuq;Ljava/lang/String;)V- intermediary - method_41894- Lnet/minecraft/class_7196;method_41894(Lnet/minecraft/class_437;Ljava/lang/String;)V- named - start- Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;)V
 
- 
createAndStartpublic void createAndStart(String levelName, LevelInfo levelInfo, GeneratorOptions dynamicRegistryManager, Function<DynamicRegistryManager, DimensionOptionsRegistryHolder> dimensionsRegistrySupplier) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Ljava/lang/String;Lcmq;Ldii;Ljava/util/function/Function;)V- intermediary - method_41895- Lnet/minecraft/class_7196;method_41895(Ljava/lang/String;Lnet/minecraft/class_1940;Lnet/minecraft/class_5285;Ljava/util/function/Function;)V- named - createAndStart- Lnet/minecraft/server/integrated/IntegratedServerLoader;createAndStart(Ljava/lang/String;Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/gen/GeneratorOptions;Ljava/util/function/Function;)V
 
- 
createSession- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Ljava/lang/String;)Ldyy$c;- intermediary - method_41901- Lnet/minecraft/class_7196;method_41901(Ljava/lang/String;)Lnet/minecraft/class_32$class_5143;- named - createSession- Lnet/minecraft/server/integrated/IntegratedServerLoader;createSession(Ljava/lang/String;)Lnet/minecraft/world/level/storage/LevelStorage$Session;
 
- 
startpublic void start(LevelStorage.Session session, DataPackContents dataPackContents, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager, SaveProperties saveProperties) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Ldyy$c;Lada;Lhl;Ldze;)V- intermediary - method_41889- Lnet/minecraft/class_7196;method_41889(Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5350;Lnet/minecraft/class_7780;Lnet/minecraft/class_5219;)V- named - start- Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/server/DataPackContents;Lnet/minecraft/registry/CombinedDynamicRegistries;Lnet/minecraft/world/SaveProperties;)V
 
- 
createSaveLoaderprivate SaveLoader createSaveLoader(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) throws Exception - Throws:
- Exception
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Ldyy$c;ZLaki;)Ladk;- intermediary - method_41891- Lnet/minecraft/class_7196;method_41891(Lnet/minecraft/class_32$class_5143;ZLnet/minecraft/class_3283;)Lnet/minecraft/class_6904;- named - createSaveLoader- Lnet/minecraft/server/integrated/IntegratedServerLoader;createSaveLoader(Lnet/minecraft/world/level/storage/LevelStorage$Session;ZLnet/minecraft/resource/ResourcePackManager;)Lnet/minecraft/server/SaveLoader;
 
- 
loadForRecreationpublic com.mojang.datafixers.util.Pair<LevelInfo,GeneratorOptionsHolder> loadForRecreation(LevelStorage.Session session) throws Exception - Throws:
- Exception
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Ldyy$c;)Lcom/mojang/datafixers/util/Pair;- intermediary - method_45696- Lnet/minecraft/class_7196;method_45696(Lnet/minecraft/class_32$class_5143;)Lcom/mojang/datafixers/util/Pair;- named - loadForRecreation- Lnet/minecraft/server/integrated/IntegratedServerLoader;loadForRecreation(Lnet/minecraft/world/level/storage/LevelStorage$Session;)Lcom/mojang/datafixers/util/Pair;
 
- 
createDataPackConfigprivate SaveLoading.DataPacks createDataPackConfig(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) - Mappings:
- Namespace - Name - Mixin selector - official - b- Lezk;b(Ldyy$c;ZLaki;)Ladj$d;- intermediary - method_45700- Lnet/minecraft/class_7196;method_45700(Lnet/minecraft/class_32$class_5143;ZLnet/minecraft/class_3283;)Lnet/minecraft/class_7237$class_7238;- named - createDataPackConfig- Lnet/minecraft/server/integrated/IntegratedServerLoader;createDataPackConfig(Lnet/minecraft/world/level/storage/LevelStorage$Session;ZLnet/minecraft/resource/ResourcePackManager;)Lnet/minecraft/server/SaveLoading$DataPacks;
 
- 
createSaveLoader- Throws:
- Exception
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Ldyy$c;Z)Ladk;- intermediary - method_41890- Lnet/minecraft/class_7196;method_41890(Lnet/minecraft/class_32$class_5143;Z)Lnet/minecraft/class_6904;- named - createSaveLoader- Lnet/minecraft/server/integrated/IntegratedServerLoader;createSaveLoader(Lnet/minecraft/world/level/storage/LevelStorage$Session;Z)Lnet/minecraft/server/SaveLoader;
 
- 
loadprivate <D,R> R load(SaveLoading.DataPacks dataPacks, SaveLoading.LoadContextSupplier<D> loadContextSupplier, SaveLoading.SaveApplierFactory<D, R> saveApplierFactory) throws Exception- Throws:
- Exception
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Ladj$d;Ladj$f;Ladj$e;)Ljava/lang/Object;- intermediary - method_45694- Lnet/minecraft/class_7196;method_45694(Lnet/minecraft/class_7237$class_7238;Lnet/minecraft/class_7237$class_6907;Lnet/minecraft/class_7237$class_7239;)Ljava/lang/Object;- named - load- Lnet/minecraft/server/integrated/IntegratedServerLoader;load(Lnet/minecraft/server/SaveLoading$DataPacks;Lnet/minecraft/server/SaveLoading$LoadContextSupplier;Lnet/minecraft/server/SaveLoading$SaveApplierFactory;)Ljava/lang/Object;
 
- 
start- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Leuq;Ljava/lang/String;ZZ)V- intermediary - method_41899- Lnet/minecraft/class_7196;method_41899(Lnet/minecraft/class_437;Ljava/lang/String;ZZ)V- named - start- Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;ZZ)V
 
- 
showPackLoadFailureScreen- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a()Ljava/util/concurrent/CompletableFuture;- intermediary - method_43324- Lnet/minecraft/class_7196;method_43324()Ljava/util/concurrent/CompletableFuture;- named - showPackLoadFailureScreen- Lnet/minecraft/server/integrated/IntegratedServerLoader;showPackLoadFailureScreen()Ljava/util/concurrent/CompletableFuture;
 
- 
close- Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Ldyy$c;Ljava/lang/String;)V- intermediary - method_41888- Lnet/minecraft/class_7196;method_41888(Lnet/minecraft/class_32$class_5143;Ljava/lang/String;)V- named - close- Lnet/minecraft/server/integrated/IntegratedServerLoader;close(Lnet/minecraft/world/level/storage/LevelStorage$Session;Ljava/lang/String;)V
 
- 
showBackupPromptScreenprivate void showBackupPromptScreen(Screen parent, String levelName, boolean customized, Runnable callback) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Leuq;Ljava/lang/String;ZLjava/lang/Runnable;)V- intermediary - method_41898- Lnet/minecraft/class_7196;method_41898(Lnet/minecraft/class_437;Ljava/lang/String;ZLjava/lang/Runnable;)V- named - showBackupPromptScreen- Lnet/minecraft/server/integrated/IntegratedServerLoader;showBackupPromptScreen(Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;ZLjava/lang/Runnable;)V
 
- 
tryLoadpublic static void tryLoad(MinecraftClient client, CreateWorldScreen parent, com.mojang.serialization.Lifecycle lifecycle, Runnable loader, boolean bypassWarnings) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lezk;a(Lenn;Leza;Lcom/mojang/serialization/Lifecycle;Ljava/lang/Runnable;Z)V- intermediary - method_41892- Lnet/minecraft/class_7196;method_41892(Lnet/minecraft/class_310;Lnet/minecraft/class_525;Lcom/mojang/serialization/Lifecycle;Ljava/lang/Runnable;Z)V- named - tryLoad- Lnet/minecraft/server/integrated/IntegratedServerLoader;tryLoad(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;Lcom/mojang/serialization/Lifecycle;Ljava/lang/Runnable;Z)V
 
 
-