Class ServerResourceManager

java.lang.Object
net.minecraft.resource.ServerResourceManager
All Implemented Interfaces:
AutoCloseable

public class ServerResourceManager
extends Object
implements AutoCloseable
Mappings:
Namespace Name
official wp
intermediary net/minecraft/class_5350
named net/minecraft/resource/ServerResourceManager
  • Field Details

    • field_25334

      private static final CompletableFuture<Unit> field_25334
      Mappings:
      Namespace Name Mixin selector
      official a Lwp;a:Ljava/util/concurrent/CompletableFuture;
      intermediary field_25334 Lnet/minecraft/class_5350;field_25334:Ljava/util/concurrent/CompletableFuture;
      named field_25334 Lnet/minecraft/resource/ServerResourceManager;field_25334:Ljava/util/concurrent/CompletableFuture;
    • resourceManager

      private final ReloadableResourceManager resourceManager
      Mappings:
      Namespace Name Mixin selector
      official b Lwp;b:Lacv;
      intermediary field_25335 Lnet/minecraft/class_5350;field_25335:Lnet/minecraft/class_3296;
      named resourceManager Lnet/minecraft/resource/ServerResourceManager;resourceManager:Lnet/minecraft/resource/ReloadableResourceManager;
    • commandManager

      private final CommandManager commandManager
      Mappings:
      Namespace Name Mixin selector
      official c Lwp;c:Ldc;
      intermediary field_25336 Lnet/minecraft/class_5350;field_25336:Lnet/minecraft/class_2170;
      named commandManager Lnet/minecraft/resource/ServerResourceManager;commandManager:Lnet/minecraft/server/command/CommandManager;
    • recipeManager

      private final RecipeManager recipeManager
      Mappings:
      Namespace Name Mixin selector
      official d Lwp;d:Lbqo;
      intermediary field_25337 Lnet/minecraft/class_5350;field_25337:Lnet/minecraft/class_1863;
      named recipeManager Lnet/minecraft/resource/ServerResourceManager;recipeManager:Lnet/minecraft/recipe/RecipeManager;
    • registryTagManager

      private final TagManagerLoader registryTagManager
      Mappings:
      Namespace Name Mixin selector
      official e Lwp;e:Lafg;
      intermediary field_25338 Lnet/minecraft/class_5350;field_25338:Lnet/minecraft/class_3505;
      named registryTagManager Lnet/minecraft/resource/ServerResourceManager;registryTagManager:Lnet/minecraft/tag/TagManagerLoader;
    • lootConditionManager

      private final LootConditionManager lootConditionManager
      Mappings:
      Namespace Name Mixin selector
      official f Lwp;f:Lden;
      intermediary field_25339 Lnet/minecraft/class_5350;field_25339:Lnet/minecraft/class_4567;
      named lootConditionManager Lnet/minecraft/resource/ServerResourceManager;lootConditionManager:Lnet/minecraft/loot/condition/LootConditionManager;
    • lootManager

      private final LootManager lootManager
      Mappings:
      Namespace Name Mixin selector
      official g Lwp;g:Ldem;
      intermediary field_25340 Lnet/minecraft/class_5350;field_25340:Lnet/minecraft/class_60;
      named lootManager Lnet/minecraft/resource/ServerResourceManager;lootManager:Lnet/minecraft/loot/LootManager;
    • lootFunctionManager

      private final LootFunctionManager lootFunctionManager
      Mappings:
      Namespace Name Mixin selector
      official h Lwp;h:Ldeh;
      intermediary field_28017 Lnet/minecraft/class_5350;field_28017:Lnet/minecraft/class_5640;
      named lootFunctionManager Lnet/minecraft/resource/ServerResourceManager;lootFunctionManager:Lnet/minecraft/loot/function/LootFunctionManager;
    • serverAdvancementLoader

      private final ServerAdvancementLoader serverAdvancementLoader
      Mappings:
      Namespace Name Mixin selector
      official i Lwp;i:Lwl;
      intermediary field_25341 Lnet/minecraft/class_5350;field_25341:Lnet/minecraft/class_2989;
      named serverAdvancementLoader Lnet/minecraft/resource/ServerResourceManager;serverAdvancementLoader:Lnet/minecraft/server/ServerAdvancementLoader;
    • functionLoader

      private final FunctionLoader functionLoader
      Mappings:
      Namespace Name Mixin selector
      official j Lwp;j:Lwm;
      intermediary field_25342 Lnet/minecraft/class_5350;field_25342:Lnet/minecraft/class_5349;
      named functionLoader Lnet/minecraft/resource/ServerResourceManager;functionLoader:Lnet/minecraft/server/function/FunctionLoader;
  • Constructor Details

    • ServerResourceManager

      public ServerResourceManager​(DynamicRegistryManager registryManager, CommandManager.RegistrationEnvironment registrationEnvironment, int int2)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwp;<init>(Lgo;Ldc$a;I)V
      intermediary <init> Lnet/minecraft/class_5350;<init>(Lnet/minecraft/class_5455;Lnet/minecraft/class_2170$class_5364;I)V
      named <init> Lnet/minecraft/resource/ServerResourceManager;<init>(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;I)V
  • Method Details

    • getFunctionLoader

      public FunctionLoader getFunctionLoader()
      Mappings:
      Namespace Name Mixin selector
      official a Lwp;a()Lwm;
      intermediary method_29465 Lnet/minecraft/class_5350;method_29465()Lnet/minecraft/class_5349;
      named getFunctionLoader Lnet/minecraft/resource/ServerResourceManager;getFunctionLoader()Lnet/minecraft/server/function/FunctionLoader;
    • getLootConditionManager

      public LootConditionManager getLootConditionManager()
      Mappings:
      Namespace Name Mixin selector
      official b Lwp;b()Lden;
      intermediary method_29468 Lnet/minecraft/class_5350;method_29468()Lnet/minecraft/class_4567;
      named getLootConditionManager Lnet/minecraft/resource/ServerResourceManager;getLootConditionManager()Lnet/minecraft/loot/condition/LootConditionManager;
    • getLootManager

      public LootManager getLootManager()
      Mappings:
      Namespace Name Mixin selector
      official c Lwp;c()Ldem;
      intermediary method_29469 Lnet/minecraft/class_5350;method_29469()Lnet/minecraft/class_60;
      named getLootManager Lnet/minecraft/resource/ServerResourceManager;getLootManager()Lnet/minecraft/loot/LootManager;
    • getLootFunctionManager

      public LootFunctionManager getLootFunctionManager()
      Mappings:
      Namespace Name Mixin selector
      official d Lwp;d()Ldeh;
      intermediary method_32703 Lnet/minecraft/class_5350;method_32703()Lnet/minecraft/class_5640;
      named getLootFunctionManager Lnet/minecraft/resource/ServerResourceManager;getLootFunctionManager()Lnet/minecraft/loot/function/LootFunctionManager;
    • getRegistryTagManager

      public TagManager getRegistryTagManager()
      Mappings:
      Namespace Name Mixin selector
      official e Lwp;e()Lafe;
      intermediary method_29470 Lnet/minecraft/class_5350;method_29470()Lnet/minecraft/class_5415;
      named getRegistryTagManager Lnet/minecraft/resource/ServerResourceManager;getRegistryTagManager()Lnet/minecraft/tag/TagManager;
    • getRecipeManager

      public RecipeManager getRecipeManager()
      Mappings:
      Namespace Name Mixin selector
      official f Lwp;f()Lbqo;
      intermediary method_29471 Lnet/minecraft/class_5350;method_29471()Lnet/minecraft/class_1863;
      named getRecipeManager Lnet/minecraft/resource/ServerResourceManager;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
    • getCommandManager

      public CommandManager getCommandManager()
      Mappings:
      Namespace Name Mixin selector
      official g Lwp;g()Ldc;
      intermediary method_29472 Lnet/minecraft/class_5350;method_29472()Lnet/minecraft/class_2170;
      named getCommandManager Lnet/minecraft/resource/ServerResourceManager;getCommandManager()Lnet/minecraft/server/command/CommandManager;
    • getServerAdvancementLoader

      public ServerAdvancementLoader getServerAdvancementLoader()
      Mappings:
      Namespace Name Mixin selector
      official h Lwp;h()Lwl;
      intermediary method_29473 Lnet/minecraft/class_5350;method_29473()Lnet/minecraft/class_2989;
      named getServerAdvancementLoader Lnet/minecraft/resource/ServerResourceManager;getServerAdvancementLoader()Lnet/minecraft/server/ServerAdvancementLoader;
    • getResourceManager

      public ResourceManager getResourceManager()
      Mappings:
      Namespace Name Mixin selector
      official i Lwp;i()Lacx;
      intermediary method_29474 Lnet/minecraft/class_5350;method_29474()Lnet/minecraft/class_3300;
      named getResourceManager Lnet/minecraft/resource/ServerResourceManager;getResourceManager()Lnet/minecraft/resource/ResourceManager;
    • reload

      public static CompletableFuture<ServerResourceManager> reload​(List<ResourcePack> packs, DynamicRegistryManager registryManager, CommandManager.RegistrationEnvironment registrationEnvironment, int int2, Executor executor, Executor executor2)
      Mappings:
      Namespace Name Mixin selector
      official a Lwp;a(Ljava/util/List;Lgo;Ldc$a;ILjava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_29466 Lnet/minecraft/class_5350;method_29466(Ljava/util/List;Lnet/minecraft/class_5455;Lnet/minecraft/class_2170$class_5364;ILjava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      named reload Lnet/minecraft/resource/ServerResourceManager;reload(Ljava/util/List;Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;ILjava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
    • loadRegistryTags

      public void loadRegistryTags()
      Mappings:
      Namespace Name Mixin selector
      official j Lwp;j()V
      intermediary method_29475 Lnet/minecraft/class_5350;method_29475()V
      named loadRegistryTags Lnet/minecraft/resource/ServerResourceManager;loadRegistryTags()V
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Mappings:
      Namespace Name Mixin selector
      official close Lwp;close()V
      intermediary close Lnet/minecraft/class_5350;close()V
      named close Lnet/minecraft/resource/ServerResourceManager;close()V