Package net.minecraft.tags
Class TagManager
java.lang.Object
net.minecraft.tags.TagManager
- All Implemented Interfaces:
PreparableReloadListener
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<? extends Registry<?>>,
String> private final RegistryAccess
private List<TagManager.LoadResult<?>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> CompletableFuture<TagManager.LoadResult<T>>
createLoader
(ResourceManager p_203908_, Executor p_203909_, RegistryAccess.RegistryEntry<T> p_203910_) static String
getTagDir
(ResourceKey<? extends Registry<?>> p_203919_) reload
(PreparableReloadListener.PreparationBarrier p_13482_, ResourceManager p_13483_, ProfilerFiller p_13484_, ProfilerFiller p_13485_, Executor p_13486_, Executor p_13487_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
Field Details
-
CUSTOM_REGISTRY_DIRECTORIES
-
registryAccess
-
results
-
-
Constructor Details
-
TagManager
-
-
Method Details
-
getResult
-
getTagDir
-
reload
public CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier p_13482_, ResourceManager p_13483_, ProfilerFiller p_13484_, ProfilerFiller p_13485_, Executor p_13486_, Executor p_13487_) - Specified by:
reload
in interfacePreparableReloadListener
-
createLoader
private <T> CompletableFuture<TagManager.LoadResult<T>> createLoader(ResourceManager p_203908_, Executor p_203909_, RegistryAccess.RegistryEntry<T> p_203910_)
-