Class IntegratedServerLoader

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

@Environment(CLIENT) public class IntegratedServerLoader extends Object
Mappings:
Namespace Name
official ept
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 Lept;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 Lept;b:Lefu;
      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 Lept;c:Ldrq;
      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> Lept;<init>(Lefu;Ldrq;)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 Lept;a(Lelm;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 Lept;a(Ljava/lang/String;Lchb;Lhn;Ldbm;)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

      @Nullable private LevelStorage.Session createSession(String levelName)
      Mappings:
      Namespace Name Mixin selector
      official a Lept;a(Ljava/lang/String;)Ldrq$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 Lept;a(Ldrq$c;Labk;Lhn$a;Ldrw;)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

      private static ResourcePackManager createDataPackManager(LevelStorage.Session session)
      Mappings:
      Namespace Name Mixin selector
      official a Lept;a(Ldrq$c;)Lahy;
      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 Lept;a(Ldrq$c;ZLahy;)Labu;
      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

      public SaveLoader createSaveLoader(LevelStorage.Session session, boolean safeMode) throws Exception
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official a Lept;a(Ldrq$c;Z)Labu;
      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 Lept;a(Labt$b;Labt$d;)Labu;
      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

      private void start(Screen parent, String levelName, boolean safeMode, boolean canShowBackupPrompt)
      Mappings:
      Namespace Name Mixin selector
      official a Lept;a(Lelm;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 Lept;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 Lept;a(Ldrq$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 Lept;a(Lelm;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 Lept;a(Lefu;Lepl;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