Package net.minecraft.server.integrated
Class IntegratedServerLoader
java.lang.Object
net.minecraft.server.integrated.IntegratedServerLoader
- Mappings:
Namespace Name named net/minecraft/server/integrated/IntegratedServerLoader
intermediary net/minecraft/class_7196
official ftm
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinecraftClient
private static final Logger
private final LevelStorage
private static final UUID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate CompletableFuture
<Void> applyWorldPack
(ServerResourcePackLoader loader, LevelStorage.Session session) private void
checkBackupAndStart
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager, Runnable onCancel) void
createAndStart
(String levelName, LevelInfo levelInfo, GeneratorOptions dynamicRegistryManager, Function<DynamicRegistryManager, DimensionOptionsRegistryHolder> dimensionsRegistrySupplier, Screen screen) private LevelStorage.Session
createSession
(String levelName) load
(com.mojang.serialization.Dynamic<?> levelProperties, boolean safeMode, ResourcePackManager dataPackManager) 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 void
showBackupPromptScreen
(LevelStorage.Session session, boolean customized, Runnable callback, Runnable onCancel) private CompletableFuture
<Boolean> void
private void
start
(LevelStorage.Session session, com.mojang.serialization.Dynamic<?> levelProperties, boolean safeMode, Runnable onCancel) private void
start
(LevelStorage.Session session, Runnable onCancel) private void
start
(LevelStorage.Session session, SaveLoader saveLoader, ServerResourcePackLoader resourcePackLoader, ResourcePackManager dataPackManager, Runnable onCancel) private void
start
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager) private void
start
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager, Runnable onCancel) private void
start
(LevelStorage.Session session, LevelSummary summary, com.mojang.serialization.Dynamic<?> levelProperties, Runnable onCancel) void
startNewWorld
(LevelStorage.Session session, DataPackContents dataPackContents, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager, SaveProperties saveProperties) static void
tryLoad
(MinecraftClient client, CreateWorldScreen parent, com.mojang.serialization.Lifecycle lifecycle, Runnable loader, boolean bypassWarnings)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/server/integrated/IntegratedServerLoader;LOGGER:Lorg/slf4j/Logger;
intermediary field_37913
Lnet/minecraft/class_7196;field_37913:Lorg/slf4j/Logger;
official a
Lftm;a:Lorg/slf4j/Logger;
-
WORLD_PACK_ID
- Mappings:
Namespace Name Mixin selector named WORLD_PACK_ID
Lnet/minecraft/server/integrated/IntegratedServerLoader;WORLD_PACK_ID:Ljava/util/UUID;
intermediary field_47592
Lnet/minecraft/class_7196;field_47592:Ljava/util/UUID;
official b
Lftm;b:Ljava/util/UUID;
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/server/integrated/IntegratedServerLoader;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_37914
Lnet/minecraft/class_7196;field_37914:Lnet/minecraft/class_310;
official c
Lftm;c:Lfgo;
-
storage
- Mappings:
Namespace Name Mixin selector named storage
Lnet/minecraft/server/integrated/IntegratedServerLoader;storage:Lnet/minecraft/world/level/storage/LevelStorage;
intermediary field_37915
Lnet/minecraft/class_7196;field_37915:Lnet/minecraft/class_32;
official d
Lftm;d:Lerf;
-
-
Constructor Details
-
IntegratedServerLoader
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/integrated/IntegratedServerLoader;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/world/level/storage/LevelStorage;)V
intermediary <init>
Lnet/minecraft/class_7196;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_32;)V
official <init>
Lftm;<init>(Lfgo;Lerf;)V
-
-
Method Details
-
createAndStart
public void createAndStart(String levelName, LevelInfo levelInfo, GeneratorOptions dynamicRegistryManager, Function<DynamicRegistryManager, DimensionOptionsRegistryHolder> dimensionsRegistrySupplier, Screen screen) - Mappings:
Namespace Name Mixin selector 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;Lnet/minecraft/client/gui/screen/Screen;)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;Lnet/minecraft/class_437;)V
official a
Lftm;a(Ljava/lang/String;Ldda;Ldzw;Ljava/util/function/Function;Lfod;)V
-
createSession
- Mappings:
Namespace Name Mixin selector named createSession
Lnet/minecraft/server/integrated/IntegratedServerLoader;createSession(Ljava/lang/String;)Lnet/minecraft/world/level/storage/LevelStorage$Session;
intermediary method_41901
Lnet/minecraft/class_7196;method_41901(Ljava/lang/String;)Lnet/minecraft/class_32$class_5143;
official a
Lftm;a(Ljava/lang/String;)Lerf$c;
-
startNewWorld
public void startNewWorld(LevelStorage.Session session, DataPackContents dataPackContents, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager, SaveProperties saveProperties) - Mappings:
Namespace Name Mixin selector named startNewWorld
Lnet/minecraft/server/integrated/IntegratedServerLoader;startNewWorld(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/server/DataPackContents;Lnet/minecraft/registry/CombinedDynamicRegistries;Lnet/minecraft/world/SaveProperties;)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
official a
Lftm;a(Lerf$c;Lalc;Ljt;Lerl;)V
-
load
public SaveLoader load(com.mojang.serialization.Dynamic<?> levelProperties, boolean safeMode, ResourcePackManager dataPackManager) throws Exception - Throws:
Exception
- Mappings:
Namespace Name Mixin selector named load
Lnet/minecraft/server/integrated/IntegratedServerLoader;load(Lcom/mojang/serialization/Dynamic;ZLnet/minecraft/resource/ResourcePackManager;)Lnet/minecraft/server/SaveLoader;
intermediary method_54610
Lnet/minecraft/class_7196;method_54610(Lcom/mojang/serialization/Dynamic;ZLnet/minecraft/class_3283;)Lnet/minecraft/class_6904;
official a
Lftm;a(Lcom/mojang/serialization/Dynamic;ZLatp;)Lalp;
-
loadForRecreation
public com.mojang.datafixers.util.Pair<LevelInfo,GeneratorOptionsHolder> loadForRecreation(LevelStorage.Session session) throws Exception - Throws:
Exception
- Mappings:
Namespace Name Mixin selector named loadForRecreation
Lnet/minecraft/server/integrated/IntegratedServerLoader;loadForRecreation(Lnet/minecraft/world/level/storage/LevelStorage$Session;)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;
official a
Lftm;a(Lerf$c;)Lcom/mojang/datafixers/util/Pair;
-
load
private <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 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;
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;
official a
Lftm;a(Lalo$d;Lalo$f;Lalo$e;)Ljava/lang/Object;
-
showBackupPromptScreen
private void showBackupPromptScreen(LevelStorage.Session session, boolean customized, Runnable callback, Runnable onCancel) - Mappings:
Namespace Name Mixin selector named showBackupPromptScreen
Lnet/minecraft/server/integrated/IntegratedServerLoader;showBackupPromptScreen(Lnet/minecraft/world/level/storage/LevelStorage$Session;ZLjava/lang/Runnable;Ljava/lang/Runnable;)V
intermediary method_41898
Lnet/minecraft/class_7196;method_41898(Lnet/minecraft/class_32$class_5143;ZLjava/lang/Runnable;Ljava/lang/Runnable;)V
official a
Lftm;a(Lerf$c;ZLjava/lang/Runnable;Ljava/lang/Runnable;)V
-
tryLoad
public static void tryLoad(MinecraftClient client, CreateWorldScreen parent, com.mojang.serialization.Lifecycle lifecycle, Runnable loader, boolean bypassWarnings) - Mappings:
Namespace Name Mixin selector 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
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
official a
Lftm;a(Lfgo;Lftc;Lcom/mojang/serialization/Lifecycle;Ljava/lang/Runnable;Z)V
-
start
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Ljava/lang/String;Ljava/lang/Runnable;)V
intermediary method_57784
Lnet/minecraft/class_7196;method_57784(Ljava/lang/String;Ljava/lang/Runnable;)V
official a
Lftm;a(Ljava/lang/String;Ljava/lang/Runnable;)V
-
start
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Ljava/lang/Runnable;)V
intermediary method_57782
Lnet/minecraft/class_7196;method_57782(Lnet/minecraft/class_32$class_5143;Ljava/lang/Runnable;)V
official a
Lftm;a(Lerf$c;Ljava/lang/Runnable;)V
-
start
private void start(LevelStorage.Session session, LevelSummary summary, com.mojang.serialization.Dynamic<?> levelProperties, Runnable onCancel) - Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/world/level/storage/LevelSummary;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;)V
intermediary method_57781
Lnet/minecraft/class_7196;method_57781(Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_34;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;)V
official a
Lftm;a(Lerf$c;Lerg;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;)V
-
start
private void start(LevelStorage.Session session, com.mojang.serialization.Dynamic<?> levelProperties, boolean safeMode, Runnable onCancel) - Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lcom/mojang/serialization/Dynamic;ZLjava/lang/Runnable;)V
intermediary method_57780
Lnet/minecraft/class_7196;method_57780(Lnet/minecraft/class_32$class_5143;Lcom/mojang/serialization/Dynamic;ZLjava/lang/Runnable;)V
official a
Lftm;a(Lerf$c;Lcom/mojang/serialization/Dynamic;ZLjava/lang/Runnable;)V
-
checkBackupAndStart
private void checkBackupAndStart(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager, Runnable onCancel) - Mappings:
Namespace Name Mixin selector named checkBackupAndStart
Lnet/minecraft/server/integrated/IntegratedServerLoader;checkBackupAndStart(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/server/SaveLoader;Lnet/minecraft/resource/ResourcePackManager;Ljava/lang/Runnable;)V
intermediary method_57775
Lnet/minecraft/class_7196;method_57775(Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;Ljava/lang/Runnable;)V
official a
Lftm;a(Lerf$c;Lalp;Latp;Ljava/lang/Runnable;)V
-
start
private void start(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager, Runnable onCancel) - Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/server/SaveLoader;Lnet/minecraft/resource/ResourcePackManager;Ljava/lang/Runnable;)V
intermediary method_57787
Lnet/minecraft/class_7196;method_57787(Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;Ljava/lang/Runnable;)V
official b
Lftm;b(Lerf$c;Lalp;Latp;Ljava/lang/Runnable;)V
-
start
private void start(LevelStorage.Session session, SaveLoader saveLoader, ServerResourcePackLoader resourcePackLoader, ResourcePackManager dataPackManager, Runnable onCancel) - Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/server/SaveLoader;Lnet/minecraft/client/resource/server/ServerResourcePackLoader;Lnet/minecraft/resource/ResourcePackManager;Ljava/lang/Runnable;)V
intermediary method_57776
Lnet/minecraft/class_7196;method_57776(Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_1066;Lnet/minecraft/class_3283;Ljava/lang/Runnable;)V
official a
Lftm;a(Lerf$c;Lalp;Lgtc;Latp;Ljava/lang/Runnable;)V
-
start
private void start(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager) - Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/server/SaveLoader;Lnet/minecraft/resource/ResourcePackManager;)V
intermediary method_57773
Lnet/minecraft/class_7196;method_57773(Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_6904;Lnet/minecraft/class_3283;)V
official a
Lftm;a(Lerf$c;Lalp;Latp;)V
-
applyWorldPack
private CompletableFuture<Void> applyWorldPack(ServerResourcePackLoader loader, LevelStorage.Session session) - Mappings:
Namespace Name Mixin selector named applyWorldPack
Lnet/minecraft/server/integrated/IntegratedServerLoader;applyWorldPack(Lnet/minecraft/client/resource/server/ServerResourcePackLoader;Lnet/minecraft/world/level/storage/LevelStorage$Session;)Ljava/util/concurrent/CompletableFuture;
intermediary method_55510
Lnet/minecraft/class_7196;method_55510(Lnet/minecraft/class_1066;Lnet/minecraft/class_32$class_5143;)Ljava/util/concurrent/CompletableFuture;
official a
Lftm;a(Lgtc;Lerf$c;)Ljava/util/concurrent/CompletableFuture;
-
showPackLoadFailureScreen
- Mappings:
Namespace Name Mixin selector named showPackLoadFailureScreen
Lnet/minecraft/server/integrated/IntegratedServerLoader;showPackLoadFailureScreen()Ljava/util/concurrent/CompletableFuture;
intermediary method_43324
Lnet/minecraft/class_7196;method_43324()Ljava/util/concurrent/CompletableFuture;
official a
Lftm;a()Ljava/util/concurrent/CompletableFuture;
-