Package net.minecraft.resources
Class DataPackRegistries
java.lang.Object
net.minecraft.resources.DataPackRegistries
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AdvancementManager
private final Commands
private static final CompletableFuture<Unit>
private final FunctionReloader
private final LootTableManager
private final LootPredicateManager
private final RecipeManager
private final IReloadableResourceManager
private final NetworkTagManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getTags()
static CompletableFuture<DataPackRegistries>
loadResources
(List<IResourcePack> p_240961_0_, Commands.EnvironmentType p_240961_1_, int p_240961_2_, Executor p_240961_3_, Executor p_240961_4_) void
-
Field Details
-
DATA_RELOAD_INITIAL_TASK
-
resources
-
commands
-
recipes
-
tagManager
-
predicateManager
-
lootTables
-
advancements
-
functionLibrary
-
-
Constructor Details
-
DataPackRegistries
-
-
Method Details
-
getFunctionLibrary
-
getPredicateManager
-
getLootTables
-
getTags
-
getRecipeManager
-
getCommands
-
getAdvancements
-
getResourceManager
-
loadResources
public static CompletableFuture<DataPackRegistries> loadResources(List<IResourcePack> p_240961_0_, Commands.EnvironmentType p_240961_1_, int p_240961_2_, Executor p_240961_3_, Executor p_240961_4_) -
updateGlobals
public void updateGlobals() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-