Class IntegratedServerLoader

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

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

    • LOGGER

      private static final Logger 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 Lfzj;a:Lorg/slf4j/Logger;
    • WORLD_PACK_ID

      private static final UUID 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 Lfzj;b:Ljava/util/UUID;
    • client

      private final MinecraftClient 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 Lfzj;c:Lfmf;
    • storage

      private final LevelStorage 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 Lfzj;d:Lewc;
  • Constructor Details

    • IntegratedServerLoader

      public IntegratedServerLoader(MinecraftClient client, LevelStorage storage)
      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> Lfzj;<init>(Lfmf;Lewc;)V
  • Method Details

    • createAndStart

      public void createAndStart(String levelName, LevelInfo levelInfo, GeneratorOptions dynamicRegistryManager, Function<RegistryWrapper.WrapperLookup,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 Lfzj;a(Ljava/lang/String;Ldhl;Leen;Ljava/util/function/Function;Lftx;)V
    • createSession

      @Nullable private LevelStorage.Session createSession(String levelName)
      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 Lfzj;a(Ljava/lang/String;)Lewc$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 Lfzj;a(Lewc$c;Lamk;Ljx;Lewi;)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 Lfzj;a(Lcom/mojang/serialization/Dynamic;ZLavg;)Lamy;
    • 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 Lfzj;a(Lewc$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 Lfzj;a(Lamx$d;Lamx$f;Lamx$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 Lfzj;a(Lewc$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 Lfzj;a(Lfmf;Lfyw;Lcom/mojang/serialization/Lifecycle;Ljava/lang/Runnable;Z)V
    • start

      public void start(String name, Runnable onCancel)
      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 Lfzj;a(Ljava/lang/String;Ljava/lang/Runnable;)V
    • start

      private void start(LevelStorage.Session session, Runnable onCancel)
      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 Lfzj;a(Lewc$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 Lfzj;a(Lewc$c;Lewd;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 Lfzj;a(Lewc$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 Lfzj;a(Lewc$c;Lamy;Lavg;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 Lfzj;b(Lewc$c;Lamy;Lavg;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 Lfzj;a(Lewc$c;Lamy;Lhej;Lavg;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 Lfzj;a(Lewc$c;Lamy;Lavg;)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 Lfzj;a(Lhej;Lewc$c;)Ljava/util/concurrent/CompletableFuture;
    • showPackLoadFailureScreen

      private CompletableFuture<Boolean> 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 Lfzj;a()Ljava/util/concurrent/CompletableFuture;