类 ServerResourceManager
- java.lang.Object
-
- net.minecraft.resource.ServerResourceManager
-
- 所有已实现的接口:
AutoCloseable
public class ServerResourceManager extends Object implements AutoCloseable
- Mappings:
Namespace Name official xdintermediary net/minecraft/class_5350named net/minecraft/resource/ServerResourceManager
-
-
字段概要
字段 修饰符和类型 字段 说明 private CommandManagercommandManagerprivate static CompletableFuture<Unit>COMPLETED_UNITprivate FunctionLoaderfunctionLoaderprivate LootConditionManagerlootConditionManagerprivate LootFunctionManagerlootFunctionManagerprivate LootManagerlootManagerprivate RecipeManagerrecipeManagerprivate TagManagerLoaderregistryTagManagerprivate ReloadableResourceManagerresourceManagerprivate ServerAdvancementLoaderserverAdvancementLoader
-
构造器概要
构造器 构造器 说明 ServerResourceManager(DynamicRegistryManager registryManager, CommandManager.RegistrationEnvironment commandEnvironment, int functionPermissionLevel)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()CommandManagergetCommandManager()FunctionLoadergetFunctionLoader()LootConditionManagergetLootConditionManager()LootFunctionManagergetLootFunctionManager()LootManagergetLootManager()RecipeManagergetRecipeManager()TagManagergetRegistryTagManager()ResourceManagergetResourceManager()ServerAdvancementLoadergetServerAdvancementLoader()voidloadRegistryTags()static CompletableFuture<ServerResourceManager>reload(List<ResourcePack> packs, DynamicRegistryManager registryManager, CommandManager.RegistrationEnvironment commandEnvironment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor)
-
-
-
字段详细资料
-
COMPLETED_UNIT
private static final CompletableFuture<Unit> COMPLETED_UNIT
- Mappings:
Namespace Name Mixin selector official aLxd;a:Ljava/util/concurrent/CompletableFuture;intermediary field_25334Lnet/minecraft/class_5350;field_25334:Ljava/util/concurrent/CompletableFuture;named COMPLETED_UNITLnet/minecraft/resource/ServerResourceManager;COMPLETED_UNIT:Ljava/util/concurrent/CompletableFuture;
-
resourceManager
private final ReloadableResourceManager resourceManager
- Mappings:
Namespace Name Mixin selector official bLxd;b:Ladj;intermediary field_25335Lnet/minecraft/class_5350;field_25335:Lnet/minecraft/class_3296;named resourceManagerLnet/minecraft/resource/ServerResourceManager;resourceManager:Lnet/minecraft/resource/ReloadableResourceManager;
-
commandManager
private final CommandManager commandManager
- Mappings:
Namespace Name Mixin selector official cLxd;c:Ldh;intermediary field_25336Lnet/minecraft/class_5350;field_25336:Lnet/minecraft/class_2170;named commandManagerLnet/minecraft/resource/ServerResourceManager;commandManager:Lnet/minecraft/server/command/CommandManager;
-
recipeManager
private final RecipeManager recipeManager
- Mappings:
Namespace Name Mixin selector official dLxd;d:Lbsk;intermediary field_25337Lnet/minecraft/class_5350;field_25337:Lnet/minecraft/class_1863;named recipeManagerLnet/minecraft/resource/ServerResourceManager;recipeManager:Lnet/minecraft/recipe/RecipeManager;
-
registryTagManager
private final TagManagerLoader registryTagManager
- Mappings:
Namespace Name Mixin selector official eLxd;e:Lafw;intermediary field_25338Lnet/minecraft/class_5350;field_25338:Lnet/minecraft/class_3505;named registryTagManagerLnet/minecraft/resource/ServerResourceManager;registryTagManager:Lnet/minecraft/tag/TagManagerLoader;
-
lootConditionManager
private final LootConditionManager lootConditionManager
- Mappings:
Namespace Name Mixin selector official fLxd;f:Ldhu;intermediary field_25339Lnet/minecraft/class_5350;field_25339:Lnet/minecraft/class_4567;named lootConditionManagerLnet/minecraft/resource/ServerResourceManager;lootConditionManager:Lnet/minecraft/loot/condition/LootConditionManager;
-
lootManager
private final LootManager lootManager
- Mappings:
Namespace Name Mixin selector official gLxd;g:Ldht;intermediary field_25340Lnet/minecraft/class_5350;field_25340:Lnet/minecraft/class_60;named lootManagerLnet/minecraft/resource/ServerResourceManager;lootManager:Lnet/minecraft/loot/LootManager;
-
lootFunctionManager
private final LootFunctionManager lootFunctionManager
- Mappings:
Namespace Name Mixin selector official hLxd;h:Ldho;intermediary field_28017Lnet/minecraft/class_5350;field_28017:Lnet/minecraft/class_5640;named lootFunctionManagerLnet/minecraft/resource/ServerResourceManager;lootFunctionManager:Lnet/minecraft/loot/function/LootFunctionManager;
-
serverAdvancementLoader
private final ServerAdvancementLoader serverAdvancementLoader
- Mappings:
Namespace Name Mixin selector official iLxd;i:Lwz;intermediary field_25341Lnet/minecraft/class_5350;field_25341:Lnet/minecraft/class_2989;named serverAdvancementLoaderLnet/minecraft/resource/ServerResourceManager;serverAdvancementLoader:Lnet/minecraft/server/ServerAdvancementLoader;
-
functionLoader
private final FunctionLoader functionLoader
- Mappings:
Namespace Name Mixin selector official jLxd;j:Lxa;intermediary field_25342Lnet/minecraft/class_5350;field_25342:Lnet/minecraft/class_5349;named functionLoaderLnet/minecraft/resource/ServerResourceManager;functionLoader:Lnet/minecraft/server/function/FunctionLoader;
-
-
构造器详细资料
-
ServerResourceManager
public ServerResourceManager(DynamicRegistryManager registryManager, CommandManager.RegistrationEnvironment commandEnvironment, int functionPermissionLevel)
- Mappings:
Namespace Name Mixin selector official <init>Lxd;<init>(Lgs;Ldh$a;I)Vintermediary <init>Lnet/minecraft/class_5350;<init>(Lnet/minecraft/class_5455;Lnet/minecraft/class_2170$class_5364;I)Vnamed <init>Lnet/minecraft/resource/ServerResourceManager;<init>(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;I)V
-
-
方法详细资料
-
getFunctionLoader
public FunctionLoader getFunctionLoader()
- Mappings:
Namespace Name Mixin selector official aLxd;a()Lxa;intermediary method_29465Lnet/minecraft/class_5350;method_29465()Lnet/minecraft/class_5349;named getFunctionLoaderLnet/minecraft/resource/ServerResourceManager;getFunctionLoader()Lnet/minecraft/server/function/FunctionLoader;
-
getLootConditionManager
public LootConditionManager getLootConditionManager()
- Mappings:
Namespace Name Mixin selector official bLxd;b()Ldhu;intermediary method_29468Lnet/minecraft/class_5350;method_29468()Lnet/minecraft/class_4567;named getLootConditionManagerLnet/minecraft/resource/ServerResourceManager;getLootConditionManager()Lnet/minecraft/loot/condition/LootConditionManager;
-
getLootManager
public LootManager getLootManager()
- Mappings:
Namespace Name Mixin selector official cLxd;c()Ldht;intermediary method_29469Lnet/minecraft/class_5350;method_29469()Lnet/minecraft/class_60;named getLootManagerLnet/minecraft/resource/ServerResourceManager;getLootManager()Lnet/minecraft/loot/LootManager;
-
getLootFunctionManager
public LootFunctionManager getLootFunctionManager()
- Mappings:
Namespace Name Mixin selector official dLxd;d()Ldho;intermediary method_32703Lnet/minecraft/class_5350;method_32703()Lnet/minecraft/class_5640;named getLootFunctionManagerLnet/minecraft/resource/ServerResourceManager;getLootFunctionManager()Lnet/minecraft/loot/function/LootFunctionManager;
-
getRegistryTagManager
public TagManager getRegistryTagManager()
- Mappings:
Namespace Name Mixin selector official eLxd;e()Lafu;intermediary method_29470Lnet/minecraft/class_5350;method_29470()Lnet/minecraft/class_5415;named getRegistryTagManagerLnet/minecraft/resource/ServerResourceManager;getRegistryTagManager()Lnet/minecraft/tag/TagManager;
-
getRecipeManager
public RecipeManager getRecipeManager()
- Mappings:
Namespace Name Mixin selector official fLxd;f()Lbsk;intermediary method_29471Lnet/minecraft/class_5350;method_29471()Lnet/minecraft/class_1863;named getRecipeManagerLnet/minecraft/resource/ServerResourceManager;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
-
getCommandManager
public CommandManager getCommandManager()
- Mappings:
Namespace Name Mixin selector official gLxd;g()Ldh;intermediary method_29472Lnet/minecraft/class_5350;method_29472()Lnet/minecraft/class_2170;named getCommandManagerLnet/minecraft/resource/ServerResourceManager;getCommandManager()Lnet/minecraft/server/command/CommandManager;
-
getServerAdvancementLoader
public ServerAdvancementLoader getServerAdvancementLoader()
- Mappings:
Namespace Name Mixin selector official hLxd;h()Lwz;intermediary method_29473Lnet/minecraft/class_5350;method_29473()Lnet/minecraft/class_2989;named getServerAdvancementLoaderLnet/minecraft/resource/ServerResourceManager;getServerAdvancementLoader()Lnet/minecraft/server/ServerAdvancementLoader;
-
getResourceManager
public ResourceManager getResourceManager()
- Mappings:
Namespace Name Mixin selector official iLxd;i()Ladl;intermediary method_29474Lnet/minecraft/class_5350;method_29474()Lnet/minecraft/class_3300;named getResourceManagerLnet/minecraft/resource/ServerResourceManager;getResourceManager()Lnet/minecraft/resource/ResourceManager;
-
reload
public static CompletableFuture<ServerResourceManager> reload(List<ResourcePack> packs, DynamicRegistryManager registryManager, CommandManager.RegistrationEnvironment commandEnvironment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor)
- Mappings:
Namespace Name Mixin selector official aLxd;a(Ljava/util/List;Lgs;Ldh$a;ILjava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;intermediary method_29466Lnet/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 reloadLnet/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 jLxd;j()Vintermediary method_29475Lnet/minecraft/class_5350;method_29475()Vnamed loadRegistryTagsLnet/minecraft/resource/ServerResourceManager;loadRegistryTags()V
-
close
public void close()
- 指定者:
close在接口中AutoCloseable- Mappings:
Namespace Name Mixin selector official closeLxd;close()Vintermediary closeLnet/minecraft/class_5350;close()Vnamed closeLnet/minecraft/resource/ServerResourceManager;close()V
-
-