Package net.minecraft.server.integrated
Class IntegratedServerLoader
java.lang.Object
net.minecraft.server.integrated.IntegratedServerLoader
- Mappings:
Namespace Name official fon
intermediary net/minecraft/class_7196
named net/minecraft/server/integrated/IntegratedServerLoader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClient
private static final Logger
private final LevelStorage
private static final UUID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate CompletableFuture
<Void> applyWorldPack
(ServerResourcePackLoader loader, LevelStorage.Session session) 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
method_57773
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager resourcePackManager) private void
method_57775
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager resourcePackManager, Runnable runnable) private void
method_57776
(LevelStorage.Session session, SaveLoader saveLoader, ServerResourcePackLoader serverResourcePackLoader, ResourcePackManager resourcePackManager, Runnable runnable) private void
method_57780
(LevelStorage.Session session, com.mojang.serialization.Dynamic<?> dynamic, boolean bool, Runnable runnable) private void
method_57781
(LevelStorage.Session session, LevelSummary levelSummary, com.mojang.serialization.Dynamic<?> dynamic, Runnable runnable) private void
method_57782
(LevelStorage.Session session, Runnable runnable) void
method_57784
(String string, Runnable runnable) private void
method_57787
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager resourcePackManager, Runnable runnable) private void
showBackupPromptScreen
(LevelStorage.Session session, boolean customized, Runnable callback, Runnable onCancel) private CompletableFuture
<Boolean> 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 official a
Lfon;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;
-
WORLD_PACK_ID
- Mappings:
Namespace Name Mixin selector official b
Lfon;b:Ljava/util/UUID;
intermediary field_47592
Lnet/minecraft/class_7196;field_47592:Ljava/util/UUID;
named WORLD_PACK_ID
Lnet/minecraft/server/integrated/IntegratedServerLoader;WORLD_PACK_ID:Ljava/util/UUID;
-
client
- Mappings:
Namespace Name Mixin selector official c
Lfon;c:Lfbp;
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 d
Lfon;d:Lemr;
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>
Lfon;<init>(Lfbp;Lemr;)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
-
createAndStart
public void createAndStart(String levelName, LevelInfo levelInfo, GeneratorOptions dynamicRegistryManager, Function<DynamicRegistryManager, DimensionOptionsRegistryHolder> dimensionsRegistrySupplier, Screen screen) - Mappings:
Namespace Name Mixin selector official a
Lfon;a(Ljava/lang/String;Lczb;Ldvp;Ljava/util/function/Function;Lfjo;)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
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
-
createSession
- Mappings:
Namespace Name Mixin selector official a
Lfon;a(Ljava/lang/String;)Lemr$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;
-
startNewWorld
public void startNewWorld(LevelStorage.Session session, DataPackContents dataPackContents, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager, SaveProperties saveProperties) - Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lemr$c;Lakd;Lis;Lemx;)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 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
-
load
public SaveLoader load(com.mojang.serialization.Dynamic<?> levelProperties, boolean safeMode, ResourcePackManager dataPackManager) throws Exception - Throws:
Exception
- Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lcom/mojang/serialization/Dynamic;ZLasn;)Lakp;
intermediary method_54610
Lnet/minecraft/class_7196;method_54610(Lcom/mojang/serialization/Dynamic;ZLnet/minecraft/class_3283;)Lnet/minecraft/class_6904;
named load
Lnet/minecraft/server/integrated/IntegratedServerLoader;load(Lcom/mojang/serialization/Dynamic;ZLnet/minecraft/resource/ResourcePackManager;)Lnet/minecraft/server/SaveLoader;
-
loadForRecreation
public com.mojang.datafixers.util.Pair<LevelInfo,GeneratorOptionsHolder> loadForRecreation(LevelStorage.Session session) throws Exception - Throws:
Exception
- Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lemr$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;
-
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 official a
Lfon;a(Lako$d;Lako$f;Lako$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;
-
showBackupPromptScreen
private void showBackupPromptScreen(LevelStorage.Session session, boolean customized, Runnable callback, Runnable onCancel) - Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lemr$c;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
named showBackupPromptScreen
Lnet/minecraft/server/integrated/IntegratedServerLoader;showBackupPromptScreen(Lnet/minecraft/world/level/storage/LevelStorage$Session;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 official a
Lfon;a(Lfbp;Lfod;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
-
method_57784
- Mappings:
Namespace Name Mixin selector official a
Lfon;a(Ljava/lang/String;Ljava/lang/Runnable;)V
intermediary method_57784
Lnet/minecraft/class_7196;method_57784(Ljava/lang/String;Ljava/lang/Runnable;)V
named method_57784
Lnet/minecraft/server/integrated/IntegratedServerLoader;method_57784(Ljava/lang/String;Ljava/lang/Runnable;)V
-
method_57782
- Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lemr$c;Ljava/lang/Runnable;)V
intermediary method_57782
Lnet/minecraft/class_7196;method_57782(Lnet/minecraft/class_32$class_5143;Ljava/lang/Runnable;)V
named method_57782
Lnet/minecraft/server/integrated/IntegratedServerLoader;method_57782(Lnet/minecraft/world/level/storage/LevelStorage$Session;Ljava/lang/Runnable;)V
-
method_57781
private void method_57781(LevelStorage.Session session, LevelSummary levelSummary, com.mojang.serialization.Dynamic<?> dynamic, Runnable runnable) - Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lemr$c;Lems;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
named method_57781
Lnet/minecraft/server/integrated/IntegratedServerLoader;method_57781(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/world/level/storage/LevelSummary;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;)V
-
method_57780
private void method_57780(LevelStorage.Session session, com.mojang.serialization.Dynamic<?> dynamic, boolean bool, Runnable runnable) - Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lemr$c;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
named method_57780
Lnet/minecraft/server/integrated/IntegratedServerLoader;method_57780(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lcom/mojang/serialization/Dynamic;ZLjava/lang/Runnable;)V
-
method_57775
private void method_57775(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager resourcePackManager, Runnable runnable) - Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lemr$c;Lakp;Lasn;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
named method_57775
Lnet/minecraft/server/integrated/IntegratedServerLoader;method_57775(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/server/SaveLoader;Lnet/minecraft/resource/ResourcePackManager;Ljava/lang/Runnable;)V
-
method_57787
private void method_57787(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager resourcePackManager, Runnable runnable) - Mappings:
Namespace Name Mixin selector official b
Lfon;b(Lemr$c;Lakp;Lasn;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
named method_57787
Lnet/minecraft/server/integrated/IntegratedServerLoader;method_57787(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/server/SaveLoader;Lnet/minecraft/resource/ResourcePackManager;Ljava/lang/Runnable;)V
-
method_57776
private void method_57776(LevelStorage.Session session, SaveLoader saveLoader, ServerResourcePackLoader serverResourcePackLoader, ResourcePackManager resourcePackManager, Runnable runnable) - Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lemr$c;Lakp;Lgny;Lasn;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
named method_57776
Lnet/minecraft/server/integrated/IntegratedServerLoader;method_57776(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
-
method_57773
private void method_57773(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager resourcePackManager) - Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lemr$c;Lakp;Lasn;)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
named method_57773
Lnet/minecraft/server/integrated/IntegratedServerLoader;method_57773(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/server/SaveLoader;Lnet/minecraft/resource/ResourcePackManager;)V
-
applyWorldPack
private CompletableFuture<Void> applyWorldPack(ServerResourcePackLoader loader, LevelStorage.Session session) - Mappings:
Namespace Name Mixin selector official a
Lfon;a(Lgny;Lemr$c;)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;
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;
-
showPackLoadFailureScreen
- Mappings:
Namespace Name Mixin selector official a
Lfon;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;
-