Class IntegratedServerLoader

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

@Environment(CLIENT) public class IntegratedServerLoader extends Object
Mappings:
Namespace Name
official exx
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 Lexx;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

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official b Lexx;b:Lemh;
      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 c Lexx;c:Ldye;
      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> Lexx;<init>(Lemh;Ldye;)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

      public void start(Screen parent, String levelName)
      Mappings:
      Namespace Name Mixin selector
      official a Lexx;a(Letd;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, GeneratorOptions dynamicRegistryManager, Function<DynamicRegistryManager,DimensionOptionsRegistryHolder> dimensionsRegistrySupplier)
      Mappings:
      Namespace Name Mixin selector
      official a Lexx;a(Ljava/lang/String;Lcmm;Ldhx;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

      @Nullable private LevelStorage.Session createSession(String levelName)
      Mappings:
      Namespace Name Mixin selector
      official a Lexx;a(Ljava/lang/String;)Ldye$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, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager, SaveProperties saveProperties)
      Mappings:
      Namespace Name Mixin selector
      official a Lexx;a(Ldye$c;Ladn;Lhk;Ldyk;)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
    • createSaveLoader

      private SaveLoader createSaveLoader(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) throws Exception
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official a Lexx;a(Ldye$c;ZLaks;)Ladx;
      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;
    • loadForRecreation

      public com.mojang.datafixers.util.Pair<LevelInfo,GeneratorOptionsHolder> loadForRecreation(LevelStorage.Session session) throws Exception
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official a Lexx;a(Ldye$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;
    • createDataPackConfig

      private SaveLoading.DataPacks createDataPackConfig(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager)
      Mappings:
      Namespace Name Mixin selector
      official b Lexx;b(Ldye$c;ZLaks;)Ladw$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

      public SaveLoader createSaveLoader(LevelStorage.Session session, boolean safeMode) throws Exception
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official a Lexx;a(Ldye$c;Z)Ladx;
      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;
    • 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 Lexx;a(Ladw$d;Ladw$f;Ladw$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

      private void start(Screen parent, String levelName, boolean safeMode, boolean canShowBackupPrompt)
      Mappings:
      Namespace Name Mixin selector
      official a Lexx;a(Letd;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

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

      private static void close(LevelStorage.Session session, String levelName)
      Mappings:
      Namespace Name Mixin selector
      official a Lexx;a(Ldye$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 Lexx;a(Letd;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, boolean bypassWarnings)
      Mappings:
      Namespace Name Mixin selector
      official a Lexx;a(Lemh;Lexn;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