public class ServerResourceManager extends Object implements AutoCloseable
Modifier and Type | Field and Description |
---|---|
private CommandManager |
commandManager |
private static CompletableFuture<Unit> |
field_25334 |
private FunctionLoader |
functionLoader |
private LootConditionManager |
lootConditionManager |
private LootManager |
lootManager |
private RecipeManager |
recipeManager |
private TagManagerLoader |
registryTagManager |
private ReloadableResourceManager |
resourceManager |
private ServerAdvancementLoader |
serverAdvancementLoader |
Constructor and Description |
---|
ServerResourceManager(CommandManager.RegistrationEnvironment registrationEnvironment,
int int2) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
CommandManager |
getCommandManager() |
FunctionLoader |
getFunctionLoader() |
LootConditionManager |
getLootConditionManager() |
LootManager |
getLootManager() |
RecipeManager |
getRecipeManager() |
TagManager |
getRegistryTagManager() |
ResourceManager |
getResourceManager() |
ServerAdvancementLoader |
getServerAdvancementLoader() |
void |
loadRegistryTags() |
static CompletableFuture<ServerResourceManager> |
reload(List<ResourcePack> list,
CommandManager.RegistrationEnvironment registrationEnvironment,
int int2,
Executor executor,
Executor executor2) |
private static final CompletableFuture<Unit> field_25334
private final ReloadableResourceManager resourceManager
private final CommandManager commandManager
private final RecipeManager recipeManager
private final TagManagerLoader registryTagManager
private final LootConditionManager lootConditionManager
private final LootManager lootManager
private final ServerAdvancementLoader serverAdvancementLoader
private final FunctionLoader functionLoader
public ServerResourceManager(CommandManager.RegistrationEnvironment registrationEnvironment, int int2)
public FunctionLoader getFunctionLoader()
public LootConditionManager getLootConditionManager()
public LootManager getLootManager()
public TagManager getRegistryTagManager()
public RecipeManager getRecipeManager()
public CommandManager getCommandManager()
public ServerAdvancementLoader getServerAdvancementLoader()
public ResourceManager getResourceManager()
public static CompletableFuture<ServerResourceManager> reload(List<ResourcePack> list, CommandManager.RegistrationEnvironment registrationEnvironment, int int2, Executor executor, Executor executor2)
public void loadRegistryTags()
public void close()
close
in interface AutoCloseable