Package net.minecraft.resources
Class DataPackRegistries
java.lang.Object
net.minecraft.resources.DataPackRegistries
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AdvancementManagerprivate final Commandsprivate static final CompletableFuture<Unit>private final FunctionReloaderprivate final LootTableManagerprivate final LootPredicateManagerprivate final RecipeManagerprivate final IReloadableResourceManagerprivate final NetworkTagManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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:
closein interfaceAutoCloseable
-