Class IntegratedServerLoader

java.lang.Object
net.minecraft.server.integrated.IntegratedServerLoader

@Environment(CLIENT) public class IntegratedServerLoader extends Object
Mappings:
Namespace Name
official fib
intermediary net/minecraft/class_7196
named net/minecraft/server/integrated/IntegratedServerLoader
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lfib;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

      private static final UUID WORLD_PACK_ID
      Mappings:
      Namespace Name Mixin selector
      official b Lfib;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

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official c Lfib;c:Levi;
      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

      private final LevelStorage storage
      Mappings:
      Namespace Name Mixin selector
      official d Lfib;d:Legm;
      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

      public IntegratedServerLoader(MinecraftClient client, LevelStorage storage)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfib;<init>(Levi;Legm;)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 Lfib;a(Ljava/lang/String;Lctt;Ldpo;Ljava/util/function/Function;Lfdb;)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

      @Nullable private LevelStorage.Session createSession(String levelName)
      Mappings:
      Namespace Name Mixin selector
      official a Lfib;a(Ljava/lang/String;)Legm$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 Lfib;a(Legm$c;Lahq;Lio;Legs;)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 Lfib;a(Lcom/mojang/serialization/Dynamic;ZLapt;)Laic;
      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 Lfib;a(Legm$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 Lfib;a(Laib$d;Laib$f;Laib$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 Lfib;a(Legm$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 Lfib;a(Levi;Lfhr;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
    • start

      public void start(String levelName, Runnable onCancel)
      Mappings:
      Namespace Name Mixin selector
      official a Lfib;a(Ljava/lang/String;Ljava/lang/Runnable;)V
      intermediary method_54618 Lnet/minecraft/class_7196;method_54618(Ljava/lang/String;Ljava/lang/Runnable;)V
      named start Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Ljava/lang/String;Ljava/lang/Runnable;)V
    • start

      private void start(LevelStorage.Session session, Runnable onCancel)
      Mappings:
      Namespace Name Mixin selector
      official a Lfib;a(Legm$c;Ljava/lang/Runnable;)V
      intermediary method_54615 Lnet/minecraft/class_7196;method_54615(Lnet/minecraft/class_32$class_5143;Ljava/lang/Runnable;)V
      named start Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Ljava/lang/Runnable;)V
    • applyWorldPack

      public CompletableFuture<Void> applyWorldPack(ServerResourcePackLoader loader, LevelStorage.Session session)
      Mappings:
      Namespace Name Mixin selector
      official a Lfib;a(Lghc;Legm$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;
    • start

      private void start(LevelStorage.Session session, com.mojang.serialization.Dynamic<?> levelProperties, boolean safeMode, boolean canShowBackupPrompt, Runnable onCancel)
      Mappings:
      Namespace Name Mixin selector
      official a Lfib;a(Legm$c;Lcom/mojang/serialization/Dynamic;ZZLjava/lang/Runnable;)V
      intermediary method_54614 Lnet/minecraft/class_7196;method_54614(Lnet/minecraft/class_32$class_5143;Lcom/mojang/serialization/Dynamic;ZZLjava/lang/Runnable;)V
      named start Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lcom/mojang/serialization/Dynamic;ZZLjava/lang/Runnable;)V
    • showPackLoadFailureScreen

      private CompletableFuture<Boolean> showPackLoadFailureScreen()
      Mappings:
      Namespace Name Mixin selector
      official a Lfib;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;