Package net.minecraft.server.integrated
Class IntegratedServerLoader
java.lang.Object
net.minecraft.server.integrated.IntegratedServerLoader
- Mappings:
Namespace Name official eok
intermediary net/minecraft/class_7196
named net/minecraft/server/integrated/IntegratedServerLoader
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinecraftClient
private static final org.slf4j.Logger
private final LevelStorage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
close
(LevelStorage.Session session, String levelName) void
createAndStart
(String levelName, LevelInfo levelInfo, DynamicRegistryManager dynamicRegistryManager, GeneratorOptions generatorOptions) private static ResourcePackManager
private SaveLoader
createSaveLoader
(SaveLoading.DataPacks dataPacks, SaveLoading.LoadContextSupplier<SaveProperties> savePropertiesSupplier) createSaveLoader
(LevelStorage.Session session, boolean safeMode) private SaveLoader
createSaveLoader
(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) private LevelStorage.Session
createSession
(String levelName) private void
showBackupPromptScreen
(Screen parent, String levelName, boolean customized, Runnable callback) private CompletableFuture<Boolean>
void
private void
void
start
(LevelStorage.Session session, DataPackContents dataPackContents, DynamicRegistryManager.Immutable dynamicRegistryManager, SaveProperties saveProperties) static void
tryLoad
(MinecraftClient client, CreateWorldScreen parent, com.mojang.serialization.Lifecycle lifecycle, Runnable loader)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official a
Leok;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
Leok;b:Leev;
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
Leok;c:Ldqt;
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>
Leok;<init>(Leev;Ldqt;)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
Leok;a(Lekj;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
-
createAndStart
public void createAndStart(String levelName, LevelInfo levelInfo, DynamicRegistryManager dynamicRegistryManager, GeneratorOptions generatorOptions) - Mappings:
Namespace Name Mixin selector official a
Leok;a(Ljava/lang/String;Lcge;Lhn;Ldap;)V
intermediary method_41895
Lnet/minecraft/class_7196;method_41895(Ljava/lang/String;Lnet/minecraft/class_1940;Lnet/minecraft/class_5455;Lnet/minecraft/class_5285;)V
named createAndStart
Lnet/minecraft/server/integrated/IntegratedServerLoader;createAndStart(Ljava/lang/String;Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/world/gen/GeneratorOptions;)V
-
createSession
- Mappings:
Namespace Name Mixin selector official a
Leok;a(Ljava/lang/String;)Ldqt$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;
-
start
public void start(LevelStorage.Session session, DataPackContents dataPackContents, DynamicRegistryManager.Immutable dynamicRegistryManager, SaveProperties saveProperties) - Mappings:
Namespace Name Mixin selector official a
Leok;a(Ldqt$c;Laas;Lhn$a;Ldqz;)V
intermediary method_41889
Lnet/minecraft/class_7196;method_41889(Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5350;Lnet/minecraft/class_5455$class_6890;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/util/registry/DynamicRegistryManager$Immutable;Lnet/minecraft/world/SaveProperties;)V
-
createDataPackManager
- Mappings:
Namespace Name Mixin selector official a
Leok;a(Ldqt$c;)Lahg;
intermediary method_41886
Lnet/minecraft/class_7196;method_41886(Lnet/minecraft/class_32$class_5143;)Lnet/minecraft/class_3283;
named createDataPackManager
Lnet/minecraft/server/integrated/IntegratedServerLoader;createDataPackManager(Lnet/minecraft/world/level/storage/LevelStorage$Session;)Lnet/minecraft/resource/ResourcePackManager;
-
createSaveLoader
private SaveLoader createSaveLoader(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) throws Exception - Throws:
Exception
- Mappings:
Namespace Name Mixin selector official a
Leok;a(Ldqt$c;ZLahg;)Labc;
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;
-
createSaveLoader
- Throws:
Exception
- Mappings:
Namespace Name Mixin selector official a
Leok;a(Ldqt$c;Z)Labc;
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;
-
createSaveLoader
private SaveLoader createSaveLoader(SaveLoading.DataPacks dataPacks, SaveLoading.LoadContextSupplier<SaveProperties> savePropertiesSupplier) throws Exception - Throws:
Exception
- Mappings:
Namespace Name Mixin selector official a
Leok;a(Labb$b;Labb$d;)Labc;
intermediary method_41900
Lnet/minecraft/class_7196;method_41900(Lnet/minecraft/class_7237$class_7238;Lnet/minecraft/class_7237$class_6907;)Lnet/minecraft/class_6904;
named createSaveLoader
Lnet/minecraft/server/integrated/IntegratedServerLoader;createSaveLoader(Lnet/minecraft/server/SaveLoading$DataPacks;Lnet/minecraft/server/SaveLoading$LoadContextSupplier;)Lnet/minecraft/server/SaveLoader;
-
start
- Mappings:
Namespace Name Mixin selector official a
Leok;a(Lekj;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
Leok;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
Leok;a(Ldqt$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
-
showBackupPromptScreen
private void showBackupPromptScreen(Screen parent, String levelName, boolean customized, Runnable callback) - Mappings:
Namespace Name Mixin selector official a
Leok;a(Lekj;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
-
tryLoad
public static void tryLoad(MinecraftClient client, CreateWorldScreen parent, com.mojang.serialization.Lifecycle lifecycle, Runnable loader) - Mappings:
Namespace Name Mixin selector official a
Leok;a(Leev;Leoc;Lcom/mojang/serialization/Lifecycle;Ljava/lang/Runnable;)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;)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;)V
-